From 010a9d8a4f45252b908337988690c3fad138e334 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Tue, 29 Mar 2022 07:46:08 +0200 Subject: [PATCH] Updated various links to HTTPS and new locations. --- docs/howto/upgrade-version.txt | 2 +- docs/internals/contributing/writing-code/unit-tests.txt | 8 ++++---- docs/intro/reusable-apps.txt | 2 +- docs/ref/contrib/gis/feeds.txt | 2 +- docs/ref/contrib/syndication.txt | 2 +- docs/ref/unicode.txt | 2 +- docs/topics/cache.txt | 6 +++--- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/howto/upgrade-version.txt b/docs/howto/upgrade-version.txt index 9be65a9df0a..02e0cbf9a0b 100644 --- a/docs/howto/upgrade-version.txt +++ b/docs/howto/upgrade-version.txt @@ -69,7 +69,7 @@ environment variable. For example, to show warnings while running tests: If you're not using the Django test runner, you may need to also ensure that any console output is not captured which would hide deprecation warnings. For -example, if you use `pytest `__: +example, if you use `pytest `__: .. code-block:: console diff --git a/docs/internals/contributing/writing-code/unit-tests.txt b/docs/internals/contributing/writing-code/unit-tests.txt index a2f9b392aa2..2bc261666e1 100644 --- a/docs/internals/contributing/writing-code/unit-tests.txt +++ b/docs/internals/contributing/writing-code/unit-tests.txt @@ -55,10 +55,10 @@ Having problems? See :ref:`troubleshooting-unit-tests` for some common issues. Running tests using ``tox`` --------------------------- -`Tox `_ is a tool for running tests in different -virtual environments. Django includes a basic ``tox.ini`` that automates some -checks that our build server performs on pull requests. To run the unit tests -and other checks (such as :ref:`import sorting `, the +`Tox `_ is a tool for running tests in different virtual +environments. Django includes a basic ``tox.ini`` that automates some checks +that our build server performs on pull requests. To run the unit tests and +other checks (such as :ref:`import sorting `, the :ref:`documentation spelling checker `, and :ref:`code formatting `), install and run the ``tox`` command from any place in the Django source tree: diff --git a/docs/intro/reusable-apps.txt b/docs/intro/reusable-apps.txt index fe225694850..21a6e0f6341 100644 --- a/docs/intro/reusable-apps.txt +++ b/docs/intro/reusable-apps.txt @@ -186,7 +186,7 @@ this. For a small app like polls, this process isn't too difficult. #. Next we'll create ``pyproject.toml``, ``setup.cfg``, and ``setup.py`` files which detail how to build and install the app. A full explanation of these files is beyond the scope of this tutorial, but the `setuptools - documentation `_ has a good + documentation `_ has a good explanation. Create the ``django-polls/pyproject.toml``, ``django-polls/setup.cfg``, and ``django-polls/setup.py`` files with the following contents: diff --git a/docs/ref/contrib/gis/feeds.txt b/docs/ref/contrib/gis/feeds.txt index 8705d518157..644391f9c69 100644 --- a/docs/ref/contrib/gis/feeds.txt +++ b/docs/ref/contrib/gis/feeds.txt @@ -13,7 +13,7 @@ Django's, please consult :doc:`Django's syndication documentation .. _W3C Geo: https://www.w3.org/2003/01/geo/ -__ http://georss.org/simple.html +__ https://georss.org Example ======= diff --git a/docs/ref/contrib/syndication.txt b/docs/ref/contrib/syndication.txt index 71be654f53c..1b255c6b407 100644 --- a/docs/ref/contrib/syndication.txt +++ b/docs/ref/contrib/syndication.txt @@ -1043,7 +1043,7 @@ and there are a set of methods that ``SyndicationFeed`` calls to get these extra attributes. Thus, you can subclass the appropriate feed generator class (``Atom1Feed`` or ``Rss201rev2Feed``) and extend these callbacks. They are: -.. _georss: http://georss.org/ +.. _georss: https://georss.org .. _itunes podcast format: https://help.apple.com/itc/podcasts_connect/#/itcb54353390 ``SyndicationFeed.root_attributes(self)`` diff --git a/docs/ref/unicode.txt b/docs/ref/unicode.txt index d35476ada75..cf0f9d3e0e5 100644 --- a/docs/ref/unicode.txt +++ b/docs/ref/unicode.txt @@ -28,7 +28,7 @@ able to store certain characters in the database, and information will be lost. for internal encoding. .. _MySQL manual: https://dev.mysql.com/doc/refman/en/charset-database.html -.. _PostgreSQL manual: https://www.postgresql.org/docs/current/multibyte.html#id-1.6.10.5.6 +.. _PostgreSQL manual: https://www.postgresql.org/docs/current/multibyte.html#id-1.6.11.5.6 .. _Oracle manual: https://docs.oracle.com/en/database/oracle/oracle-database/18/nlspg/index.html .. _section 2: https://docs.oracle.com/en/database/oracle/oracle-database/18/nlspg/choosing-character-set.html .. _section 11: https://docs.oracle.com/en/database/oracle/oracle-database/18/nlspg/character-set-migration.html diff --git a/docs/topics/cache.txt b/docs/topics/cache.txt index f405e171d51..e769fe0da91 100644 --- a/docs/topics/cache.txt +++ b/docs/topics/cache.txt @@ -185,7 +185,7 @@ To use Redis as your cache backend with Django: * Set :setting:`LOCATION ` to the URL pointing to your Redis instance, using the appropriate scheme. See the ``redis-py`` docs for `details on the available schemes - `_. + `_. For example, if Redis is running on localhost (127.0.0.1) port 6379:: @@ -568,8 +568,8 @@ class`_ (``redis.ConnectionPool`` is used by default):: } } -.. _`parser class`: https://github.com/andymccurdy/redis-py#parsers -.. _`connection pool class`: https://github.com/andymccurdy/redis-py#connection-pools +.. _`parser class`: https://github.com/redis/redis-py#parsers +.. _`connection pool class`: https://github.com/redis/redis-py#connection-pools .. _the-per-site-cache: