Infra: Fix topics links from pep-0000 (#3093)

This commit is contained in:
Roman Solomatin 2023-04-09 03:36:57 +05:00 committed by GitHub
parent d5bbcb9764
commit 67712e46d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ class PEPZeroWriter:
target = ( target = (
f"topic/{subindex}.html" f"topic/{subindex}.html"
if builder == "html" if builder == "html"
else f"topic/{subindex}" else f"../topic/{subindex}"
) )
self.emit_text(f"* `{subindex.title()} PEPs <{target}>`_") self.emit_text(f"* `{subindex.title()} PEPs <{target}>`_")
self.emit_newline() self.emit_newline()