Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/noteed/hadley
Hadley renders static pages for Haskell projects.
https://github.com/noteed/hadley
Last synced: about 2 months ago
JSON representation
Hadley renders static pages for Haskell projects.
- Host: GitHub
- URL: https://github.com/noteed/hadley
- Owner: noteed
- License: other
- Created: 2014-12-08T22:19:00.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2019-06-15T18:00:55.000Z (over 5 years ago)
- Last Synced: 2023-04-13T10:31:54.955Z (over 1 year ago)
- Language: Haskell
- Size: 28.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hadley
Hadley renders static pages for Haskell projects.
Hadley is in development and can only render itself. Current pages include:
- The README file rendered using Pandoc,
- The Haskell code,
- The output of HLint when run over Hadley's script,
- The Cabal file,
- Processes output (in particular `cabal build`).## Building
```
$ nix-build release.nix
```## Running
```
$ ./generate.sh
```The files are generated in the `_site/` directory.
## Docker images
Hadley itself and the build process use Docker images.
The build image context is `images/stack-pandoc`, which itself depends on
[Reesd stack image](https://github.com/noteed/reesd-stack). It can be built
with:> docker build -t images.reesd.com/reesd/stack-pandoc images/stack-pandoc
(Rename the image and the `FROM` instruction as appropriate.)
The Hadley image context is `images/hadley`. See the `run-image.sh` script to
see how to use it. To build the image, it is easier to use the provided
`Makefile` as some files must be generated and copied to the context.## TODO
- It seems I have uploaded the image at https://hub.docker.com/r/noteed/hadley/
two years ago and thus is not up-to-date.- `noteed/hadley` is `FROM stack-pandoc` and should be leaner.
## 80 columns
56789 123456789 123456789 123456789 123456789 123456789 123456789 1234567890