summaryrefslogtreecommitdiff
path: root/hadrian/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'hadrian/README.md')
-rw-r--r--hadrian/README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/hadrian/README.md b/hadrian/README.md
index 6db6073551..1a3335d535 100644
--- a/hadrian/README.md
+++ b/hadrian/README.md
@@ -268,6 +268,9 @@ To build all GHC documentation, run `build docs`. This includes
In order to only build haddock document there is the `build docs-haddock` target.
+In order to build the haddock documentation for just one package use the `docs:<pkg>` command,
+for example `docs:base` will just build the documentation for `base`.
+
Alternatively,
you can use the `--docs` CLI flag to selectively disable some or
all of the documentation targets: