wry-docs/README.md
2026-06-06 23:08:48 -04:00

30 lines
735 B
Markdown

# Wry Docs
Static documentation site for the generated Wry TOML configuration specs.
Generated docs live under `src/content/docs/` and copied raw specs live under
`public/spec/`. They are intentionally ignored and recreated by
`pnpm run sync:specs`.
## Local development
The generator reads Wry specs from `../wry` by default. Override that with
`WRY_REPO_PATH` when needed.
```shell
nix develop
pnpm install
WRY_REPO_PATH=/home/koss/git/wry pnpm run dev
```
## Release build
```shell
WRY_REPO_PATH=/home/koss/git/wry pnpm run build
TAG=v0.0.0-test pnpm run release:pack
```
The release assets are written to `dist/release/`.
Forgejo Actions builds the same bundle on `v*` tags and uploads it to the
matching Forgejo release.