diff options
author | 2023-08-28 21:51:09 +0100 | |
---|---|---|
committer | 2023-08-28 21:51:09 +0100 | |
commit | 1309de6a1ea513763336fac1f12e1991b2510477 (patch) | |
tree | 12de82edeb9da3cb71e95c890a49539a3db483a6 /docs/conf.py | |
parent | Merge pull request #190 from python-discord/wait_until_bot_started (diff) | |
parent | Lint repo with new ruff rules (diff) |
Merge pull request #192 from python-discord/Bump-d.pyv10.2.0
Bump d.py to 2.3.2
Diffstat (limited to 'docs/conf.py')
-rw-r--r-- | docs/conf.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/conf.py b/docs/conf.py index 683f9e51..b06300a3 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -155,14 +155,15 @@ def setup(app: Sphinx) -> None: app.add_role("breaking", releases.issues_role) -ignored_modules = [ +ignored_targets = [ "async_rediscache", + "pydantic.main.BaseModel" ] # 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. +# This is a workaround for modules/classes that do not have docs that can be linked out to. nitpick_ignore_regex = [ - ("py:.*", "|".join([f".*{entry}.*" for entry in ignored_modules])), + ("py:.*", "|".join([f".*{entry}.*" for entry in ignored_targets])), ] # -- Extension configuration ------------------------------------------------- |