Skip to content

Commit ff246c6

Browse files
Move projection table to Technical References (#3356)
1 parent ecaab8f commit ff246c6

File tree

6 files changed

+12
-10
lines changed

6 files changed

+12
-10
lines changed

.github/workflows/ci_docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113
sphinx-autodoc-typehints
114114
sphinx-copybutton
115115
sphinx-design
116-
sphinx-gallery<0.17.0
116+
sphinx-gallery
117117
sphinx_rtd_theme
118118
119119
# Download cached remote files (artifacts) from GitHub

ci/requirements/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ dependencies:
2828
- sphinx-autodoc-typehints
2929
- sphinx-copybutton
3030
- sphinx-design
31-
- sphinx-gallery<0.17.0
31+
- sphinx-gallery
3232
- sphinx_rtd_theme

doc/techref/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ visit the {gmt-docs}`GMT Technical Reference <reference.html>`.
88
```{toctree}
99
:maxdepth: 1
1010
11+
projections.rst
1112
encodings.md
1213
```

examples/projections/table/README.txt renamed to doc/techref/projections.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Projection Table
2-
----------------
1+
GMT Map Projections
2+
-------------------
33

44
The table below shows the projection codes for the 31 GMT projections:
55

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ dependencies:
4040
- sphinx-autodoc-typehints
4141
- sphinx-copybutton
4242
- sphinx-design
43-
- sphinx-gallery<0.17.0
43+
- sphinx-gallery
4444
- sphinx_rtd_theme
4545
# Dev dependencies (type hints)
4646
- mypy

examples/projections/README.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
Projections
22
===========
33

4-
PyGMT supports many map projections. Use the ``projection`` parameter to specify which
5-
one you want to use in all plotting methods. The projection is specified by a one-letter
6-
code along with (sometimes optional) reference longitude and latitude and the
7-
width of the map (for example, **A**\ *lon0/lat0*\ [*/horizon*\ ]\ */width*). The map
8-
height is determined based on the region and projection.
4+
PyGMT supports many map projections; see :doc:`/techref/projections` for an overview.
5+
Use the ``projection`` parameter to specify which one you want to use in all plotting
6+
methods. The projection is specified by a one-letter code along with (sometimes optional)
7+
reference longitude and latitude and the width of the map (for example,
8+
**A**\ *lon0/lat0*\ [*/horizon*\ ]\ */width*). The map height is determined based on the
9+
region and projection.
910

1011
These are all the available projections:

0 commit comments

Comments
 (0)