mirror of
https://github.com/lilydjwg/nvchecker
synced 2025-02-16 10:26:51 +00:00
still fix readthedocs
[skip ci]
This commit is contained in:
parent
f3da72403e
commit
b8c0e8a6b3
@ -30,8 +30,9 @@ autodoc_inherit_docstrings = False
|
|||||||
# https://bitbucket.org/birkenfeld/sphinx/issue/1337/autoclass_content-both-uses-object__init__
|
# https://bitbucket.org/birkenfeld/sphinx/issue/1337/autoclass_content-both-uses-object__init__
|
||||||
autodoc_docstring_signature = False
|
autodoc_docstring_signature = False
|
||||||
|
|
||||||
intersphinx_mapping = {"python": ("https://docs.python.org/3.8/", None)}
|
intersphinx_mapping = {"python": ("https://docs.python.org/3", None)}
|
||||||
|
|
||||||
|
html_theme = "sphinx_rtd_theme"
|
||||||
on_rtd = os.environ.get("READTHEDOCS", None) == "True"
|
on_rtd = os.environ.get("READTHEDOCS", None) == "True"
|
||||||
|
|
||||||
# On RTD we can't import sphinx_rtd_theme, but it will be applied by
|
# On RTD we can't import sphinx_rtd_theme, but it will be applied by
|
||||||
@ -39,8 +40,6 @@ on_rtd = os.environ.get("READTHEDOCS", None) == "True"
|
|||||||
# as on RTD.
|
# as on RTD.
|
||||||
if not on_rtd:
|
if not on_rtd:
|
||||||
import sphinx_rtd_theme
|
import sphinx_rtd_theme
|
||||||
|
|
||||||
html_theme = "sphinx_rtd_theme"
|
|
||||||
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
|
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
|
||||||
|
|
||||||
html_theme_options = {
|
html_theme_options = {
|
||||||
|
Loading…
Reference in New Issue
Block a user