diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2022-02-25 14:12:12 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2022-02-25 14:12:12 -0500 |
commit | a3dc9f4c6afea684ed48da998958470ea41f3c00 (patch) | |
tree | b2770f0d2ccea90d77b4491d722cadd673678096 | |
parent | 3b16808a15fbc46deef94f57d547f1a2bb3256e9 (diff) | |
parent | 918a415b41225f442d6e9b319ecebff19b52a1a5 (diff) | |
download | pytest-runner-a3dc9f4c6afea684ed48da998958470ea41f3c00.tar.gz |
Merge https://github.com/jaraco/tidelift into newmainv6.0.0
-rw-r--r-- | docs/_templates/tidelift-sidebar.html | 6 | ||||
-rw-r--r-- | docs/conf.py | 5 | ||||
-rw-r--r-- | docs/index.rst | 3 | ||||
-rw-r--r-- | setup.cfg | 1 |
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` - @@ -51,6 +51,7 @@ docs = sphinx jaraco.packaging >= 9 rst.linker >= 1.9 + jaraco.tidelift >= 1.4 # local |