Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / homepage
465 commits behind the upstream repository.
Ben Gamari's avatar
Ben Gamari authored
aa311bed
History
Name Last commit Last update
blog
images
partials
templates
.gitignore
.gitlab-ci.yml
GenIndex.hs
LICENSE
LICENSE.txt
README.md
Setup.hs
Types.hs
check.sh
contributors.shtml
default.nix
distribution_packages.mkd
download.shtml
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_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_snapshot.shtml
faq_404.shtml
faq_406.shtml
faq_408.shtml
faq_500.shtml
faq_502.shtml
files.index
ghc-download.css
ghc-homepage.cabal
ghc.css
index.shtml
license.shtml
main.hs
nixpkgs.nix

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-website executable.

The website can be built using the ghc-website build command.

The website cna be previewed locally using ghc-website 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

First build the website with,

$ ghc-website build

The resulting content will be in _site/. This can be rsync'd to webhost.haskell.org (using sftpfs since webhost.haskell.org only offers SFTP).