Skip to content

Commit

Permalink
Doc: Fix duplicate substitution error
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaston committed Aug 27, 2024
1 parent 39c5df5 commit 348f1ad
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 18 deletions.
2 changes: 0 additions & 2 deletions doc/source/about_no_title.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: ./substitutions.rst

GDAL is a translator library for raster and vector geospatial data formats that is released under an MIT style Open Source :ref:`license` by the `Open Source Geospatial Foundation`_. As a library, it presents a single raster abstract data model and single vector abstract data model to the calling application for all supported formats. It also comes with a variety of useful command line utilities for data translation and processing. The `NEWS`_ page describes the April 2024 GDAL/OGR 3.8.5 release.

.. only:: html
Expand Down
6 changes: 5 additions & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ["programs/options/*.rst", "api/python/modules.rst"]
exclude_patterns = [
"substitutions.rst",
"programs/options/*.rst",
"api/python/modules.rst",
]

# Prevents double hyphen (--) to be replaced by Unicode long dash character
# Cf https://stackoverflow.com/questions/15258831/how-to-handle-two-dashes-in-rest
Expand Down
2 changes: 0 additions & 2 deletions doc/source/development/building_from_source.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: ../substitutions.rst

.. _building_from_source:

================================================================================
Expand Down
2 changes: 0 additions & 2 deletions doc/source/development/dev_documentation.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: ../substitutions.rst

.. _dev_documentation:

================================================================================
Expand Down
2 changes: 0 additions & 2 deletions doc/source/development/dev_environment.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: ../substitutions.rst

.. _dev_environment:

================================================================================
Expand Down
2 changes: 0 additions & 2 deletions doc/source/development/dev_practices.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
Development practices
================================================================================

.. include:: ../substitutions.rst

Making changes to GDAL
----------------------

Expand Down
2 changes: 0 additions & 2 deletions doc/source/development/testing.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
.. _testing:

.. include:: ../substitutions.rst

================================================================================
Automated testing
================================================================================
Expand Down
4 changes: 1 addition & 3 deletions doc/source/license.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@
License
================================================================================

.. include:: ./substitutions.rst

License
--------------------------------------------------------------------------------

In general GDAL/OGR is licensed under an MIT style license with the
In general GDAL/OGR is licensed under an MIT style license with the
following terms:

Permission is hereby granted, free of charge, to any person obtaining a
Expand Down
2 changes: 0 additions & 2 deletions doc/source/user/vector_data_model.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. include:: ../substitutions.rst

.. _vector_data_model:

================================================================================
Expand Down

0 comments on commit 348f1ad

Please sign in to comment.