{% set page_toc = generate_toc_html() %}
{%- if page_toc | length >= 1 %}
{%- endif %}
{% extends "pydata_sphinx_theme/layout.html" %} {# ref: https://github.com/pydata/pydata-sphinx-theme/blob/master/src/pydata_sphinx_theme/theme/pydata_sphinx_theme/layout.html #} {% block extrahead %} {% endblock %} {% block docs_main %} {# A tiny helper pixel to detect if we've scrolled #}
{{ super() }} {% endblock %} {% block docs_body %} {# Table of contents that is only displayed when printing the page #}