Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3cfc0b4 + 721b5a5 commit 8a8bcc7Copy full SHA for 8a8bcc7
1 file changed
docs/source/conf.py
@@ -36,10 +36,10 @@
36
"__name__": "__main__",
37
},
38
)
39
-else:
40
- import sphinx_rtd_theme
41
- html_theme = "sphinx_rtd_theme"
42
- html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
+import sphinx_rtd_theme
+
+html_theme = "sphinx_rtd_theme"
+html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
43
44
# Allow Python scripts to change behaviour during sphinx run
45
os.environ["IN_SPHINX_RUN"] = "True"
0 commit comments