{% extends "base.html" %} {# Translation builds share this template but replace the English hooks. Copy the config so the version is appended once per page. #} {% set alternate = [] %} {% for language in config.extra.alternate %} {% set _ = alternate.append(dict(language, link=language.link ~ config.extra.documentation_version ~ "/")) %} {% endfor %} {% set config = dict(config, extra=dict(config.extra, alternate=alternate)) %} {% block styles %} {{ super() }} {% endblock %} {# Keep the MathJax setup shared by all documentation pages. Loading it after Material's own scripts makes document$ available for instant navigation. #} {% block scripts %} {{ super() }} {% endblock %}