File tree Expand file tree Collapse file tree 4 files changed +8
-5
lines changed
Expand file tree Collapse file tree 4 files changed +8
-5
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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" ,
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ Documentation
153153updated daily.
154154
155155It 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
157157is primarily for documentation authors, translators, and people with special
158158formatting requirements.
159159
You can’t perform that action at this time.
0 commit comments