diff --git a/.readthedocs.yaml b/.readthedocs.yaml index a95a327c..425cc33f 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -16,7 +16,7 @@ python: - method: pip path: . extra_requirements: - - python-casacore + - casacore # Configuration for Sphinx documentation sphinx: diff --git a/docs/source/conf.py b/docs/source/conf.py index a258e357..dbcf3f18 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -91,6 +91,11 @@ nitpicky = True +# Ignore nitpicky warnings related to Python built-ins and the like +# (https://stackoverflow.com/questions/11417221/sphinx-autodoc-gives-warning-pyclass-reference-target-not-found-type-warning) +# (https://bugs.python.org/issue11975) +nitpick_ignore = [("py:class", "optional")] + intersphinx_mapping = { "python": ("https://docs.python.org/3", None), "astropy": ("https://docs.astropy.org/en/stable", None),