This repository contains the source code for the primary GHC website.
Updating content
The site is generated using the Hakyll static-site
generator. Use cabal
to build the ghc-homepage
executable.
The website can be built using the ghc-homepage build
command.
The website can be previewed locally using ghc-homepage watch
. You can then run
./check.sh
to run linkcheck
on your local copy.
Since 7.10.2 we auto-generate the tarball links on the release download pages.
This requires metadata describing the files available from the download site
(e.g. downloads.haskell.org
) which is stored in files.index
. This file can
be updated using the gen-index
executable provided by this package, passing
the path to a local checkout of the downloads repository on the command line.
Deploying
Deployment occurs via the continuous integration job