summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-05-09 14:05:00 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-05-10 20:49:15 -0400
commit68d1ea5fe083e0b3ed114bbf02a642c7481ab5d7 (patch)
treee2172a985b440fd8a541714047c421fcc7f899d9
parent21feece2f36e8c084ccd87579e48f2b03d5346d0 (diff)
downloadhaskell-68d1ea5fe083e0b3ed114bbf02a642c7481ab5d7.tar.gz
docs: Fix path to GHC API docs in index.html
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.