summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2024-03-06 08:50:21 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2024-03-06 08:51:35 +0100
commit85e2b080689cfa503085d380d3b9f0799fcf2cb4 (patch)
tree3e02ddf395a55092dcff1590c7d1e2119a49bf2c
parent4dae21ad97d3cad61450e12273989109452c3ede (diff)
[5.0.x] Fixed broken links and redirects in docs.
Backport of 177e6493961dfcdafb44e5b02894bf4201050910 from main
-rw-r--r--docs/internals/contributing/writing-code/coding-style.txt3
-rw-r--r--docs/internals/organization.txt6
-rw-r--r--docs/ref/contrib/gis/geos.txt2
-rw-r--r--docs/ref/contrib/gis/install/geolibs.txt8
-rw-r--r--docs/ref/contrib/gis/model-api.txt2
-rw-r--r--docs/ref/contrib/gis/sitemaps.txt2
-rw-r--r--docs/ref/contrib/staticfiles.txt2
-rw-r--r--docs/ref/request-response.txt2
-rw-r--r--docs/ref/settings.txt2
-rw-r--r--docs/ref/unicode.txt2
-rw-r--r--docs/releases/0.96.txt2
-rw-r--r--docs/topics/testing/tools.txt2
12 files changed, 17 insertions, 18 deletions
diff --git a/docs/internals/contributing/writing-code/coding-style.txt b/docs/internals/contributing/writing-code/coding-style.txt
index 8c08e7e259..ef5685bea9 100644
--- a/docs/internals/contributing/writing-code/coding-style.txt
+++ b/docs/internals/contributing/writing-code/coding-style.txt
@@ -132,8 +132,7 @@ Python style
Imports
=======
-* Use `isort <https://github.com/PyCQA/isort#readme>`_ to automate import
- sorting using the guidelines below.
+* Use :pypi:`isort` to automate import sorting using the guidelines below.
Quick start:
diff --git a/docs/internals/organization.txt b/docs/internals/organization.txt
index 5fd8115b5a..53bac152d5 100644
--- a/docs/internals/organization.txt
+++ b/docs/internals/organization.txt
@@ -55,8 +55,8 @@ Mergers hold the following prerogatives:
enough to require the use of the `DEP process`_) reaches one of its
implementation milestones and is intended to merge.
-.. _`minor change`: https://github.com/django/deps/blob/main/accepted/0010-new-governance.rst#terminology
-.. _`major change`: https://github.com/django/deps/blob/main/accepted/0010-new-governance.rst#terminology
+.. _`minor change`: https://github.com/django/deps/blob/main/final/0010-new-governance.rst#terminology
+.. _`major change`: https://github.com/django/deps/blob/main/final/0010-new-governance.rst#terminology
Membership
----------
@@ -294,4 +294,4 @@ Changes to this document require the use of the `DEP process`_, with
modifications described in `DEP 0010`_.
.. _`DEP process`: https://github.com/django/deps/blob/main/final/0001-dep-process.rst
-.. _`DEP 0010`: https://github.com/django/deps/blob/main/accepted/0010-new-governance.rst#changing-this-governance-process
+.. _`DEP 0010`: https://github.com/django/deps/blob/main/final/0010-new-governance.rst#changing-this-governance-process
diff --git a/docs/ref/contrib/gis/geos.txt b/docs/ref/contrib/gis/geos.txt
index fed3847424..173e51979c 100644
--- a/docs/ref/contrib/gis/geos.txt
+++ b/docs/ref/contrib/gis/geos.txt
@@ -19,7 +19,7 @@ maintained by `Refractions Research`__ of Victoria, Canada.
__ https://libgeos.org/
__ https://sourceforge.net/projects/jts-topo-suite/
-__ https://www.ogc.org/standards/sfs
+__ https://www.ogc.org/standard/sfs/
__ http://www.refractions.net/
Features
diff --git a/docs/ref/contrib/gis/install/geolibs.txt b/docs/ref/contrib/gis/install/geolibs.txt
index 51dbc98c5c..9ea7e1ed85 100644
--- a/docs/ref/contrib/gis/install/geolibs.txt
+++ b/docs/ref/contrib/gis/install/geolibs.txt
@@ -294,10 +294,10 @@ the GDAL library. For example:
.. [#] The datum shifting files are needed for converting data to and from
certain projections.
For example, the PROJ string for the `Google projection (900913 or 3857)
- <https://spatialreference.org/ref/sr-org/6864/prj/>`_ requires the
- ``null`` grid file only included in the extra datum shifting files.
- It is easier to install the shifting files now, then to have debug a
- problem caused by their absence later.
+ <https://spatialreference.org/ref/epsg/3857/>`_ requires the ``null``
+ grid file only included in the extra datum shifting files. It is easier
+ to install the shifting files now, then to have debug a problem caused
+ by their absence later.
.. [#] Specifically, GeoDjango provides support for the `OGR
<https://gdal.org/user/vector_data_model.html>`_ library, a component of
GDAL.
diff --git a/docs/ref/contrib/gis/model-api.txt b/docs/ref/contrib/gis/model-api.txt
index e46d862707..981581cbf2 100644
--- a/docs/ref/contrib/gis/model-api.txt
+++ b/docs/ref/contrib/gis/model-api.txt
@@ -265,7 +265,7 @@ determining `when to use geography data type over geometry data type
<https://postgis.net/docs/using_postgis_dbmanagement.html#PostGIS_GeographyVSGeometry>`_.
.. rubric:: Footnotes
-.. [#fnogc] OpenGIS Consortium, Inc., `Simple Feature Specification For SQL <https://www.ogc.org/standards/sfs>`_.
+.. [#fnogc] OpenGIS Consortium, Inc., `Simple Feature Specification For SQL <https://www.ogc.org/standard/sfs/>`_.
.. [#fnogcsrid] *See id.* at Ch. 2.3.8, p. 39 (Geometry Values and Spatial Reference Systems).
.. [#fnsrid] Typically, SRID integer corresponds to an EPSG (`European Petroleum Survey Group <https://epsg.org/>`_) identifier. However, it may also be associated with custom projections defined in spatial database's spatial reference systems table.
.. [#fnthematic] Terry A. Slocum, Robert B. McMaster, Fritz C. Kessler, & Hugh H. Howard, *Thematic Cartography and Geographic Visualization* (Prentice Hall, 2nd edition), at Ch. 7.1.3.
diff --git a/docs/ref/contrib/gis/sitemaps.txt b/docs/ref/contrib/gis/sitemaps.txt
index c81760a2af..32680d6f39 100644
--- a/docs/ref/contrib/gis/sitemaps.txt
+++ b/docs/ref/contrib/gis/sitemaps.txt
@@ -19,4 +19,4 @@ Reference
--------------
.. rubric:: Footnotes
-.. [#] https://www.ogc.org/standards/kml
+.. [#] https://www.ogc.org/standard/kml/
diff --git a/docs/ref/contrib/staticfiles.txt b/docs/ref/contrib/staticfiles.txt
index b7f7239223..6e99c66f81 100644
--- a/docs/ref/contrib/staticfiles.txt
+++ b/docs/ref/contrib/staticfiles.txt
@@ -420,7 +420,7 @@ hashing algorithm.
.. _`@import`: https://www.w3.org/TR/CSS2/cascade.html#at-import
.. _`url()`: https://www.w3.org/TR/CSS2/syndata.html#uri
.. _`Cascading Style Sheets`: https://www.w3.org/Style/CSS/
-.. _`source map`: https://developer.mozilla.org/en-US/docs/Tools/Debugger/How_to/Use_a_source_map
+.. _`source map`: https://firefox-source-docs.mozilla.org/devtools-user/debugger/how_to/use_a_source_map/
.. _`modules import`: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules#importing_features_into_your_script
.. _`modules aggregation`: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules#aggregating_modules
diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt
index 49ee126aca..c4d60ce878 100644
--- a/docs/ref/request-response.txt
+++ b/docs/ref/request-response.txt
@@ -948,7 +948,7 @@ Methods
sent with all same-site and cross-site requests.
.. _HttpOnly: https://owasp.org/www-community/HttpOnly
- .. _SameSite: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite
+ .. _SameSite: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#samesitesamesite-value
.. warning::
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
index 48392d55a1..30e64b72ff 100644
--- a/docs/ref/settings.txt
+++ b/docs/ref/settings.txt
@@ -3369,7 +3369,7 @@ Possible values for the setting are:
Modern browsers provide a more secure default policy for the ``SameSite``
flag and will assume ``Lax`` for cookies without an explicit value set.
-.. _SameSite: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite
+.. _SameSite: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#samesitesamesite-value
.. setting:: SESSION_COOKIE_SECURE
diff --git a/docs/ref/unicode.txt b/docs/ref/unicode.txt
index 81a0b08aad..dfd10b19db 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.11.5.6
+.. _PostgreSQL manual: https://www.postgresql.org/docs/current/multibyte.html#MULTIBYTE-SETTING
.. _Oracle manual: https://docs.oracle.com/en/database/oracle/oracle-database/21/nlspg/index.html
.. _section 2: https://docs.oracle.com/en/database/oracle/oracle-database/21/nlspg/choosing-character-set.html
.. _section 11: https://docs.oracle.com/en/database/oracle/oracle-database/21/nlspg/character-set-migration.html
diff --git a/docs/releases/0.96.txt b/docs/releases/0.96.txt
index 0be19b1ddf..032eb1009a 100644
--- a/docs/releases/0.96.txt
+++ b/docs/releases/0.96.txt
@@ -119,7 +119,7 @@ The ``ENABLE_PSYCO`` setting no longer exists. If your settings file includes
``ENABLE_PSYCO`` it will have no effect; to use Psyco_, we recommend
writing a middleware class to activate it.
-.. _psyco: http://psyco.sourceforge.net/
+.. _psyco: https://psyco.sourceforge.net/
What's new in 0.96?
===================
diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt
index ae5b758812..9b33e7c01a 100644
--- a/docs/topics/testing/tools.txt
+++ b/docs/topics/testing/tools.txt
@@ -1154,7 +1154,7 @@ out the `full reference`_ for more details.
for more information.
.. _Selenium FAQ: https://web.archive.org/web/20160129132110/http://code.google.com/p/selenium/wiki/FrequentlyAskedQuestions#Q:_WebDriver_fails_to_find_elements_/_Does_not_block_on_page_loa
- .. _Selenium documentation: https://www.selenium.dev/documentation/webdriver/waits/#explicit-wait
+ .. _Selenium documentation: https://www.selenium.dev/documentation/webdriver/waits/#explicit-waits
Test cases features
===================