summaryrefslogtreecommitdiff
path: root/docs/index.html.in
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2023-03-22 16:14:29 +0000
committerBen Gamari <ben@smart-cactus.org>2023-05-16 07:56:09 -0400
commitf70b9c499594011d95657c8fb84ce6c29bb6aafa (patch)
tree5df17d0ce140c17238ef140976bb9d14348fed70 /docs/index.html.in
parent4532771a48e5b53af34521056ab2ad8e3acbee31 (diff)
downloadhaskell-f70b9c499594011d95657c8fb84ce6c29bb6aafa.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 (cherry picked from commit d7a768a415c3bd575a20b20ae9a3953aa5886ed7)
Diffstat (limited to 'docs/index.html.in')
-rw-r--r--docs/index.html.in58
1 files changed, 58 insertions, 0 deletions
diff --git a/docs/index.html.in b/docs/index.html.in
new file mode 100644
index 0000000000..19f3dc6ce3
--- /dev/null
+++ b/docs/index.html.in
@@ -0,0 +1,58 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<HTML>
+ <HEAD>
+ <TITLE>GHC Documentation</TITLE>
+ </HEAD>
+
+ <BODY>
+
+ <H1>GHC Documentation</H1>
+
+ <P>
+ Welcome to GHC!
+ </P>
+
+ <P>
+ This is the top of the GHC documentation tree, where you will find
+ links to all the supplied documentation about GHC and its libraries.
+ </P>
+
+ <UL>
+ <LI>
+ <P>
+ <B><A HREF="users_guide/index.html">The User's Guide</A></B>
+ </P>
+ <P>
+ The User's Guide has all you need to know about using GHC:
+ command line options, language extensions, GHCi, etc.
+ </P>
+ </LI>
+
+ <LI>
+ <P>
+ <B><A HREF="libraries/index.html">Libraries</A></B>
+ </P>
+ <P>
+ Documentation for the libraries that come with GHC.
+ </P>
+ </LI>
+
+ <LI>
+ <P>
+ <B><A HREF="libraries/ghc-@LIBRARY_ghc_VERSION@/index.html">GHC API</A></B>
+ </P>
+ <P>
+ Documentation for the GHC API.
+ </P>
+ </LI>
+ </UL>
+
+ <P>For more information, see the following:</P>
+ <UL>
+ <LI><P><A href="http://www.haskell.org/ghc/">GHC Home Page</A></P></LI>
+ <LI><P><A href="https://gitlab.haskell.org/ghc/ghc/wikis/">
+ GHC Developers Home</A></P></LI>
+ </UL>
+ </BODY>
+</HTML>
+