{% extends "pydata_sphinx_theme/layout.html" %} {# htmltitle controls the HTML title node. On some pages we customize the title to make it more usable. #} {% block htmltitle %} {# Override the title for some module pages. #} {% if pagename.startswith('pw_') %} {% set tokens = pagename.split('/') %} {% set module_name = tokens[0] %} {% set maybe_doc_name = tokens[1] %} {% if maybe_doc_name == 'docs' %} {# It's the homepage for a module. Use the normal title. #}