Help: Add context to titles in QtHelp.
This allows disambiguation of identifiers in Qt Assistant and Creator.
This commit is contained in:
parent
b5002631c0
commit
d107949d21
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue