diff options
Diffstat (limited to 'Utilities/Sphinx/templates/layout.html')
-rw-r--r-- | Utilities/Sphinx/templates/layout.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Utilities/Sphinx/templates/layout.html b/Utilities/Sphinx/templates/layout.html index 635ace3..1c5728c 100644 --- a/Utilities/Sphinx/templates/layout.html +++ b/Utilities/Sphinx/templates/layout.html @@ -11,3 +11,9 @@ <a href="{{ pathto(master_doc) }}">{{ shorttitle|e }}</a>{{ reldelim1 }} </li> {% endblock %} + +{# Put some context in the html title element. Workaround for #} +{# https://bitbucket.org/birkenfeld/sphinx/issue/1492/qthelp-generate-html-title-element-should #} +{% block htmltitle %} + <title>{{ title|striptags|e }} {{ "—"|safe }} {{ docstitle|e }}</title> +{% endblock %} |