philpax / futhark-website

Git repository containing the Futhark website.

Home Page:https://futhark-lang.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The Futhark Website

The website is built with Hakyll, which is a Haskell library for generating static sites. The actual content is written in the ReStructured Text and Markdown formats.

Building with Nix

This is much faster than using Cabal.

Use sh watch.sh to run a local test of the site.

Use sh deploy.sh to push it to the web server.

Building with Cabal

Install futhark-website package first:

cabal install futhark-website.cabal

To build the website:

cabal exec futhark-website build

You can preview with:

cabal exec futhark-website watch

When you are ready to deploy to futhark-lang.org, run:

cabal exec futhark-website deploy

This requires rsync installed locally and your public SSH key added to the remote server. You can also just push to the Git repository, where a GitHub Actions job will then take care of building and deploying to the server.

About

Git repository containing the Futhark website.

https://futhark-lang.org

License:Other


Languages

Language:Futhark 46.8%Language:TeX 15.2%Language:CSS 7.4%Language:Haskell 7.0%Language:Makefile 6.5%Language:Cuda 5.6%Language:C 3.7%Language:Shell 2.2%Language:HTML 1.9%Language:Python 1.9%Language:C++ 1.0%Language:Gnuplot 0.5%Language:Nix 0.4%