From b3b4fb50ca45657d235db3aeeef280f5d803b3c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20M=C3=BCller?= Date: Sun, 7 Apr 2024 23:18:30 +0200 Subject: [PATCH] Doc: fix ref issues --- .gitignore | 1 + src/gstools/field/base.py | 2 +- src/gstools/transform/field.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 872d3f40..bcdc980b 100644 --- a/.gitignore +++ b/.gitignore @@ -117,6 +117,7 @@ src/gstools/_version.py # generated docs docs/source/examples/ docs/source/api/ +docs/source/sg_execution_times.rst # other settings .vscode/ diff --git a/src/gstools/field/base.py b/src/gstools/field/base.py index bb514141..b0e5efeb 100755 --- a/src/gstools/field/base.py +++ b/src/gstools/field/base.py @@ -362,7 +362,7 @@ def transform( ---------- method : :class:`str` Method to use. - See :any:`gstools.transform` for available transformations. + See :py:mod:`gstools.transform` for available transformations. field : :class:`str`, optional Name of field to be transformed. The default is "field". store : :class:`str` or :class:`bool`, optional diff --git a/src/gstools/transform/field.py b/src/gstools/transform/field.py index 5d204407..110232f6 100644 --- a/src/gstools/transform/field.py +++ b/src/gstools/transform/field.py @@ -111,7 +111,7 @@ def apply(fld, method, field="field", store=True, process=False, **kwargs): Field class containing a generated field. method : :class:`str` Method to use. - See :any:`gstools.transform` for available transformations. + See :py:mod:`gstools.transform` for available transformations. field : :class:`str`, optional Name of field to be transformed. The default is "field". store : :class:`str` or :class:`bool`, optional