summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2019-01-26 12:12:55 -0500
committerJason R. Coombs <jaraco@jaraco.com>2019-01-26 12:25:54 -0500
commitf3ff0541b6967ee91be3f572c5afe4f559436aa1 (patch)
treea6d7c4fd5e624a0ac521533a7d34ba0440fe9c1e /docs
downloadpytest-runner-f3ff0541b6967ee91be3f572c5afe4f559436aa1.tar.gz
Add Tidelift template
Diffstat (limited to 'docs')
-rw-r--r--docs/_templates/tidelift-sidebar.html6
-rw-r--r--docs/conf.py4
2 files changed, 10 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
new file mode 100644
index 0000000..d028733
--- /dev/null
+++ b/docs/conf.py
@@ -0,0 +1,4 @@
+
+# Custom sidebar templates, maps document names to template names.
+templates_path = ['_templates']
+html_sidebars = {'index': 'tidelift-sidebar.html'}