[Bf-blender-cvs] [1f2f5f660bf] master: API Docs: Use Opensearch

Aaron Carlisle noreply at git.blender.org
Sat Jul 6 23:01:54 CEST 2019


Commit: 1f2f5f660bf96434cc91dff0539755e546369616
Author: Aaron Carlisle
Date:   Sat Jul 6 16:01:49 2019 -0400
Branches: master
https://developer.blender.org/rB1f2f5f660bf96434cc91dff0539755e546369616

API Docs: Use Opensearch

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

M	doc/python_api/sphinx_doc_gen.py

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

diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py
index ab1c1908745..1a661fcdc5e 100644
--- a/doc/python_api/sphinx_doc_gen.py
+++ b/doc/python_api/sphinx_doc_gen.py
@@ -1634,6 +1634,7 @@ def write_sphinx_conf_py(basepath):
     # not helpful since the source is generated, adds to upload size.
     fw("html_copy_source = False\n")
     fw("html_show_sphinx = False\n")
+    fw("html_use_opensearch = 'https://docs.blender.org/api/current'\n")
     fw("html_split_index = True\n")
     fw("html_static_path = ['static']\n")
     fw("html_extra_path = ['static/favicon.ico', 'static/blender_logo.svg']\n")



More information about the Bf-blender-cvs mailing list