summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-05-09 14:05:00 +0100
committerGHC GitLab CI <ghc-ci@gitlab-haskell.org>2022-05-09 14:30:38 +0100
commitc9e487e738978b487bc1263d3d7750c999b57d26 (patch)
tree68a10983e33d1b93140292f6327e12a791f5f978
parent67072c31d8b6ce4f0de79fa52bc3e5cdd5a495c6 (diff)
downloadhaskell-wip/index-html-link-hadrian.tar.gz
docs: Fix path to GHC API docs in index.htmlwip/index-html-link-hadrian
In the make bindists we generate documentation in docs/ghc-<VER> but the hadrian bindists generate docs/ghc/ so the path to the GHC API docs was wrong in the index.html file. Rather than make the hadrian and make bindists the same it was easier to assume that if you're using the mkDocs script that you're using hadrian bindists. Fixes #21509
-rw-r--r--.gitignore1
-rw-r--r--configure.ac1
-rw-r--r--docs/index.html (renamed from docs/index.html.in)2
3 files changed, 1 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index c4b8d5e7aa..3a92338b2e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -112,7 +112,6 @@ _darcs/
/distrib/configure.ac
/distrib/ghc.iss
/docs/man
-/docs/index.html
/docs/users_guide/.log
/docs/users_guide/users_guide
/docs/users_guide/ghc.1
diff --git a/configure.ac b/configure.ac
index 7f3c9a9d6d..6456721d2b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1222,7 +1222,6 @@ AC_CONFIG_FILES(
libraries/libiserv/libiserv.cabal
libraries/template-haskell/template-haskell.cabal
docs/users_guide/ghc_config.py
- docs/index.html
libraries/prologue.txt
distrib/configure.ac
])
diff --git a/docs/index.html.in b/docs/index.html
index d849e7e5e6..a4b65dcf7c 100644
--- a/docs/index.html.in
+++ b/docs/index.html
@@ -39,7 +39,7 @@
<LI>
<P>
- <B><A HREF="libraries/ghc-@ProjectVersionMunged@/index.html">GHC API</A></B>
+ <B><A HREF="libraries/ghc/index.html">GHC API</A></B>
</P>
<P>
Documentation for the GHC API.