aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Taves <mwtoews@gmail.com>2021-03-11 21:44:17 +1300
committerMike Taves <mwtoews@gmail.com>2021-03-11 23:26:43 +1300
commit0d90ce1834f08ea697a5844a7c06c4dcc0c18685 (patch)
treef14f93bdf9949a4a8115949481f0444a8ce74bba
parentacca99651325574f498bbb1b5c734c7414ce05c3 (diff)
downloadPROJ-0d90ce1834f08ea697a5844a7c06c4dcc0c18685.tar.gz
PROJ-0d90ce1834f08ea697a5844a7c06c4dcc0c18685.zip
Fix configuration for sphinxcontrib-bibtex version 2 or later (#2572)
-rw-r--r--.github/workflows/doc_build.yml2
-rw-r--r--docs/source/conf.py3
-rw-r--r--docs/source/operations/projections/utm.rst2
-rw-r--r--docs/source/operations/projections/webmerc.rst2
4 files changed, 7 insertions, 2 deletions
diff --git a/.github/workflows/doc_build.yml b/.github/workflows/doc_build.yml
index 52bf2b63..3d4e543d 100644
--- a/.github/workflows/doc_build.yml
+++ b/.github/workflows/doc_build.yml
@@ -48,6 +48,8 @@ jobs:
run: |
python3 --version
sphinx-build --version
+ python3 -m pip list --not-required --format=columns
+
- uses: actions/download-artifact@v2
name: Images
with:
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 2ddc9308..23b399f8 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -43,6 +43,9 @@ extensions = [
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
+# BibTeX configuration
+bibtex_bibfiles = ['references.bib']
+
# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
# source_suffix = ['.rst', '.md']
diff --git a/docs/source/operations/projections/utm.rst b/docs/source/operations/projections/utm.rst
index cbbda09d..6b957472 100644
--- a/docs/source/operations/projections/utm.rst
+++ b/docs/source/operations/projections/utm.rst
@@ -37,7 +37,7 @@ to which specific parameters, such as central meridians, have been applied.
The Earth is divided into 60 zones each generally 6° wide in longitude.
Bounding meridians are evenly divisible by 6°, and zones are
numbered from 1 to 60 proceeding east from the 180th meridian from Greenwich
-with minor exceptions [Snyder1987]_.
+with minor exceptions :cite:`Snyder1987`.
Usage
#####
diff --git a/docs/source/operations/projections/webmerc.rst b/docs/source/operations/projections/webmerc.rst
index 3a3d9a47..55199b24 100644
--- a/docs/source/operations/projections/webmerc.rst
+++ b/docs/source/operations/projections/webmerc.rst
@@ -64,7 +64,7 @@ Parameters
Mathematical definition
#######################
-The formulas describing the Mercator projection are all taken from G. Evenden's libproj manuals [Evenden2005]_.
+The formulas describing the Mercator projection are all taken from G. Evenden's libproj manuals :cite:`Evenden2005`.
Forward projection
==================