diff --git a/doc/conf.py b/doc/conf.py index 08e519a87ac..109d48c6ef6 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -46,6 +46,7 @@ extlinks = { "gmt-docs": ("https://docs.generic-mapping-tools.org/latest/%s", None), "gmt-term": ("https://docs.generic-mapping-tools.org/latest/gmt.conf#term-%s", ""), + "gmt-datasets": ("https://www.generic-mapping-tools.org/remote-datasets/%s", None), } # intersphinx configuration diff --git a/examples/tutorials/advanced/earth_relief.py b/examples/tutorials/advanced/earth_relief.py index 306a0c9f789..10d2ef72ead 100644 --- a/examples/tutorials/advanced/earth_relief.py +++ b/examples/tutorials/advanced/earth_relief.py @@ -13,7 +13,7 @@ ############################################################################### # Load sample Earth relief data for the entire globe at a resolution of 1 arc # degree. The other available resolutions are show -# at :gmt-docs:`datasets/remote-data.html#global-earth-relief-grids`. +# at :gmt-datasets:`earth-relief.html`. grid = pygmt.datasets.load_earth_relief(resolution="01d") ############################################################################### diff --git a/pygmt/datasets/earth_age.py b/pygmt/datasets/earth_age.py index 7c115f9545d..e7a895475d4 100644 --- a/pygmt/datasets/earth_age.py +++ b/pygmt/datasets/earth_age.py @@ -26,9 +26,7 @@ def load_earth_age(resolution="01d", region=None, registration=None): registration type (**p** for pixel registration or **g** for gridline registration). - Refer to - :gmt-docs:`datasets/remote-data.html#global-earth-seafloor-crustal-age-grids` - for more details. + Refer to :gmt-datasets:`earth_age.html` for more details. Parameters ---------- diff --git a/pygmt/datasets/earth_relief.py b/pygmt/datasets/earth_relief.py index 73c67273ade..b9bb2851db4 100644 --- a/pygmt/datasets/earth_relief.py +++ b/pygmt/datasets/earth_relief.py @@ -26,8 +26,7 @@ def load_earth_relief(resolution="01d", region=None, registration=None, use_srtm registration type (**p** for pixel registration or **g** for gridline registration). - Refer to :gmt-docs:`datasets/remote-data.html#global-earth-relief-grids` - for more details. + Refer to :gmt-datasets:`earth-relief.html` for more details. Parameters ----------