summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2020-12-20 15:59:49 -0500
committerJason R. Coombs <jaraco@jaraco.com>2020-12-20 15:59:49 -0500
commita2487bbcae85d70e47d4e46257e5193ab7e05ab6 (patch)
treebac1311d37f59b9b224d8f2491ba8f237d9991b3 /docs
parentcabb200e590955eee70b67787eaa5597d4d0ff19 (diff)
parentfb8d9c43500c06f6f2286ea7c7ae452d41cce412 (diff)
downloadpython-setuptools-git-a2487bbcae85d70e47d4e46257e5193ab7e05ab6.tar.gz
Merge https://github.com/jaraco/tidelift into main
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 00000000..ce48f46b
--- /dev/null
+++ b/docs/_templates/tidelift-sidebar.html
@@ -0,0 +1,6 @@
+<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 9b17cd41..8cb959df 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -104,3 +104,8 @@ nitpicky = True
# Ref: https://github.com/python-attrs/attrs/pull/571/files\
# #diff-85987f48f1258d9ee486e3191495582dR82
default_role = 'any'
+
+# Custom sidebar templates, maps document names to template names.
+html_theme = 'alabaster'
+templates_path = ['_templates']
+html_sidebars = {'index': ['tidelift-sidebar.html']}