Skip to content

Commit 5665f00

Browse files
committed
Cease building PDF documentation in releases
1 parent b217961 commit 5665f00

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

release.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -700,11 +700,15 @@ def build_docs() -> str:
700700
run_cmd([pip, "install", "-r", "Doc/requirements.txt"])
701701
sphinx_build = os.path.join(venv, "bin", "sphinx-build")
702702
blurb = os.path.join(venv, "bin", "blurb")
703+
docs_env = {
704+
**os.environ,
705+
"BLURB": blurb,
706+
"SPHINXBUILD": sphinx_build,
707+
"SPHINXOPTS": "-j10",
708+
}
703709
with pushd("Doc"):
704-
run_cmd(
705-
["make", "dist", "SPHINXBUILD=" + sphinx_build, "BLURB=" + blurb],
706-
env={**os.environ, "SPHINXOPTS": "-j10"},
707-
)
710+
run_cmd(("make", "dist-html"), env=docs_env)
711+
run_cmd(("make", "dist-no-html"), env=docs_env)
708712
return os.path.abspath("dist")
709713

710714

0 commit comments

Comments
 (0)