summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2019-11-30 20:12:13 -0500
committerJason R. Coombs <jaraco@jaraco.com>2019-11-30 20:12:13 -0500
commit0880a9876cf424458b82757d1c7504be58f9c2c1 (patch)
tree0e35b6de27a698acd34635fd1f2b7a25c3cdd474 /docs
parentd760dfb4093a9492b2e9ff9476c29c71dbe14ae2 (diff)
parent1c187ad0cf50fbc14626f63cb669a9ec5949012f (diff)
downloadpytest-runner-0880a9876cf424458b82757d1c7504be58f9c2c1.tar.gz
Merge https://github.com/jaraco/tideliftmaster
Diffstat (limited to 'docs')
-rw-r--r--docs/_templates/tidelift-sidebar.html6
-rw-r--r--docs/conf.py5
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']}