From 9ddda31cd3a208411c642d8c081207718782f80c Mon Sep 17 00:00:00 2001 From: Matthew Pickering Date: Mon, 9 May 2022 14:05:00 +0100 Subject: docs: Fix path to GHC API docs in index.html In the make bindists we generate documentation in docs/ghc- 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 (cherry picked from commit 68d1ea5fe083e0b3ed114bbf02a642c7481ab5d7) --- .gitignore | 1 - configure.ac | 1 - docs/index.html | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ docs/index.html.in | 58 ------------------------------------------------------ 4 files changed, 58 insertions(+), 60 deletions(-) create mode 100644 docs/index.html delete mode 100644 docs/index.html.in 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 119a97e04f..72ee3fa558 100644 --- a/configure.ac +++ b/configure.ac @@ -1248,7 +1248,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 b/docs/index.html new file mode 100644 index 0000000000..a4b65dcf7c --- /dev/null +++ b/docs/index.html @@ -0,0 +1,58 @@ + + + + GHC Documentation + + + + +

GHC Documentation

+ +

+ Welcome to GHC! +

+ +

+ This is the top of the GHC documentation tree, where you will find + links to all the supplied documentation about GHC and its libraries. +

+ + + +

For more information, see the following:

+ + + + diff --git a/docs/index.html.in b/docs/index.html.in deleted file mode 100644 index d849e7e5e6..0000000000 --- a/docs/index.html.in +++ /dev/null @@ -1,58 +0,0 @@ - - - - GHC Documentation - - - - -

GHC Documentation

- -

- Welcome to GHC! -

- -

- This is the top of the GHC documentation tree, where you will find - links to all the supplied documentation about GHC and its libraries. -

- - - -

For more information, see the following:

- - - - -- cgit v1.2.1