summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2022-02-25 14:12:12 -0500
committerJason R. Coombs <jaraco@jaraco.com>2022-02-25 14:12:12 -0500
commita3dc9f4c6afea684ed48da998958470ea41f3c00 (patch)
treeb2770f0d2ccea90d77b4491d722cadd673678096
parent3b16808a15fbc46deef94f57d547f1a2bb3256e9 (diff)
parent918a415b41225f442d6e9b319ecebff19b52a1a5 (diff)
downloadpytest-runner-a3dc9f4c6afea684ed48da998958470ea41f3c00.tar.gz
Merge https://github.com/jaraco/tidelift into newmainv6.0.0
-rw-r--r--docs/_templates/tidelift-sidebar.html6
-rw-r--r--docs/conf.py5
-rw-r--r--docs/index.rst3
-rw-r--r--setup.cfg1
4 files changed, 4 insertions, 11 deletions
diff --git a/docs/_templates/tidelift-sidebar.html b/docs/_templates/tidelift-sidebar.html
deleted file mode 100644
index ce48f46..0000000
--- a/docs/_templates/tidelift-sidebar.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<h3 class="donation">For Enterprise</h3>
-
-<p>
-Professionally-supported {{ project }} is available with the
-<a href="https://tidelift.com/subscription/pkg/pypi-{{ project }}?utm_source=pypi-{{ project }}&utm_medium=referral">Tidelift Subscription</a>.
-</p>
diff --git a/docs/conf.py b/docs/conf.py
index a8bdc15..3944ba9 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -39,7 +39,4 @@ intersphinx_mapping = {
'python': ('https://docs.python.org/3', None),
}
-# Custom sidebar templates, maps document names to template names.
-html_theme = 'alabaster'
-templates_path = ['_templates']
-html_sidebars = {'index': ['tidelift-sidebar.html']}
+extensions += ['jaraco.tidelift']
diff --git a/docs/index.rst b/docs/index.rst
index c43329a..d2e3fdd 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -6,6 +6,8 @@ Welcome to |project| documentation!
history
+.. tidelift-referral-banner::
+
.. include:: ../README.rst
Indices and tables
@@ -14,4 +16,3 @@ Indices and tables
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
-
diff --git a/setup.cfg b/setup.cfg
index 39bda86..c1b0213 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -51,6 +51,7 @@ docs =
sphinx
jaraco.packaging >= 9
rst.linker >= 1.9
+ jaraco.tidelift >= 1.4
# local