Skip to content
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

unbreak doc build with Sphinx 6.2 #25760

Merged
merged 1 commit into from Apr 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions doc/sphinxext/missing_references.py
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