doc: Moved Jinja links to new home page and HTTPS

Seems like Jinja is no longer pocoo project but
palletsprojects.com
This commit is contained in:
igo95862 2021-05-16 16:25:42 +03:00
parent 7554ad9593
commit cfa449624d
No known key found for this signature in database
GPG Key ID: F1A55E62951B2143
4 changed files with 8 additions and 7 deletions

View File

@ -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?

View File

@ -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

View File

@ -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

View File

@ -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**