Skip to content

Commit 84d1499

Browse files
authored
Infra: only create peps.json at /api/peps.json (#4231)
Only create peps.json at /api/peps.json
1 parent 14ba26f commit 84d1499

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pep_sphinx_extensions/pep_zero_generator/pep_index_generator.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ def create_pep_json(peps: list[parser.PEP]) -> str:
5555
def write_peps_json(peps: list[parser.PEP], path: Path) -> None:
5656
# Create peps.json
5757
json_peps = create_pep_json(peps)
58-
Path(path, "peps.json").write_text(json_peps, encoding="utf-8")
5958
os.makedirs(os.path.join(path, "api"), exist_ok=True)
6059
Path(path, "api", "peps.json").write_text(json_peps, encoding="utf-8")
6160

0 commit comments

Comments
 (0)