Skip to content

Commit c4bd8c8

Browse files
godlygeeksarahmonod
authored andcommitted
docs: Remove an unused setting from docs/conf.py
This is now triggering warnings saying that: WARNING: The config value `viewcode_import' has type `bool'; expected `NoneType'. The comment says that we were trying to prevent the `viewcode` extension from generating HTML for the standard library `datetime` module, but even with this setting removed it doesn't do that. This may just be a holdover from some long ago version of Sphinx, but it no longer seems to be necessary or useful. Signed-off-by: Matt Wozniski <[email protected]>
1 parent f87217b commit c4bd8c8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

docs/conf.py

-3
Original file line numberDiff line numberDiff line change
@@ -264,9 +264,6 @@
264264
# Example configuration for intersphinx: refer to the Python standard library.
265265
intersphinx_mapping = {"python": ("https://docs.python.org/3", None)}
266266

267-
# Don't highlight the code for the Python standard library datetime module.
268-
viewcode_import = False
269-
270267
# Don't automatically infer types from type annotations.
271268
autodoc_typehints = "none"
272269

0 commit comments

Comments
 (0)