Skip to content
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ tmp/
.DS_Store
*notes-from-review.md
*.idea*
*venv*
# Grammar / syntax checkers
styles/
# Exclude translation .mo files
Expand Down
4 changes: 4 additions & 0 deletions .lycheeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# List of links to ignore -- see https://lychee.cli.rs/recipes/excluding-links/
#
# All github.com links are excluded to avoid rate limiting
https://github.com/
12 changes: 12 additions & 0 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,17 @@
# myst complains about bibtex footnotes because of render order
suppress_warnings = ["myst.footnote"]

# -- Additional configuration for build process ------------------------------

# Use the default linkcheck ignore list
# https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-linkcheck_ignore
#
# This is a list of regular expressions that match URIs to ignore when
# doing linkcheck. Make sure to use raw strings (r"") for regexes. Also, any added
# item should also be included in the .lycheeignore file.
linkcheck_ignore = [
r"https://github.com/",
]

def _post_build(app: "Sphinx", exception: Exception | None) -> None:
rss.generate_tutorials_feed(app)
Expand All @@ -215,3 +226,4 @@ def setup(app: "Sphinx"):

# Parallel safety: https://www.sphinx-doc.org/en/master/extdev/index.html#extension-metadata
return {"parallel_read_safe": True, "parallel_write_safe": True}

Loading