Skip to content

Fix Sphinx dev error linkcheck_allowed_redirects #2205

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

Closed
wants to merge 1 commit into from

Conversation

gabalafou
Copy link
Collaborator

Tests against the latest/dev Sphinx version have been seeing:

WARNING: The config value linkcheck_allowed_redirects' has type NoneType'; expected `dict'.

While this is probably a regression on Sphinx's end, this PR is also a reasonable change on our end because it makes sense to set the conf.py variable, linkcheck_allowed_redirects to an empty dictionary for our test sites.

Tests against the latest/dev Sphinx version have been seeing:

> WARNING: The config value `linkcheck_allowed_redirects' has type `NoneType'; expected `dict'.
@gabalafou
Copy link
Collaborator Author

Since this is a small PR, I'm just going to apply it to #2204 so we can see all of the CI checks turn green on a single PR.

@gabalafou gabalafou closed this May 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant