8000 Backport PR #25760 on branch v3.7.x (unbreak doc build with Sphinx 6.2) by meeseeksmachine · Pull Request #25761 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Backport PR #25760 on branch v3.7.x (unbreak doc build with Sphinx 6.2) #25761

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions doc/sphinxext/missing_references.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,10 @@ def prepare_missing_references_handler(app):
# for use later. Otherwise, add all known missing references to
# ``nitpick_ignore```
if not app.config.missing_references_write_json:
# Since Sphinx v6.2, nitpick_ignore may be a list, set or tuple, and
# defaults to set. Previously it was always a list. Cast to list for
# consistency across versions.
app.config.nitpick_ignore = list(app.config.nitpick_ignore)
app.config.nitpick_ignore.extend(ignored_references.keys())


Expand Down
0