doc: add disclaimer to html doc output

This commit is contained in:
David Lechner
2019-02-27 17:10:06 -06:00
parent d5527f84e3
commit 2bea76d136
3 changed files with 12 additions and 1 deletions
+5 -1
View File
@@ -1 +1,5 @@
/* nothing here yet */
div.disclaimer {
margin-top: 12px;
font-size: 10px;
font-style: italic;
}
+5
View File
@@ -0,0 +1,5 @@
{% extends '!footer.html' %}
{% block extrafooter %}
<div class="disclaimer">{{ disclaimer }}</div>
{% endblock %}
+2
View File
@@ -118,6 +118,7 @@ if ON_RTD:
'https://media.readthedocs.org/css/readthedocs-doc-embed.css',
'_static/css/theme_overrides.css',
],
'disclaimer': _DISCLAIMER,
}
else:
import sphinx_rtd_theme
@@ -127,6 +128,7 @@ else:
'css_files': [
'_static/css/theme_overrides.css',
],
'disclaimer': _DISCLAIMER,
}
html_logo = _LOGO_SMALL