summaryrefslogtreecommitdiff
path: root/hadrian/src/Rules/Documentation.hs
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-06-23 18:11:00 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-07-17 22:30:32 -0400
commita10584e8df9b346cecf700b23187044742ce0b35 (patch)
treebe1a327b84ee87a7f29c87a92fcc8eec8f2d20cd /hadrian/src/Rules/Documentation.hs
parent028f081e4e748794d7a0e6359987ec799c3dc404 (diff)
downloadhaskell-a10584e8df9b346cecf700b23187044742ce0b35.tar.gz
hadrian: Rename documentation directories for consistency with make
* Rename `docs` to `doc` * Place pdf documentation in `doc/` instead of `doc/pdfs/` Fixes #21164.
Diffstat (limited to 'hadrian/src/Rules/Documentation.hs')
-rw-r--r--hadrian/src/Rules/Documentation.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/hadrian/src/Rules/Documentation.hs b/hadrian/src/Rules/Documentation.hs
index 0e72c064c3..aff2f38c63 100644
--- a/hadrian/src/Rules/Documentation.hs
+++ b/hadrian/src/Rules/Documentation.hs
@@ -26,13 +26,13 @@ import qualified Data.Set as Set
import qualified Text.Parsec as Parsec
docRoot :: FilePath
-docRoot = "docs"
+docRoot = "doc"
htmlRoot :: FilePath
htmlRoot = docRoot -/- "html"
pdfRoot :: FilePath
-pdfRoot = docRoot -/- "pdfs"
+pdfRoot = docRoot
infoRoot :: FilePath
infoRoot = docRoot -/- "info"