Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAaron Carlisle <carlisle.b3d@gmail.com>2018-08-14 03:43:56 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2018-08-14 03:51:36 +0300
commit44871e0e0f822fec5c8272fffe2f56ab24291c48 (patch)
tree4d47686926a835154a071a17ee3b4e808b962cb7 /doc
parent0a93685dccd5b8e6b59306a4ea9ca911e330338f (diff)
Pydoc: Switch theme to sphinx_rtd_theme
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/requirements.txt2
-rw-r--r--doc/python_api/sphinx_doc_gen.py2
2 files changed, 3 insertions, 1 deletions
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")