Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / homepage
6 commits behind the upstream repository.
Name Last commit Last update
blog
css
downloads-indices
images
partials
templates
.gitignore
.gitlab-ci.yml
GenIndex.hs
LICENSE
LICENSE.txt
README.md
Setup.hs
Types.hs
check.sh
contributors.shtml
disclosures.mkd
distribution_packages.mkd
download_ghc_029.shtml
download_ghc_210.shtml
download_ghc_302.shtml
download_ghc_402.shtml
download_ghc_404.shtml
download_ghc_406.shtml
download_ghc_408.shtml
download_ghc_500.shtml
download_ghc_502.shtml
download_ghc_504.shtml
download_ghc_5041.shtml
download_ghc_5042.shtml
download_ghc_5043.shtml
download_ghc_600.shtml
download_ghc_601.shtml
download_ghc_62.shtml
download_ghc_621.shtml
download_ghc_622.shtml
download_ghc_64.shtml
download_ghc_641.shtml
download_ghc_642.shtml
download_ghc_66.shtml
download_ghc_661.shtml
download_ghc_681.shtml
download_ghc_682.shtml
download_ghc_683.shtml
download_ghc_6_10_1.shtml
download_ghc_6_10_2.shtml
download_ghc_6_10_3.shtml
download_ghc_6_10_4.shtml
download_ghc_6_12_1.shtml
download_ghc_6_12_2.shtml
download_ghc_6_12_3.shtml
download_ghc_7_0_1.shtml
download_ghc_7_0_2.shtml
download_ghc_7_0_3.shtml
download_ghc_7_0_4.shtml
download_ghc_7_10_1.shtml
download_ghc_7_10_2.shtml
download_ghc_7_10_3.shtml
download_ghc_7_2_1.shtml
download_ghc_7_2_2.shtml
download_ghc_7_4_1.shtml
download_ghc_7_4_2.shtml
download_ghc_7_6_1.shtml
download_ghc_7_6_2.shtml
download_ghc_7_6_3.shtml
download_ghc_7_8_1.shtml
download_ghc_7_8_2.shtml
download_ghc_7_8_3.shtml
download_ghc_7_8_4.shtml
download_ghc_8_0_1.shtml
download_ghc_8_0_2.shtml
download_ghc_8_10_1.shtml
download_ghc_8_10_2.shtml
download_ghc_8_10_3.shtml
download_ghc_8_10_4.shtml
download_ghc_8_10_5.shtml
download_ghc_8_10_6.shtml
download_ghc_8_10_7.shtml
download_ghc_8_2_1.shtml
download_ghc_8_2_2.shtml
download_ghc_8_4_1.shtml
download_ghc_8_4_2.shtml
download_ghc_8_4_3.shtml
download_ghc_8_4_4.shtml
download_ghc_8_6_1.shtml
download_ghc_8_6_2.shtml
download_ghc_8_6_3.shtml
download_ghc_8_6_4.shtml
download_ghc_8_6_5.shtml
download_ghc_8_8_1.shtml
download_ghc_8_8_2.shtml
download_ghc_8_8_3.shtml
download_ghc_8_8_4.shtml
download_ghc_9_0_1.shtml
download_ghc_9_0_2.shtml
download_ghc_9_10_1.shtml
download_ghc_9_12_1.shtml
download_ghc_9_12_2.shtml
download_ghc_9_2_1.shtml
download_ghc_9_2_2.shtml

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 are stored in the downloads-indices directory. There is one such file for each release; these files 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.

The tarballs described by the metadata files can be referenced in downloads pages using the $tarballs syntax (e.g. see here).

Nix

This project can be built with Nix. E.g. to run ghc-homepage watch in a Nix environment, execute:

nix run -f . -c ghc-homepage watch

Deploying

Deployment occurs via the continuous integration job