diff options
-rw-r--r-- | .github/workflows/main.yml | 1 | ||||
-rw-r--r-- | README.rst | 21 | ||||
-rw-r--r-- | docs/_templates/tidelift-sidebar.html | 6 | ||||
-rw-r--r-- | docs/conf.py | 5 | ||||
-rw-r--r-- | tox.ini | 3 |
5 files changed, 28 insertions, 8 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0e2a8fa8..31b94144 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -40,3 +40,4 @@ jobs: env: TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + TIDELIFT_TOKEN: ${{ secrets.TIDELIFT_TOKEN }} @@ -34,9 +34,13 @@ Bug reports and especially tested patches may be submitted directly to the `bug tracker <https://github.com/pypa/setuptools/issues>`_. -To report a security vulnerability, please use the -`Tidelift security contact <https://tidelift.com/security>`_. -Tidelift will coordinate the fix and disclosure. + +Code of Conduct +=============== + +Everyone interacting in the setuptools project's codebases, issue trackers, +chat rooms, and mailing lists is expected to follow the +`PSF Code of Conduct <https://github.com/pypa/.github/blob/main/CODE_OF_CONDUCT.md>`_. For Enterprise @@ -48,9 +52,10 @@ Setuptools and the maintainers of thousands of other packages are working with T `Learn more <https://tidelift.com/subscription/pkg/pypi-setuptools?utm_source=pypi-setuptools&utm_medium=referral&utm_campaign=github>`_. -Code of Conduct -=============== -Everyone interacting in the setuptools project's codebases, issue trackers, -chat rooms, and mailing lists is expected to follow the -`PSF Code of Conduct <https://github.com/pypa/.github/blob/main/CODE_OF_CONDUCT.md>`_. +Security Contact +================ + +To report a security vulnerability, please use the +`Tidelift security contact <https://tidelift.com/security>`_. +Tidelift will coordinate the fix and disclosure. 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']} @@ -58,9 +58,11 @@ deps = twine[keyring]>=1.13 path jaraco.develop>=7.1 + jaraco.tidelift passenv = TWINE_PASSWORD GITHUB_TOKEN + TIDELIFT_TOKEN setenv = TWINE_USERNAME = {env:TWINE_USERNAME:__token__} commands = @@ -69,6 +71,7 @@ commands = python -m pep517.build . python -m twine upload dist/* python -m jaraco.develop.create-github-release + python -m jaraco.tidelift.publish-release-notes [helpers] # Custom pip behavior |