Skip to content

Commit c09dd4e

Browse files
committed
Hugo's review
1 parent cbabea7 commit c09dd4e

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

.github/workflows/build-release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,10 @@ jobs:
169169
- name: "Build docs"
170170
run: |
171171
cd Doc
172-
SPHINXOPTS="-j10" make dist
172+
SPHINXOPTS="-j10" make dist-epub
173+
SPHINXOPTS="-j10" make dist-html
174+
SPHINXOPTS="-j10" make dist-texinfo
175+
SPHINXOPTS="-j10" make dist-text
173176
174177
- name: "Upload the docs artifacts"
175178
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2

release.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,8 +707,10 @@ def build_docs() -> str:
707707
"SPHINXOPTS": "-j10",
708708
}
709709
with pushd("Doc"):
710+
run_cmd(("make", "dist-epub"), env=docs_env)
710711
run_cmd(("make", "dist-html"), env=docs_env)
711-
run_cmd(("make", "dist-no-html"), env=docs_env)
712+
run_cmd(("make", "dist-texinfo"), env=docs_env)
713+
run_cmd(("make", "dist-text"), env=docs_env)
712714
return os.path.abspath("dist")
713715

714716

run_release.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -604,8 +604,6 @@ def wait_for_build_release(db: ReleaseShelf) -> None:
604604
docs_path / f"python-{release_tag}-docs.epub",
605605
docs_path / f"python-{release_tag}-docs-html.tar.bz2",
606606
docs_path / f"python-{release_tag}-docs-html.zip",
607-
docs_path / f"python-{release_tag}-docs-pdf-a4.tar.bz2",
608-
docs_path / f"python-{release_tag}-docs-pdf-a4.zip",
609607
docs_path / f"python-{release_tag}-docs-texinfo.tar.bz2",
610608
docs_path / f"python-{release_tag}-docs-texinfo.zip",
611609
docs_path / f"python-{release_tag}-docs-text.tar.bz2",

tests/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ Documentation
153153
updated daily.
154154

155155
It can also be downloaded in many formats for faster access. The documentation
156-
is downloadable in HTML, PDF, and reStructuredText formats; the latter version
156+
is downloadable in HTML, EPUB, and reStructuredText formats; the latter version
157157
is primarily for documentation authors, translators, and people with special
158158
formatting requirements.
159159

0 commit comments

Comments
 (0)