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>2021-02-19 07:55:23 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2021-02-19 07:55:23 +0300
commit7266d8e32a10dbe08f10d3aa27fe0eb8f07c074c (patch)
treed1a54381ce64697c2d06fc848f4b0efcd7006eed /doc
parent62c1b33f5e790f9ec5b1ae64e0708ca1161a5bdf (diff)
PyAPI Docs: Fix deprecation warning with new theme version
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/sphinx_doc_gen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py
index 12ffe5b6edf..1261ab7590a 100644
--- a/doc/python_api/sphinx_doc_gen.py
+++ b/doc/python_api/sphinx_doc_gen.py
@@ -1715,7 +1715,6 @@ except ModuleNotFoundError:
fw("if html_theme == 'sphinx_rtd_theme':\n")
fw(" html_theme_options = {\n")
- fw(" 'canonical_url': 'https://docs.blender.org/api/current/',\n")
# fw(" 'analytics_id': '',\n")
# fw(" 'collapse_navigation': True,\n")
fw(" 'sticky_navigation': False,\n")
@@ -1727,6 +1726,7 @@ except ModuleNotFoundError:
# 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_baseurl = 'https://docs.blender.org/api/current/'\n")
fw("html_use_opensearch = 'https://docs.blender.org/api/current'\n")
fw("html_split_index = True\n")
fw("html_static_path = ['static']\n")