From f3eebba0937c408aaa51012a82d4b0a4a315fc36 Mon Sep 17 00:00:00 2001 From: Marc-Andre Lemburg Date: Tue, 21 Nov 2023 11:35:31 +0100 Subject: [PATCH] Merge main into release (#2330) * Add config file for Read the Docs (#2328) * Add config file for Read the Docs * Remove comment * Remove broken Twitter widget (#2329) * Remove broken Twitter widget * Remove broken Twitter widget --------- Co-authored-by: Hugo van Kemenade --- .gitignore | 1 + .readthedocs.yaml | 15 ++++++++++ static/sass/style.css | 4 --- static/sass/style.scss | 3 -- templates/components/tweets-from-psf.html | 4 --- templates/pages/default.html | 2 -- templates/pages/pep-page.html | 2 -- templates/psf/default.html | 2 -- templates/python/inner.html | 33 +--------------------- templates/successstories/base.html | 2 -- templates/waitforit.html | 34 +---------------------- 11 files changed, 18 insertions(+), 84 deletions(-) create mode 100644 .readthedocs.yaml delete mode 100644 templates/components/tweets-from-psf.html diff --git a/.gitignore b/.gitignore index 954ff2401..a9eca9d19 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ # $ git config --global core.excludesfile ~/.gitignore_global .sass-cache/ +docs/build media/* static-root/ static/stylesheets/mq.css diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 000000000..ec9dc1ce9 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,15 @@ +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details +# Project page: https://readthedocs.org/projects/pythondotorg/ + +version: 2 + +build: + os: ubuntu-22.04 + tools: + python: "3" + + commands: + - python -m pip install -r docs-requirements.txt + - make -C docs html JOBS=$(nproc) BUILDDIR=_readthedocs + - mv docs/_readthedocs _readthedocs diff --git a/static/sass/style.css b/static/sass/style.css index ad49c77b4..c3d2bb5f9 100644 --- a/static/sass/style.css +++ b/static/sass/style.css @@ -2771,10 +2771,6 @@ p.quote-by-organization { /* {% endblock left_sidebar %} diff --git a/templates/python/inner.html b/templates/python/inner.html index 06b1ad99e..542e6cb64 100644 --- a/templates/python/inner.html +++ b/templates/python/inner.html @@ -623,40 +623,9 @@

Form Example

{% block left_sidebar %} {% endblock left_sidebar %} diff --git a/templates/waitforit.html b/templates/waitforit.html index a7bc8f532..a27a9e274 100644 --- a/templates/waitforit.html +++ b/templates/waitforit.html @@ -22,37 +22,5 @@

Wait for it…

{% block left_sidebar %} -{% endblock left_sidebar %} \ No newline at end of file +{% endblock left_sidebar %}