Skip to content

Commit

Permalink
Fix linkcheck (#6502)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevepiercy authored Nov 24, 2024
1 parent 17ab4b2 commit 2d47989
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
7 changes: 2 additions & 5 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,8 @@
# Ignore github.com pages with anchors
r"https://github.com/.*#.*",
# Ignore other specific anchors
# r"https://chromewebstore.google.com/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi", # TODO retest with latest Sphinx when upgrading theme. chromewebstore recently changed its URL and has "too many redirects".
# r"https://chromewebstore.google.com/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd", # TODO retest with latest Sphinx when upgrading theme. chromewebstore recently changed its URL and has "too many redirects".
r"https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors#Identifying_the_issue",
r"https://docs.cypress.io/guides/references/migration-guide#Migrating-to-Cypress-version-10-0",
# r"https://stackoverflow.com", # volto and documentation # TODO retest with latest Sphinx.
]
linkcheck_anchors = True
linkcheck_timeout = 5
Expand Down Expand Up @@ -180,15 +177,15 @@
"path_to_docs": "docs",
"repository_branch": "main",
"repository_url": "https://github.com/plone/volto",
"search_bar_text": "Search", # TODO: Confirm usage of search_bar_text in plone-sphinx-theme
"search_bar_text": "Search",
"use_edit_page_button": True,
"use_issues_button": True,
"use_repository_button": True,
}

# Announce that we have an opensearch plugin
# https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_use_opensearch
html_use_opensearch = "https://6.docs.plone.org" # TODO: Confirm usage of opensearch in theme
html_use_opensearch = "https://6.docs.plone.org"

# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
Expand Down
2 changes: 1 addition & 1 deletion packages/registry/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@

# Announce that we have an opensearch plugin
# https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_use_opensearch
html_use_opensearch = "https://plone-registry.readthedocs.io/" # TODO: Confirm usage of opensearch in theme
html_use_opensearch = "https://plone-registry.readthedocs.io"

# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
Expand Down
1 change: 1 addition & 0 deletions packages/registry/news/6502.documentation
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`html_use_opensearch` value must not have a trailing slash. Clean up comments. @stevepiercy
1 change: 1 addition & 0 deletions packages/volto/news/6502.documentation
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`html_use_opensearch` value must not have a trailing slash. Clean up comments. @stevepiercy

0 comments on commit 2d47989

Please sign in to comment.