From: Jon Dufresne Date: Sun, 9 Apr 2017 22:18:38 +0000 (-0700) Subject: In documentation, prefer https over http when available X-Git-Tag: 2.10~27^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b1ddea8acba1ece3595c0d44b581d9e3637f950;p=thirdparty%2Fjinja.git In documentation, prefer https over http when available --- diff --git a/README.rst b/README.rst index c36b9426..8ac573f4 100644 --- a/README.rst +++ b/README.rst @@ -33,8 +33,8 @@ For more information visit the new `Jinja2 webpage`_ and `documentation`_. The `Jinja2 tip`_ is installable via ``pip`` with ``pip install https://github.com/pallets/jinja/zipball/master``. -.. _sandboxed: http://en.wikipedia.org/wiki/Sandbox_(computer_security) -.. _Django: http://www.djangoproject.com/ +.. _sandboxed: https://en.wikipedia.org/wiki/Sandbox_(computer_security) +.. _Django: https://www.djangoproject.com/ .. _Jinja2 webpage: http://jinja.pocoo.org/ .. _documentation: http://jinja.pocoo.org/docs/ .. _Jinja2 tip: http://jinja.pocoo.org/docs/intro/#as-a-python-egg-via-easy-install diff --git a/docs/_templates/sidebarintro.html b/docs/_templates/sidebarintro.html index 9c430c0c..d642d141 100644 --- a/docs/_templates/sidebarintro.html +++ b/docs/_templates/sidebarintro.html @@ -15,6 +15,6 @@

Useful Links

diff --git a/docs/api.rst b/docs/api.rst index bbe6c366..ee88d110 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -114,7 +114,7 @@ for everything else `unicode`: u'f\xf6\xf6' -.. _Unicode documentation: http://docs.python.org/dev/howto/unicode.html +.. _Unicode documentation: https://docs.python.org/dev/howto/unicode.html High Level API -------------- diff --git a/docs/extensions.rst b/docs/extensions.rst index 635d1e4c..cd093469 100644 --- a/docs/extensions.rst +++ b/docs/extensions.rst @@ -106,7 +106,7 @@ current configuration. (For example by using `gettext.find`) The usage of the `i18n` extension for template designers is covered as part :ref:`of the template documentation `. -.. _gettext: http://docs.python.org/dev/library/gettext +.. _gettext: https://docs.python.org/dev/library/gettext .. _Babel: http://babel.pocoo.org/ .. _newstyle-gettext: diff --git a/docs/faq.rst b/docs/faq.rst index 9dd348f5..624a797a 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -145,7 +145,7 @@ work in production environments:: sandbox._WHITE_LIST_C_MODULES += ['_ctypes', 'gestalt'] Credit for this snippet goes to `Thomas Johansson -`_ +`_ Why is there no Python 2.3/2.4/2.5/3.1/3.2 support? --------------------------------------------------- diff --git a/docs/intro.rst b/docs/intro.rst index e097718e..2df94d41 100644 --- a/docs/intro.rst +++ b/docs/intro.rst @@ -60,12 +60,12 @@ As an alternative to steps 4 you can also do ``python setup.py develop`` which will install the package via `distribute` in development mode. This also has the advantage that the C extensions are compiled. -.. _download page: http://pypi.python.org/pypi/Jinja2 -.. _distribute: http://pypi.python.org/pypi/distribute +.. _download page: https://pypi.python.org/pypi/Jinja2 +.. _distribute: https://pypi.python.org/pypi/distribute .. _setuptools: http://peak.telecommunity.com/DevCenter/setuptools .. _easy_install: http://peak.telecommunity.com/DevCenter/EasyInstall -.. _pip: http://pypi.python.org/pypi/pip -.. _git: http://git-scm.org/ +.. _pip: https://pypi.python.org/pypi/pip +.. _git: https://git-scm.org/ MarkupSafe Dependency @@ -75,7 +75,7 @@ As of version 2.7 Jinja2 depends on the `MarkupSafe`_ module. If you install Jinja2 via `pip` or `easy_install` it will be installed automatically for you. -.. _MarkupSafe: http://pypi.python.org/pypi/MarkupSafe +.. _MarkupSafe: https://pypi.python.org/pypi/MarkupSafe Basic API Usage --------------- @@ -117,4 +117,4 @@ in mind, so you will have to adapt the shown code examples to Python 3 syntax for yourself. -.. _Jinja bug tracker: http://github.com/pallets/jinja/issues +.. _Jinja bug tracker: https://github.com/pallets/jinja/issues diff --git a/jinja2/bccache.py b/jinja2/bccache.py index d687d036..080e527c 100644 --- a/jinja2/bccache.py +++ b/jinja2/bccache.py @@ -297,7 +297,7 @@ class MemcachedBytecodeCache(BytecodeCache): Libraries compatible with this class: - `werkzeug `_.contrib.cache - - `python-memcached `_ + - `python-memcached `_ - `cmemcache `_ (Unfortunately the django cache interface is not compatible because it diff --git a/jinja2/sandbox.py b/jinja2/sandbox.py index 32e24350..93fb9d45 100644 --- a/jinja2/sandbox.py +++ b/jinja2/sandbox.py @@ -107,7 +107,7 @@ class _MagicFormatMapping(Mapping): """This class implements a dummy wrapper to fix a bug in the Python standard library for string formatting. - See http://bugs.python.org/issue13598 for information about why + See https://bugs.python.org/issue13598 for information about why this is necessary. """ diff --git a/setup.py b/setup.py index b77ff428..ce83c52d 100644 --- a/setup.py +++ b/setup.py @@ -30,8 +30,8 @@ for the template designer too hard by giving him too few functionality. For more informations visit the new `Jinja2 webpage`_ and `documentation`_. -.. _sandboxed: http://en.wikipedia.org/wiki/Sandbox_(computer_security) -.. _Django: http://www.djangoproject.com/ +.. _sandboxed: https://en.wikipedia.org/wiki/Sandbox_(computer_security) +.. _Django: https://www.djangoproject.com/ .. _Jinja2 webpage: http://jinja.pocoo.org/ .. _documentation: http://jinja.pocoo.org/2/documentation/ """