{% if theme_home_page_in_toc == True %} {#- This mimicks the pydata theme list style so we can append an extra item at the top #}
  • {{ root_title }}
{% endif -%} {# Overwrite the default toctree generation of pydata-sphinx-theme so that we show the toctree from the top #} {# Ref: https://github.com/pydata/pydata-sphinx-theme/blob/ebf7f704879a1cdc6016d6111062103353ac7677/src/pydata_sphinx_theme/__init__.py#L302 #} {{- generate_toctree_html( startdepth=0, kind="sidebar", show_nav_level=theme_show_nav_level|int, maxdepth=theme_navigation_depth|int, collapse=theme_collapse_navigation|tobool, includehidden=theme_sidebar_includehidden|tobool, titles_only=True) }}