mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
PyAPI Docs: Fix deprecation warning with new theme version
This commit is contained in:
parent
62c1b33f5e
commit
7266d8e32a
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue