Skip to content

Commit

Permalink
Add commend about RTD's build script
Browse files Browse the repository at this point in the history
Signed-off-by: Cristian Le <[email protected]>
  • Loading branch information
LecrisUT committed May 5, 2024
1 parent 0126eff commit f177f43
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ python = ["3.9", "3.11", "3.12"]
dependencies = ["tmt[docs]"]

[tool.hatch.envs.docs.scripts]
# Note that in RTD there are a few additional flags (from RTD's default build
# script) e.g. -E, -d, and -D .These should not affect generated documentation
# files below, but it may be providing additional metadata for RTD to index
html = "sphinx-build -b html {root}/docs {root}/docs/_build {args}"
man = [
"cp {root}/docs/header.txt {root}/man.rst",
Expand Down

0 comments on commit f177f43

Please sign in to comment.