AtlatestRepositorysigil-site
sigil-site / treeREADME.md
1
# sigil-site3
Source for [usesigil.org](https://usesigil.org), built with [Press](https://codeberg.org/sigil/press).5
## Prerequisites7
You need a working [Sigil](https://codeberg.org/sigil/sigil) installation (0.9.1+). The Sigil monorepo must be cloned alongside this one for documentation source:9
```10
sigil/ # Sigil monorepo (docs, releases, API source)11
sigil-site/ # This repo12
```14
API documentation requires a built copy of Sigil's dev libraries:16
```bash17
cd ../sigil && sigil build && cd -18
```20
## Building22
```bash23
sigil deps install # Install dependencies (first time / after changes)24
./build.sh build # Build the site to public/25
./build.sh serve # Dev server with live reload26
```28
## Project structure30
```31
sigil-site/32
src/sigil-site/main.sgl # Site pipeline configuration33
site/ # SXML page templates (landing page, etc.)34
assets/repl/ # Interactive playground (TODO)35
package.sgl # Package definition and dependencies36
build.sh # Build orchestration script37
dev-redirects.sgl # Dependency redirects for local development38
```40
## Content sources42
All documentation lives in the sigil monorepo and is pulled in at build time:44
- `../sigil/docs/` -- Markdown documentation, published under `/docs/`45
- `../sigil/RELEASES.md` -- Release changelog46
- `../sigil/build/dev/lib/` -- Compiled libraries for API doc generation, published under `/docs/lib/`48
Page templates in `site/` are written in SXML (S-expression HTML).50
## Playground52
The interactive playground (Try It) is not yet integrated into this repo. It is built from the sigil-playground package in the sigil monorepo. The `assets/repl/` directory is a placeholder.