diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2023-03-22 16:14:29 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2023-04-14 04:18:28 -0400 |
commit | d7a768a415c3bd575a20b20ae9a3953aa5886ed7 (patch) | |
tree | 88a8f7c0d1c91bf7446ac44858a59e796a9678f6 /docs/index.html.in | |
parent | a34aa8da1293f997ce9212ccdc2ec56df4a2e9c1 (diff) | |
download | haskell-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/index.html.in')
-rw-r--r-- | docs/index.html.in | 58 |
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> + |