...
This commit is contained in:
parent
329d95fd3a
commit
cfd3bc823c
1 changed files with 2 additions and 0 deletions
|
|
@ -485,6 +485,8 @@ def generate_default_config(definition: Definition, name: str) -> None:
|
|||
def add_html_context(app: Any, pagename: str, templatename: str, context: Any, doctree: Any, *args: Any) -> None:
|
||||
context['analytics_id'] = app.config.analytics_id
|
||||
if 'toctree' in context:
|
||||
# this is needed with furo to use all titles from pages
|
||||
# in the sidebar (global) toc
|
||||
original_toctee_function = context['toctree']
|
||||
|
||||
def include_sub_headings(**kwargs: Any) -> Any:
|
||||
|
|
|
|||
Loading…
Reference in a new issue