[Bf-blender-cvs] [44871e0e0f8] blender2.8: Pydoc: Switch theme to sphinx_rtd_theme

Aaron Carlisle noreply at git.blender.org
Tue Aug 14 02:54:16 CEST 2018


Commit: 44871e0e0f822fec5c8272fffe2f56ab24291c48
Author: Aaron Carlisle
Date:   Mon Aug 13 20:43:56 2018 -0400
Branches: blender2.8
https://developer.blender.org/rB44871e0e0f822fec5c8272fffe2f56ab24291c48

Pydoc: Switch theme to sphinx_rtd_theme

===================================================================

A	doc/python_api/requirements.txt
M	doc/python_api/sphinx_doc_gen.py

===================================================================

diff --git a/doc/python_api/requirements.txt b/doc/python_api/requirements.txt
new file mode 100644
index 00000000000..19091a53cda
--- /dev/null
+++ b/doc/python_api/requirements.txt
@@ -0,0 +1,2 @@
+Sphinx==1.7.6
+sphinx_rtd_theme==0.4.1
diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py
index 5e560abecb4..6943a191f5d 100644
--- a/doc/python_api/sphinx_doc_gen.py
+++ b/doc/python_api/sphinx_doc_gen.py
@@ -1633,7 +1633,7 @@ def write_sphinx_conf_py(basepath):
     fw("    'include__bmesh.rst',\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.
     fw("html_copy_source = False\n")
     fw("html_show_sphinx = False\n")



More information about the Bf-blender-cvs mailing list