Skip to content

Commit

Permalink
PEP 594: Re-link removed batteries to last included version (#3778)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed May 25, 2024
1 parent 0f45dbd commit b14f4e7
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 78 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ dirhtml: html

## linkcheck to check validity of links within PEP sources
.PHONY: linkcheck
check-links: BUILDER = linkcheck
check-links: html
linkcheck: BUILDER = linkcheck
linkcheck: html

## check-links (deprecated: use 'make linkcheck' alias instead)
.PHONY: pages
Expand Down
9 changes: 9 additions & 0 deletions peps/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
# Add any Sphinx extension module names here, as strings.
extensions = [
"pep_sphinx_extensions",
"sphinx.ext.extlinks",
"sphinx.ext.intersphinx",
"sphinx.ext.githubpages",
]
Expand Down Expand Up @@ -59,6 +60,14 @@
}
intersphinx_disabled_reftypes = []

# sphinx.ext.extlinks
# This config is a dictionary of external sites,
# mapping unique short aliases to a base URL and a prefix.
# https://www.sphinx-doc.org/en/master/usage/extensions/extlinks.html
extlinks = {
"pypi": ("https://pypi.org/project/%s/", "%s"),
}

# -- Options for HTML output -------------------------------------------------

_PSE_PATH = _ROOT / "pep_sphinx_extensions"
Expand Down
Loading

0 comments on commit b14f4e7

Please sign in to comment.