Parcourir la source

[5.0.x] Fixed broken links and redirects in docs.

Backport of 177e6493961dfcdafb44e5b02894bf4201050910 from main
Mariusz Felisiak il y a 1 an
Parent
commit
85e2b08068

+ 1 - 2
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:
 

+ 3 - 3
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

+ 1 - 1
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

+ 4 - 4
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.

+ 1 - 1
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.

+ 1 - 1
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/

+ 1 - 1
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
 

+ 1 - 1
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::
 

+ 1 - 1
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
 

+ 1 - 1
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

+ 1 - 1
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?
 ===================

+ 1 - 1
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
 ===================