diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/_templates/tidelift-sidebar.html | 6 | ||||
-rw-r--r-- | docs/conf.py | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/docs/_templates/tidelift-sidebar.html b/docs/_templates/tidelift-sidebar.html new file mode 100644 index 0000000..c89c0f0 --- /dev/null +++ b/docs/_templates/tidelift-sidebar.html @@ -0,0 +1,6 @@ +<h3 class="donation">Professional support</h3> + +<p> +Professionally-supported {{ project }} is available with the +<a href="https://tidelift.com/subscription/pkg/pypi-{{ project }}?utm_source=pypi-{{ project }}&utm_medium=readme">Tidelift Subscription</a>. +</p> diff --git a/docs/conf.py b/docs/conf.py index 40166c5..e06bee4 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -28,3 +28,8 @@ link_files = { ], ) } + +# Custom sidebar templates, maps document names to template names. +html_theme = 'alabaster' +templates_path = ['_templates'] +html_sidebars = {'index': ['tidelift-sidebar.html']} |