summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorigo95862 <igo95862@yandex.ru>2021-05-16 16:25:42 +0300
committerigo95862 <igo95862@yandex.ru>2021-05-17 20:38:48 +0300
commitcfa449624d893b2a6577a09d9fdefdc878b63bb6 (patch)
treea0b0ad8aa9dd5611d83520e7bdbece523c44579c
parent7554ad95937d487d93612a64e5c5fcea127883be (diff)
downloadsphinx-git-cfa449624d893b2a6577a09d9fdefdc878b63bb6.tar.gz
doc: Moved Jinja links to new home page and HTTPS
Seems like Jinja is no longer pocoo project but palletsprojects.com
-rw-r--r--doc/templating.rst9
-rw-r--r--doc/usage/advanced/websupport/quickstart.rst2
-rw-r--r--doc/usage/extensions/autosummary.rst2
-rw-r--r--doc/usage/theming.rst2
4 files changed, 8 insertions, 7 deletions
diff --git a/doc/templating.rst b/doc/templating.rst
index 61b714bfa..0e9d38add 100644
--- a/doc/templating.rst
+++ b/doc/templating.rst
@@ -6,10 +6,11 @@
Templating
==========
-Sphinx uses the `Jinja <http://jinja.pocoo.org>`_ templating engine for its HTML
-templates. Jinja is a text-based engine, inspired by Django templates, so
-anyone having used Django will already be familiar with it. It also has
-excellent documentation for those who need to make themselves familiar with it.
+Sphinx uses the `Jinja <https://jinja.palletsprojects.com/>`_ templating engine
+for its HTML templates. Jinja is a text-based engine, inspired by Django
+templates, so anyone having used Django will already be familiar with it. It
+also has excellent documentation for those who need to make themselves familiar
+with it.
Do I need to use Sphinx's templates to produce HTML?
diff --git a/doc/usage/advanced/websupport/quickstart.rst b/doc/usage/advanced/websupport/quickstart.rst
index a55080339..720e02e2a 100644
--- a/doc/usage/advanced/websupport/quickstart.rst
+++ b/doc/usage/advanced/websupport/quickstart.rst
@@ -61,7 +61,7 @@ This will return a dictionary containing the following items:
This dict can then be used as context for templates. The goal is to be easy to
integrate with your existing templating system. An example using `Jinja2
-<http://jinja.pocoo.org/>`_ is:
+<https://jinja.palletsprojects.com/>`_ is:
.. code-block:: html+jinja
diff --git a/doc/usage/extensions/autosummary.rst b/doc/usage/extensions/autosummary.rst
index 28f207de7..4794861b3 100644
--- a/doc/usage/extensions/autosummary.rst
+++ b/doc/usage/extensions/autosummary.rst
@@ -335,4 +335,4 @@ the title of a page.
You can use the :rst:dir:`autosummary` directive in the stub pages.
Stub pages are generated also based on these directives.
-.. _`escape filter`: http://jinja.pocoo.org/docs/2.9/templates/#escape
+.. _`escape filter`: https://jinja.palletsprojects.com/en/3.0.x/templates/#jinja-filters.escape
diff --git a/doc/usage/theming.rst b/doc/usage/theming.rst
index fc135a095..8ea574cfd 100644
--- a/doc/usage/theming.rst
+++ b/doc/usage/theming.rst
@@ -248,7 +248,7 @@ These themes are:
**scrolls**
A more lightweight theme, based on `the Jinja documentation
- <http://jinja.pocoo.org/>`_. The following color options are available:
+ <https://jinja.palletsprojects.com/>`_. The following color options are available:
- **headerbordercolor**
- **subheadlinecolor**