Pydoc: Switch theme to sphinx_rtd_theme
This commit is contained in:
2
doc/python_api/requirements.txt
Normal file
2
doc/python_api/requirements.txt
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
Sphinx==1.7.6
|
||||||
|
sphinx_rtd_theme==0.4.1
|
@@ -1633,7 +1633,7 @@ def write_sphinx_conf_py(basepath):
|
|||||||
fw(" 'include__bmesh.rst',\n")
|
fw(" 'include__bmesh.rst',\n")
|
||||||
fw("]\n\n")
|
fw("]\n\n")
|
||||||
|
|
||||||
fw("html_theme = 'classic'\n")
|
fw("html_theme = 'sphinx_rtd_theme'\n")
|
||||||
# not helpful since the source is generated, adds to upload size.
|
# not helpful since the source is generated, adds to upload size.
|
||||||
fw("html_copy_source = False\n")
|
fw("html_copy_source = False\n")
|
||||||
fw("html_show_sphinx = False\n")
|
fw("html_show_sphinx = False\n")
|
||||||
|
Reference in New Issue
Block a user