Commit 7d8a2776 authored by Michal Čihař's avatar Michal Čihař

Use footer to inject Piwik markup

Workaround for https://github.com/rtfd/readthedocs.org/issues/152Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 11e8341e
{% include "!footer.html" %}
{% if READTHEDOCS %}
<!-- Piwik -->
<script type="text/javascript">
......
......@@ -146,9 +146,7 @@ html_static_path = ['_static']
#html_use_smartypants = True
# Custom sidebar templates, maps document names to template names.
html_sidebars = {
'**': 'piwik.html',
}
#html_sidebars = {}
# Additional templates that should be rendered to pages, maps page names to
# template names.
......@@ -335,3 +333,7 @@ epub_exclude_files = ['search.html']
# If false, no index is generated.
#epub_use_index = True
import sphinx_rtd_theme
html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment