diff options
Diffstat (limited to 'Utilities/Sphinx/templates/layout.html')
-rw-r--r-- | Utilities/Sphinx/templates/layout.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Utilities/Sphinx/templates/layout.html b/Utilities/Sphinx/templates/layout.html new file mode 100644 index 0000000000..1c5728c704 --- /dev/null +++ b/Utilities/Sphinx/templates/layout.html @@ -0,0 +1,19 @@ +{% extends "!layout.html" %} +{% block rootrellink %} + <li> + <img src="{{ pathto('_static/cmake-logo-16.png', 1) }}" alt="" + style="vertical-align: middle; margin-top: -2px" /> + </li> + <li> + <a href="http://www.cmake.org/">CMake</a>{{ reldelim1 }} + </li> + <li> + <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 %} |