Skip to content

Commit e890738

Browse files
authored
DOC: Improve link to the GMT documentation (#3944)
1 parent 55ae6d9 commit e890738

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+59
-59
lines changed

pygmt/src/basemap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def basemap(self, **kwargs):
3636
At least one of the parameters ``frame``, ``map_scale``, ``rose``, or
3737
``compass`` must be specified if not in subplot mode.
3838
39-
Full option list at :gmt-docs:`basemap.html`
39+
Full GMT docs at :gmt-docs:`basemap.html`.
4040
4141
{aliases}
4242

pygmt/src/binstats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def binstats(
3939
presented as is or may be normalized by the circle area to
4040
perhaps give density estimates.
4141
42-
Full option list at :gmt-docs:`gmtbinstats.html`
42+
Full GMT docs at :gmt-docs:`gmtbinstats.html`.
4343
4444
{aliases}
4545

pygmt/src/blockm.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def blockmean(
108108
109109
Must provide either ``data`` or ``x``, ``y``, and ``z``.
110110
111-
Full option list at :gmt-docs:`blockmean.html`
111+
Full GMT docs at :gmt-docs:`blockmean.html`.
112112
113113
{aliases}
114114
@@ -212,7 +212,7 @@ def blockmedian(
212212
213213
Must provide either ``data`` or ``x``, ``y``, and ``z``.
214214
215-
Full option list at :gmt-docs:`blockmedian.html`
215+
Full GMT docs at :gmt-docs:`blockmedian.html`.
216216
217217
{aliases}
218218
@@ -310,7 +310,7 @@ def blockmode(
310310
311311
Must provide either ``data`` or ``x``, ``y``, and ``z``.
312312
313-
Full option list at :gmt-docs:`blockmode.html`
313+
Full GMT docs at :gmt-docs:`blockmode.html`.
314314
315315
{aliases}
316316

pygmt/src/coast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def coast(self, **kwargs):
5555
5656
A map projection must be supplied.
5757
58-
Full option list at :gmt-docs:`coast.html`
58+
Full GMT docs at :gmt-docs:`coast.html`.
5959
6060
{aliases}
6161

pygmt/src/colorbar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def colorbar(self, **kwargs):
4242
linear scale, all be equal size, or by providing a file with individual
4343
tile widths.
4444
45-
Full option list at :gmt-docs:`colorbar.html`
45+
Full GMT docs at :gmt-docs:`colorbar.html`.
4646
4747
{aliases}
4848

pygmt/src/contour.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def contour(
4949
5050
Must provide either ``data`` or ``x``, ``y``, and ``z``.
5151
52-
Full option list at :gmt-docs:`contour.html`
52+
Full GMT docs at :gmt-docs:`contour.html`.
5353
5454
{aliases}
5555

pygmt/src/dimfilter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def dimfilter(
4343
Thus, an additional filtering (e.g., Gaussian via :func:`pygmt.grdfilter`)
4444
of the DiM-filtered data is generally recommended.
4545
46-
Full option list at :gmt-docs:`dimfilter.html`
46+
Full GMT docs at :gmt-docs:`dimfilter.html`.
4747
4848
{aliases}
4949

pygmt/src/filter1d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def filter1d(
4040
Read a table and output as a :class:`numpy.ndarray`,
4141
:class:`pandas.DataFrame`, or ASCII file.
4242
43-
Full option list at :gmt-docs:`filter1d.html`
43+
Full GMT docs at :gmt-docs:`filter1d.html`.
4444
4545
{aliases}
4646

pygmt/src/grd2cpt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def grd2cpt(grid: PathLike | xr.DataArray, **kwargs):
7575
:gmt-docs:`gmt.conf <gmt.conf>` file or the ``color_model`` parameter
7676
will be used.
7777
78-
Full option list at :gmt-docs:`grd2cpt.html`
78+
Full GMT docs at :gmt-docs:`grd2cpt.html`.
7979
8080
{aliases}
8181

pygmt/src/grd2xyz.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def grd2xyz(
4848
Read a grid and output xyz-triplets as a :class:`numpy.ndarray`,
4949
:class:`pandas.DataFrame`, or ASCII file.
5050
51-
Full option list at :gmt-docs:`grd2xyz.html`
51+
Full GMT docs at :gmt-docs:`grd2xyz.html`.
5252
5353
{aliases}
5454

pygmt/src/grdclip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def grdclip(
135135
values is required, or for reclassification of data values. The values can be any
136136
number or NaN (Not a Number).
137137
138-
Full option list at :gmt-docs:`grdclip.html`
138+
Full GMT docs at :gmt-docs:`grdclip.html`.
139139
140140
{aliases}
141141

pygmt/src/grdcontour.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def grdcontour(self, grid: PathLike | xr.DataArray, **kwargs):
4444
4545
Takes a grid file name or an :class:`xarray.DataArray` object as input.
4646
47-
Full option list at :gmt-docs:`grdcontour.html`
47+
Full GMT docs at :gmt-docs:`grdcontour.html`.
4848
4949
{aliases}
5050

pygmt/src/grdcut.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def grdcut(
4848
to determine the corresponding rectangular ``region`` that will give a grid
4949
that fully covers the oblique domain.
5050
51-
Full option list at :gmt-docs:`grdcut.html`
51+
Full GMT docs at :gmt-docs:`grdcut.html`.
5252
5353
{aliases}
5454

pygmt/src/grdfill.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def grdfill(
131131
replace the hole values. If no holes are found the original unchanged grid is
132132
returned.
133133
134-
Full option list at :gmt-docs:`grdfill.html`.
134+
Full GMT docs at :gmt-docs:`grdfill.html`.
135135
136136
{aliases}
137137

pygmt/src/grdfilter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def grdfilter(
3838
half-width of the input edges. If the filter is low-pass, then the output
3939
may be less frequently sampled than the input.
4040
41-
Full option list at :gmt-docs:`grdfilter.html`
41+
Full GMT docs at :gmt-docs:`grdfilter.html`.
4242
4343
{aliases}
4444

pygmt/src/grdgradient.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def grdgradient(
4040
Can accept ``azimuth``, ``direction``, and ``radiance`` input to create
4141
the resulting gradient.
4242
43-
Full option list at :gmt-docs:`grdgradient.html`
43+
Full GMT docs at :gmt-docs:`grdgradient.html`.
4444
4545
{aliases}
4646

pygmt/src/grdhisteq.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def equalize_grid(
7575
the ``grid``, but the values are changed to reflect their place in the
7676
cumulative distribution.
7777
78-
Full option list at :gmt-docs:`grdhisteq.html`
78+
Full GMT docs at :gmt-docs:`grdhisteq.html`.
7979
8080
{aliases}
8181
@@ -168,7 +168,7 @@ def compute_bins(
168168
image with :meth:`pygmt.Figure.grdimage` that has all levels of gray
169169
occurring equally.
170170
171-
Full option list at :gmt-docs:`grdhisteq.html`
171+
Full GMT docs at :gmt-docs:`grdhisteq.html`.
172172
173173
{aliases}
174174

pygmt/src/grdimage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def grdimage(self, grid: PathLike | xr.DataArray, **kwargs):
7070
The ``region`` parameter can be used to select a map region larger or
7171
smaller than that implied by the extent of the grid.
7272
73-
Full option list at :gmt-docs:`grdimage.html`
73+
Full GMT docs at :gmt-docs:`grdimage.html`.
7474
7575
{aliases}
7676

pygmt/src/grdinfo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def grdinfo(grid: PathLike | xr.DataArray, **kwargs) -> str:
3434
3535
Can read the grid from a file or given as an :class:`xarray.DataArray` grid.
3636
37-
Full option list at :gmt-docs:`grdinfo.html`
37+
Full GMT docs at :gmt-docs:`grdinfo.html`.
3838
3939
{aliases}
4040

pygmt/src/grdlandmask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def grdlandmask(outgrid: PathLike | None = None, **kwargs) -> xr.DataArray | Non
3434
water, or (2) the more detailed (hierarchical) ocean vs land vs lake vs island vs
3535
pond. A mask grid is created with the specified grid spacing.
3636
37-
Full option list at :gmt-docs:`grdlandmask.html`
37+
Full GMT docs at :gmt-docs:`grdlandmask.html`.
3838
3939
{aliases}
4040

pygmt/src/grdproject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def grdproject(
4747
set to NaN. The ``region`` parameter can be used to select a map region
4848
large or smaller than that implied by the extent of the grid file.
4949
50-
Full option list at :gmt-docs:`grdproject.html`
50+
Full GMT docs at :gmt-docs:`grdproject.html`.
5151
5252
{aliases}
5353

pygmt/src/grdsample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def grdsample(
4141
``translate`` can be used to change the grid registration. When omitted,
4242
the output grid will have the same registration as the input grid.
4343
44-
Full option list at :gmt-docs:`grdsample.html`
44+
Full GMT docs at :gmt-docs:`grdsample.html`.
4545
4646
{aliases}
4747

pygmt/src/grdtrack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def grdtrack(
7474
derivative normal to edge is zero) unless the grid is automatically
7575
recognized as periodic.)
7676
77-
Full option list at :gmt-docs:`grdtrack.html`
77+
Full GMT docs at :gmt-docs:`grdtrack.html`.
7878
7979
{aliases}
8080

pygmt/src/grdview.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def grdview(self, grid: PathLike | xr.DataArray, **kwargs):
4343
set on top of a surface, plotting of contours on top of the surface, and apply
4444
artificial illumination based on intensities provided in a separate grid file.
4545
46-
Full option list at :gmt-docs:`grdview.html`
46+
Full GMT docs at :gmt-docs:`grdview.html`.
4747
4848
{aliases}
4949

pygmt/src/grdvolume.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def grdvolume(
4343
(volume/area). Alternatively, a range of contours can be specified to
4444
return the volume and area inside the contour for all contour values.
4545
46-
Full option list at :gmt-docs:`grdvolume.html`
46+
Full GMT docs at :gmt-docs:`grdvolume.html`.
4747
4848
{aliases}
4949

pygmt/src/histogram.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def histogram(self, data: PathLike | TableLike, **kwargs):
4444
r"""
4545
Calculate and plot histograms.
4646
47-
Full option list at :gmt-docs:`histogram.html`
47+
Full GMT docs at :gmt-docs:`histogram.html`.
4848
4949
{aliases}
5050

pygmt/src/image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def image(self, imagefile: PathLike, **kwargs):
2828
Reads an Encapsulated PostScript file or a raster image file and plots
2929
it on a map.
3030
31-
Full option list at :gmt-docs:`image.html`
31+
Full GMT docs at :gmt-docs:`image.html`.
3232
3333
{aliases}
3434

pygmt/src/info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def info(data: PathLike | TableLike, **kwargs) -> np.ndarray | str:
4343
parameter ``nearest_multiple`` will provide a :class:`numpy.ndarray` in the form
4444
of [*zmin*, *zmax*, *dz*] for makecpt.
4545
46-
Full option list at :gmt-docs:`gmtinfo.html`
46+
Full GMT docs at :gmt-docs:`gmtinfo.html`.
4747
4848
{aliases}
4949

pygmt/src/inset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def inset(self, **kwargs):
3030
inside of the larger figure. Plotting methods that are called within the
3131
context manager are added to the inset figure.
3232
33-
Full option list at :gmt-docs:`inset.html`
33+
Full GMT docs at :gmt-docs:`inset.html`.
3434
3535
{aliases}
3636

pygmt/src/legend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def legend(
4545
noted, annotations will be made using the primary annotation font and
4646
size in effect (i.e., :gmt-term:`FONT_ANNOT_PRIMARY`).
4747
48-
Full option list at :gmt-docs:`legend.html`
48+
Full GMT docs at :gmt-docs:`legend.html`.
4949
5050
{aliases}
5151

pygmt/src/logo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def logo(self, **kwargs):
2727
Use various options to change this and to place a transparent or
2828
opaque rectangular map panel behind the GMT logo.
2929
30-
Full option list at :gmt-docs:`gmtlogo.html`.
30+
Full GMT docs at :gmt-docs:`gmtlogo.html`.
3131
3232
{aliases}
3333

pygmt/src/makecpt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def makecpt(**kwargs):
6464
master CPT, the :gmt-term:`COLOR_MODEL` specified in the
6565
:gmt-docs:`gmt.conf <gmt.conf>` file will be used.
6666
67-
Full option list at :gmt-docs:`makecpt.html`
67+
Full GMT docs at :gmt-docs:`makecpt.html`.
6868
6969
{aliases}
7070

pygmt/src/meca.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def meca( # noqa: PLR0913
194194
- | values in :math:`10 ^ {{exponent}}` dyn cm;
195195
| azimuths and plunges in degrees
196196
197-
Full option list at :gmt-docs:`supplements/seis/meca.html`
197+
Full GMT docs at :gmt-docs:`supplements/seis/meca.html`.
198198
199199
{aliases}
200200

pygmt/src/nearneighbor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def nearneighbor(
7272
7373
Must provide either ``data`` or ``x``, ``y``, and ``z``.
7474
75-
Full option list at :gmt-docs:`nearneighbor.html`
75+
Full GMT docs at :gmt-docs:`nearneighbor.html`.
7676
7777
{aliases}
7878

pygmt/src/plot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def plot( # noqa: PLR0912
8383
polygon outline is drawn or not. If a symbol is selected, ``fill`` and
8484
``pen`` determine the fill and outline/no outline, respectively.
8585
86-
Full option list at :gmt-docs:`plot.html`
86+
Full GMT docs at :gmt-docs:`plot.html`.
8787
8888
{aliases}
8989

pygmt/src/plot3d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def plot3d( # noqa: PLR0912
8585
polygon outline is drawn or not. If a symbol is selected, ``fill`` and
8686
``pen`` determine the fill and outline/no outline, respectively.
8787
88-
Full option list at :gmt-docs:`plot3d.html`
88+
Full GMT docs at :gmt-docs:`plot3d.html`.
8989
9090
{aliases}
9191

pygmt/src/project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def project(
107107
back-azimuths or azimuths are better done using :gmt-docs:`mapproject` as
108108
project is strictly spherical.
109109
110-
Full option list at :gmt-docs:`project.html`
110+
Full GMT docs at :gmt-docs:`project.html`.
111111
112112
{aliases}
113113

pygmt/src/psconvert.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def psconvert(self, **kwargs):
3434
(see :class:`pygmt.Figure`). In this case, an output name must be given
3535
using parameter ``prefix``.
3636
37-
Full option list at :gmt-docs:`psconvert.html`
37+
Full GMT docs at :gmt-docs:`psconvert.html`.
3838
3939
{aliases}
4040

pygmt/src/rose.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def rose(
5959
of the windrose is drawn with the same color as
6060
:gmt-term:`MAP_DEFAULT_PEN`.
6161
62-
Full option list at :gmt-docs:`rose.html`
62+
Full GMT docs at :gmt-docs:`rose.html`.
6363
6464
{aliases}
6565

pygmt/src/select.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def select(
7070
The sense of the tests can be reversed for each of these 7 criteria by
7171
using the ``reverse`` parameter.
7272
73-
Full option list at :gmt-docs:`gmtselect.html`
73+
Full GMT docs at :gmt-docs:`gmtselect.html`.
7474
7575
{aliases}
7676

pygmt/src/solar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def solar(
3737
This function plots the day-night terminator. Alternatively, it can plot the
3838
terminators for civil twilight, nautical twilight, or astronomical twilight.
3939
40-
Full option list at :gmt-docs:`solar.html`
40+
Full GMT docs at :gmt-docs:`solar.html`.
4141
4242
{aliases}
4343

0 commit comments

Comments
 (0)