GithubHelp home page GithubHelp logo

weizx208 / www.haskell.org Goto Github PK

View Code? Open in Web Editor NEW

This project forked from haskell-infra/www.haskell.org

0.0 2.0 0.0 443 KB

www.haskell.org site source

Home Page: http://haskell.org

License: BSD 3-Clause "New" or "Revised" License

CSS 52.74% Nix 0.98% HTML 19.51% JavaScript 25.96% Haskell 0.81%

www.haskell.org's Introduction

Haskell.org Website

This is the website for www.haskell.org built as a hakyll static site, which builds both as a nix derivation and a standalone cabal project. Issues with the site can be raised in this repository, and PRs can be made to change content. More general administrative issues with the site or related haskell.org infrastructure are better raised directly with the admin team on the #haskell-infrastructure channel on freenode, or at the admin@[LANGUAGE].org email address.

Cabal instructions

Just run cabal v2-build to build or cabal v2-run to run, and cabal v2-run -- build to actually build the site.

Nix instructions

This repo provides haskell.org as a nix derivation of a hakyll built static site. The default.nix file returns a set with two elements

  • builder (the hakyll binary which processes source into the static site)
  • built (the static site built by the builder, and ready to serve)

Developing

Simply run nix-shell. This will allow you to build the site binary which in turn builds the static site. You may also edit the content of the site in the shell.

Editing

You may install the site binary locally with nix-env -f . -iA builder. Once site is on your path you can edit content, and have the site served with site watch.

Building

To obtain the static site simply run nix-build -A built and the generated result link will contain the static site contents.

www.haskell.org's People

Contributors

gbaz avatar gwils avatar igormoreno avatar sadikkuzu avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.