Infra: Include trailing slash in RSS URLs to avoid 301 redirect (#2474)
This commit is contained in:
parent
9c6f5dd440
commit
a0351c087f
1
Makefile
1
Makefile
|
@ -32,6 +32,7 @@ venv:
|
|||
echo "To recreate it, remove it first with \`make clean-venv'."; \
|
||||
else \
|
||||
$(PYTHON) -m venv $(VENVDIR); \
|
||||
$(VENVDIR)/bin/python3 -m pip install -U pip wheel; \
|
||||
$(VENVDIR)/bin/python3 -m pip install -r requirements.txt; \
|
||||
echo "The venv has been created in the $(VENVDIR) directory"; \
|
||||
fi
|
||||
|
|
|
@ -167,7 +167,7 @@ def main():
|
|||
joined_authors = ", ".join(f"{name} ({email_address})" for name, email_address in parsed_authors)
|
||||
else:
|
||||
joined_authors = author
|
||||
url = f"https://peps.python.org/pep-{pep_num:0>4}"
|
||||
url = f"https://peps.python.org/pep-{pep_num:0>4}/"
|
||||
|
||||
item = entry.FeedEntry()
|
||||
item.title(f"PEP {pep_num}: {title}")
|
||||
|
|
Loading…
Reference in New Issue