Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Infra: Move from /peps.rss to /api/peps.json
  • Loading branch information
hugovk committed Mar 29, 2022
commit 089826a689d0f8b362ccaabba48d4b328f325b81
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,6 @@ def create_pep_zero(app: Sphinx, env: BuildEnvironment, docnames: list[str]) ->

# Create peps.json
pep0_json = create_pep_json(peps)
Path(app.outdir, "peps.json").write_text(pep0_json, encoding="utf-8")
out_dir = Path(app.outdir) / "api"
out_dir.mkdir(exist_ok=True)
Path(out_dir, "peps.json").write_text(pep0_json, encoding="utf-8")