Skip to content

Commit e0ccb4a

Browse files
committed
Only create peps.json at /api/peps.json
1 parent 7c650b7 commit e0ccb4a

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)