summaryrefslogtreecommitdiff
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
downloadpytest-runner-f3ff0541b6967ee91be3f572c5afe4f559436aa1.tar.gz
Add Tidelift template
-rw-r--r--README.rst11
-rw-r--r--docs/_templates/tidelift-sidebar.html6
-rw-r--r--docs/conf.py4
3 files changed, 21 insertions, 0 deletions
diff --git a/README.rst b/README.rst
new file mode 100644
index 0000000..5d77d8d
--- /dev/null
+++ b/README.rst
@@ -0,0 +1,11 @@
+.. image:: https://tidelift.com/badges/github/GROUP/PROJECT
+ :target: https://tidelift.com/subscription/pkg/pypi-PROJECT?utm_source=pypi-PROJECT&utm_medium=readme
+
+
+Security Contact
+================
+
+If you wish to report a security vulnerability, the public disclosure
+of which may exacerbate the risk, please
+`Contact Tidelift security <https://tidelift.com/security>`_,
+which will coordinate the fix and disclosure privately.
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'}