Skip to content

Commit 466d334

Browse files
committed
move doc index link and point to All
1 parent 5e7a033 commit 466d334

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Distribution/Server/Pages/Package.hs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -313,13 +313,13 @@ moduleSection render mdocIndex docURL quickNav =
313313
, renderModuleForest docURL s ]
314314
else []) ++
315315
(if not (null m)
316-
then [ h2 << "Modules"
317-
, renderModuleForest docURL m ]
318-
else []) ++
319-
[renderDocIndexLink]
316+
then [ h2 << "Modules"] ++
317+
[renderDocIndexLink] ++
318+
[renderModuleForest docURL m ]
319+
else [])
320320
renderDocIndexLink
321321
| isJust mdocIndex =
322-
let docIndexURL = docURL </> "doc-index.html"
322+
let docIndexURL = docURL </> "doc-index-All.html"
323323
in paragraph ! [thestyle "font-size: small"]
324324
<< ("[" +++ anchor ! [href docIndexURL] << "Index" +++ "]" +++
325325
(if quickNav

0 commit comments

Comments
 (0)