diff --git a/.github/workflows/ci_docs.yml b/.github/workflows/ci_docs.yml index a07db2dfc1f..74951d365f2 100644 --- a/.github/workflows/ci_docs.yml +++ b/.github/workflows/ci_docs.yml @@ -113,7 +113,7 @@ jobs: sphinx-autodoc-typehints sphinx-copybutton sphinx-design - sphinx-gallery<0.17.0 + sphinx-gallery sphinx_rtd_theme # Download cached remote files (artifacts) from GitHub diff --git a/ci/requirements/docs.yml b/ci/requirements/docs.yml index ddbaa3e2e1e..b7381844b92 100644 --- a/ci/requirements/docs.yml +++ b/ci/requirements/docs.yml @@ -28,5 +28,5 @@ dependencies: - sphinx-autodoc-typehints - sphinx-copybutton - sphinx-design - - sphinx-gallery<0.17.0 + - sphinx-gallery - sphinx_rtd_theme diff --git a/doc/techref/index.md b/doc/techref/index.md index b152966773a..91b1e387fd8 100644 --- a/doc/techref/index.md +++ b/doc/techref/index.md @@ -8,5 +8,6 @@ visit the {gmt-docs}`GMT Technical Reference `. ```{toctree} :maxdepth: 1 +projections.rst encodings.md ``` diff --git a/examples/projections/table/README.txt b/doc/techref/projections.rst similarity index 99% rename from examples/projections/table/README.txt rename to doc/techref/projections.rst index 51bd837536c..0ee8eb2a8f1 100644 --- a/examples/projections/table/README.txt +++ b/doc/techref/projections.rst @@ -1,5 +1,5 @@ -Projection Table ----------------- +GMT Map Projections +------------------- The table below shows the projection codes for the 31 GMT projections: diff --git a/environment.yml b/environment.yml index 51120f7f48c..4e828dc34ef 100644 --- a/environment.yml +++ b/environment.yml @@ -40,7 +40,7 @@ dependencies: - sphinx-autodoc-typehints - sphinx-copybutton - sphinx-design - - sphinx-gallery<0.17.0 + - sphinx-gallery - sphinx_rtd_theme # Dev dependencies (type hints) - mypy diff --git a/examples/projections/README.txt b/examples/projections/README.txt index 594dc84a943..ceb7227f8e9 100644 --- a/examples/projections/README.txt +++ b/examples/projections/README.txt @@ -1,10 +1,11 @@ Projections =========== -PyGMT supports many map projections. Use the ``projection`` parameter to specify which -one you want to use in all plotting methods. The projection is specified by a one-letter -code along with (sometimes optional) reference longitude and latitude and the -width of the map (for example, **A**\ *lon0/lat0*\ [*/horizon*\ ]\ */width*). The map -height is determined based on the region and projection. +PyGMT supports many map projections; see :doc:`/techref/projections` for an overview. +Use the ``projection`` parameter to specify which one you want to use in all plotting +methods. The projection is specified by a one-letter code along with (sometimes optional) +reference longitude and latitude and the width of the map (for example, +**A**\ *lon0/lat0*\ [*/horizon*\ ]\ */width*). The map height is determined based on the +region and projection. These are all the available projections: