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
Closed
Show file tree
Hide file tree
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
3 changes: 3 additions & 0 deletions tests/sites/base/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@

# Base options, we can add other key/vals later
html_sidebars = {"section1/index": ["sidebar-nav-bs.html"]}

# see https://github.com/sphinx-doc/sphinx/issues/13462
linkcheck_allowed_redirects = {}
3 changes: 3 additions & 0 deletions tests/sites/breadcrumbs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@
"secondary_sidebar_items": ["breadcrumbs"],
"article_header_start": ["breadcrumbs"],
}

# see https://github.com/sphinx-doc/sphinx/issues/13462
linkcheck_allowed_redirects = {}
3 changes: 3 additions & 0 deletions tests/sites/colors/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@
html_theme = "pydata_sphinx_theme"
html_copy_source = True
html_sourcelink_suffix = ""

# see https://github.com/sphinx-doc/sphinx/issues/13462
linkcheck_allowed_redirects = {}
3 changes: 3 additions & 0 deletions tests/sites/deprecated/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@
}

html_sidebars = {"section1/index": ["sidebar-nav-bs.html"]}

# see https://github.com/sphinx-doc/sphinx/issues/13462
linkcheck_allowed_redirects = {}
3 changes: 3 additions & 0 deletions tests/sites/sidebars/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@
html_sidebars = {
"section2/no-sidebar": [], # Turn off primary/left sidebar
}

# see https://github.com/sphinx-doc/sphinx/issues/13462
linkcheck_allowed_redirects = {}
3 changes: 3 additions & 0 deletions tests/sites/test_included_toc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@
# -- Options for HTML output -------------------------------------------------

html_theme = "pydata_sphinx_theme"

# see https://github.com/sphinx-doc/sphinx/issues/13462
linkcheck_allowed_redirects = {}
3 changes: 3 additions & 0 deletions tests/sites/test_navbar_no_in_page_headers/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@

html_copy_source = True
html_sourcelink_suffix = ""

# see https://github.com/sphinx-doc/sphinx/issues/13462
linkcheck_allowed_redirects = {}
3 changes: 3 additions & 0 deletions tests/sites/version_switcher/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@
},
"navbar_start": ["navbar-logo", "version-switcher"],
}

# see https://github.com/sphinx-doc/sphinx/issues/13462
linkcheck_allowed_redirects = {}
Loading