summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2023-03-22 16:14:29 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2023-04-14 04:18:28 -0400
commitd7a768a415c3bd575a20b20ae9a3953aa5886ed7 (patch)
tree88a8f7c0d1c91bf7446ac44858a59e796a9678f6 /docs
parenta34aa8da1293f997ce9212ccdc2ec56df4a2e9c1 (diff)
downloadhaskell-d7a768a415c3bd575a20b20ae9a3953aa5886ed7.tar.gz
docs: Generate docs/index.html with version number
* Generate docs/index.html to include the version of the ghc library * This also fixes the packageVersions interpolations which were - Missing an interpolation for `LIBRARY_ghc_VERSION` - Double quoting the version so that "9.7" was being inserted. Fixes #23121
Diffstat (limited to 'docs')
-rw-r--r--docs/index.html.in (renamed from docs/index.html)2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/index.html b/docs/index.html.in
index a4b65dcf7c..19f3dc6ce3 100644
--- a/docs/index.html
+++ b/docs/index.html.in
@@ -39,7 +39,7 @@
<LI>
<P>
- <B><A HREF="libraries/ghc/index.html">GHC API</A></B>
+ <B><A HREF="libraries/ghc-@LIBRARY_ghc_VERSION@/index.html">GHC API</A></B>
</P>
<P>
Documentation for the GHC API.