Skip to content

Documentation for BHC - the Basel Haskell Compiler

Notifications You must be signed in to change notification settings

raskell-io/bhc.raskell.io-docs

Repository files navigation

bhc.raskell.io-docs

Documentation site for BHC — the Basel Haskell Compiler.

Live site: https://bhc.raskell.io/docs

Overview

This repository contains the documentation for BHC. Built with Zola using the brutalist-blueprint theme.

Development

Prerequisites

  • Zola (0.18+)
  • Or use mise to manage the environment:
    mise install

Local Development

# Start development server with live reload
zola serve

# Build for production
zola build

# Check for errors
zola check

The development server runs at http://127.0.0.1:1111 by default.

Project Structure

.
├── config.toml          # Zola configuration
├── content/
│   └── docs/            # Documentation pages
│       ├── profiles/    # Runtime profiles
│       └── targets/     # Compilation targets
├── static/              # Static assets
└── themes/
    └── brutalist-blueprint/  # Brutalist documentation theme
        ├── sass/             # SCSS stylesheets
        └── templates/        # HTML templates

Content Structure

  • Installation - Getting BHC installed
  • Quick Start - First steps with BHC
  • Compatibility - GHC compatibility information
  • Profiles - Runtime profiles (default, server, numeric, edge)
  • Targets - Compilation targets (native, WASM)

Adding Documentation

  1. Create a new .md file in the appropriate directory under content/docs/
  2. Add frontmatter with title, description, and weight (for ordering)
  3. Write content in Markdown

Example:

+++
title = "My New Page"
description = "Description of the page"
weight = 5
+++

Content goes here...

Deployment

The site is automatically deployed on push to the main branch.

License

MIT

About

Documentation for BHC - the Basel Haskell Compiler

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

  •  

Contributors 2

  •  
  •  

Languages