Skip to content

Commit

Permalink
Merge pull request #48 from FoamyGuy/fix_docs_build
Browse files Browse the repository at this point in the history
remove imp module usage
  • Loading branch information
tannewt authored Jan 22, 2025
2 parents 1aff711 + 4e2fbbb commit 863d6ac
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,6 @@
"sphinx.ext.viewcode",
]

# Mock out micropython ourselves so that we can make const a lambda.
import imp

m = imp.new_module("micropython")
m.const = lambda x: x
sys.modules["micropython"] = m

intersphinx_mapping = {
"python": ("https://docs.python.org/3", None),
"BusDevice": (
Expand Down

0 comments on commit 863d6ac

Please sign in to comment.