mirror of
https://github.com/alexandrev/xslt-lab.git
synced 2026-09-20 12:33:14 +00:00
22 lines
1.2 KiB
Markdown
22 lines
1.2 KiB
Markdown
# xslt-lab
|
||
|
||
This repository hosts the Helm chart for the XSLT playground and now includes a Hugo-powered site for docs and updates.
|
||
|
||
## Layout
|
||
- `index.yaml` – Helm repository index (served as-is via GitHub Pages with `.nojekyll`).
|
||
- `xslt-playground-0.1.2.tgz` – packaged Helm chart referenced from `index.yaml`.
|
||
- `site/` – Hugo source (content, layouts, CSS). Publishes to `docs/`.
|
||
- `docs/` – will contain generated static files after running Hugo; commit this folder if you want GitHub Pages to serve the site.
|
||
|
||
## Hugo workflow
|
||
1. Install Hugo (extended) locally, e.g. `brew install hugo` on macOS.
|
||
2. Build the static site to `docs/` without touching chart assets:\
|
||
`hugo --source site --minify`
|
||
3. Copy chart artifacts into `docs/` so GitHub Pages can serve them:\
|
||
`cp index.yaml docs/index.yaml && cp xslt-playground-0.1.2.tgz docs/`
|
||
4. Preview locally with live reload:\
|
||
`hugo server --source site --buildDrafts --watch`
|
||
5. Commit the generated `docs/` folder and push to GitHub. Point GitHub Pages at the `docs` directory so the site appears at `https://alexandrev.github.io/xslt-lab/`.
|
||
|
||
Content is written in Markdown under `site/content/`; layouts and styling live in `site/layouts/` and `site/static/`.
|