mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-07-27 19:57:02 +00:00
doc: add disclaimer to html doc output
This commit is contained in:
@@ -1 +1,5 @@
|
||||
/* nothing here yet */
|
||||
div.disclaimer {
|
||||
margin-top: 12px;
|
||||
font-size: 10px;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
{% extends '!footer.html' %}
|
||||
|
||||
{% block extrafooter %}
|
||||
<div class="disclaimer">{{ disclaimer }}</div>
|
||||
{% endblock %}
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user