Skip to content

Commit

Permalink
sphinx ignore missing anchors during linkcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
niksirbi committed Nov 10, 2023
1 parent ea5b037 commit fc56690
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ myst-parser
nbsphinx
pydata-sphinx-theme
setuptools-scm
sphinx
sphinx>=7.1
sphinx-autodoc-typehints
8 changes: 7 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,18 @@
"**/includes/**",
]

# Don't check the anchors for the following URLs during linkcheck
linkcheck_anchors_ignore_for_url = [
"https://github.com/pypa/setuptools_scm/",
"https://gin.g-node.org/G-Node/Info/wiki/",
]

# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
html_theme = "pydata_sphinx_theme"
html_title = "wazp"

# Cutomize the theme
# Customize the theme
html_theme_options = {
"icon_links": [
{
Expand Down

0 comments on commit fc56690

Please sign in to comment.