Skip to content

Commit

Permalink
Fixed some broken links in the documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
ngnpope committed Apr 28, 2021
1 parent fbfed16 commit 00f2365
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 18 deletions.
2 changes: 1 addition & 1 deletion docs/intro/tutorial03.txt
Expand Up @@ -212,7 +212,7 @@ Put the following code in that template:
To make the tutorial shorter, all template examples use incomplete HTML. In
your own projects you should use `complete HTML documents`__.

__ https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/Getting_started#Anatomy_of_an_HTML_document
__ https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/Getting_started#anatomy_of_an_html_document

Now let's update our ``index`` view in ``polls/views.py`` to use the template:

Expand Down
2 changes: 1 addition & 1 deletion docs/ref/clickjacking.txt
Expand Up @@ -132,5 +132,5 @@ See also

A `complete list`_ of browsers supporting ``X-Frame-Options``.

.. _complete list: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options#Browser_compatibility
.. _complete list: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options#browser_compatibility
.. _other clickjacking prevention techniques: https://en.wikipedia.org/wiki/Clickjacking#Prevention
2 changes: 1 addition & 1 deletion docs/ref/contrib/gis/db-api.txt
Expand Up @@ -401,7 +401,7 @@ Aggregate PostGIS Oracle SpatiaLite
======================= ======= ====== ==========

.. rubric:: Footnotes
.. [#fnwkt] *See* Open Geospatial Consortium, Inc., `OpenGIS Simple Feature Specification For SQL <http://www.opengis.org/docs/99-049.pdf>`_, Document 99-049 (May 5, 1999), at Ch. 3.2.5, p. 3-11 (SQL Textual Representation of Geometry).
.. [#fnwkt] *See* Open Geospatial Consortium, Inc., `OpenGIS Simple Feature Specification For SQL <https://portal.ogc.org/files/?artifact_id=829>`_, Document 99-049 (May 5, 1999), at Ch. 3.2.5, p. 3-11 (SQL Textual Representation of Geometry).
.. [#fnewkb] *See* `PostGIS EWKB, EWKT and Canonical Forms <https://postgis.net/docs/using_postgis_dbmanagement.html#EWKB_EWKT>`_, PostGIS documentation at Ch. 4.1.2.
.. [#fndistsphere15] *See* `PostGIS documentation <https://postgis.net/docs/ST_DistanceSphere.html>`_ on ``ST_DistanceSphere``.
.. [#] Refer :ref:`mysql-spatial-limitations` section for more details.
2 changes: 1 addition & 1 deletion docs/ref/contrib/gis/geoquerysets.txt
Expand Up @@ -935,7 +935,7 @@ Example::
>>> u = Zipcode.objects.filter(poly__within=bbox).aggregate(Union(poly)) # A more sensible approach.

.. rubric:: Footnotes
.. [#fnde9im] *See* `OpenGIS Simple Feature Specification For SQL <http://www.opengis.org/docs/99-049.pdf>`_, at Ch. 2.1.13.2, p. 2-13 (The Dimensionally Extended Nine-Intersection Model).
.. [#fnde9im] *See* `OpenGIS Simple Feature Specification For SQL <https://portal.ogc.org/files/?artifact_id=829>`_, at Ch. 2.1.13.2, p. 2-13 (The Dimensionally Extended Nine-Intersection Model).
.. [#fnsdorelate] *See* `SDO_RELATE documentation <https://docs.oracle.com/en/
database/oracle/oracle-database/18/spatl/spatial-operators-reference.html#
GUID-97C17C18-F05E-49B4-BE11-E89B972E2A02>`_, from the Oracle Spatial and
Expand Down
2 changes: 1 addition & 1 deletion docs/ref/contrib/gis/tutorial.txt
Expand Up @@ -737,7 +737,7 @@ position.

.. _OpenLayers: https://openlayers.org/
.. _Open Street Map: https://www.openstreetmap.org/
.. _Vector Map Level 0: https://earth-info.nga.mil/publications/vmap0.html
.. _Vector Map Level 0: http://web.archive.org/web/20201024202709/https://earth-info.nga.mil/publications/vmap0.html
.. _OSGeo: https://www.osgeo.org/

.. _osmgeoadmin-intro:
Expand Down
2 changes: 1 addition & 1 deletion docs/ref/contrib/syndication.txt
Expand Up @@ -16,7 +16,7 @@ Django also comes with a lower-level feed-generating API. Use this if
you want to generate feeds outside of a Web context, or in some other
lower-level way.

.. _RSS: http://www.whatisrss.com/
.. _RSS: https://developer.mozilla.org/en-US/docs/Glossary/RSS

The high-level framework
========================
Expand Down
2 changes: 1 addition & 1 deletion docs/releases/1.0.txt
Expand Up @@ -132,7 +132,7 @@ will be merged into the main Django documentation shortly. Huge thanks go to
Justin Bronn, Jeremy Dunck, Brett Hoerner and Travis Pinney for their efforts in
creating and completing this feature.

See http://geodjango.org/ for details.
See :doc:`GeoDjango </ref/contrib/gis/index>` for details.

.. _Geographic Information Systems: https://en.wikipedia.org/wiki/Geographic_information_system

Expand Down
5 changes: 2 additions & 3 deletions docs/releases/1.1.txt
Expand Up @@ -347,8 +347,8 @@ For full details, see :ref:`the documentation on defining URL namespaces
GeoDjango
---------

In Django 1.1, GeoDjango_ (i.e. ``django.contrib.gis``) has several new
features:
In Django 1.1, :doc:`GeoDjango </ref/contrib/gis/index>` (i.e.
``django.contrib.gis``) has several new features:

* Support for SpatiaLite_ -- a spatial database for SQLite -- as a spatial
backend.
Expand All @@ -363,7 +363,6 @@ features:

For more details, see the GeoDjango documentation.

.. _geodjango: http://geodjango.org/
.. _spatialite: https://www.gaia-gis.it/gaia-sins/

Other improvements
Expand Down
3 changes: 1 addition & 2 deletions docs/releases/1.2.txt
Expand Up @@ -370,8 +370,7 @@ The GDAL interface now allows the user to set a
when iterating over a :class:`~django.contrib.gis.gdal.Layer`.

Finally, :doc:`GeoDjango's documentation </ref/contrib/gis/index>` is now
included with Django's and is no longer
hosted separately at `geodjango.org <http://geodjango.org/>`_.
included with Django's and is no longer hosted separately at ``geodjango.org``.

.. _1.2-js-assisted-inlines:

Expand Down
8 changes: 4 additions & 4 deletions docs/releases/1.3.txt
Expand Up @@ -69,10 +69,10 @@ provided, along with a completely generic view base class that can be
used as the basis for reusable applications that can be easily
extended.

See :doc:`the documentation on class-based generic views</topics/class-based-views/index>`
for more details. There is also a document to help you `convert
your function-based generic views to class-based
views <https://docs.djangoproject.com/en/1.4/topics/generic-views-migration/>`_.
See :doc:`the documentation on class-based generic views
</topics/class-based-views/index>` for more details. There is also a document
to help you `convert your function-based generic views to class-based views
<https://raw.githubusercontent.com/django/django/ea9dc9f4b03ae034c1dc080730422dda7a9c2e47/docs/topics/generic-views-migration.txt>`_.

Logging
-------
Expand Down
2 changes: 1 addition & 1 deletion docs/releases/1.4.txt
Expand Up @@ -593,7 +593,7 @@ Django 1.4 also includes several smaller improvements worth noting:
* The :djadmin:`makemessages` command uses a new and more accurate lexer,
`JsLex`_, for extracting translatable strings from JavaScript files.

.. _JsLex: https://bitbucket.org/ned/jslex
.. _JsLex: https://pypi.org/project/jslex/

* The :ttag:`trans` template tag now takes an optional ``as`` argument to
be able to retrieve a translation string without displaying it but setting
Expand Down
2 changes: 1 addition & 1 deletion docs/topics/db/transactions.txt
Expand Up @@ -632,7 +632,7 @@ function in autocommit mode: statements will be executed and committed as soon
as they're called. If your MySQL setup *does* support transactions, Django
will handle transactions as explained in this document.

.. _information on MySQL transactions: https://dev.mysql.com/doc/refman/en/sql-syntax-transactions.html
.. _information on MySQL transactions: https://dev.mysql.com/doc/refman/en/sql-transactional-statements.html

Handling exceptions within PostgreSQL transactions
--------------------------------------------------
Expand Down

0 comments on commit 00f2365

Please sign in to comment.