summaryrefslogtreecommitdiff
path: root/hadrian/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'hadrian/README.md')
-rw-r--r--hadrian/README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/hadrian/README.md b/hadrian/README.md
index 1a3335d535..d132ee0326 100644
--- a/hadrian/README.md
+++ b/hadrian/README.md
@@ -285,6 +285,10 @@ all of the documentation targets:
You can pass several `--docs=...` flags, Hadrian will combine
their effects.
+To build haddock documentation for upload to hackage you need to pass the `--haddock-base-url` flag,
+by default this will choose a url suitable for uploading to hackage but you might also want to pass something like
+`http://127.0.0.1:8080/package/%pkg%/docs` for testing upload locally on a local hackage server.
+
#### Source distribution
To build a GHC source distribution tarball, run `build source-dist`.