diff options
Diffstat (limited to 'docs/conf.py')
-rw-r--r-- | docs/conf.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py index 855a5856..8cbf5352 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -107,6 +107,16 @@ def setup(app: Sphinx) -> None: app.connect("autodoc-skip-member", skip) +ignored_modules = [ + "async_rediscache", +] + +# nitpick raises warnings as errors. This regex tells nitpick to ignore any warnings that match this regex. +# This is a workaround for modules that do not have docs that can be linked out to. +nitpick_ignore_regex = [ + ("py:.*", "|".join([f".*{entry}.*" for entry in ignored_modules])), +] + # -- Extension configuration ------------------------------------------------- # -- Options for todo extension ---------------------------------------------- @@ -132,6 +142,7 @@ intersphinx_mapping = { "python": ("https://docs.python.org/3", None), "discord": ("https://discordpy.readthedocs.io/en/master/", None), "aiohttp": ("https://docs.aiohttp.org/en/stable/", None), + "statsd": ("https://statsd.readthedocs.io/en/v3.3/", ("_static/statsd_additional_objects.inv", None)), } |