Source for the cicd-sensor documentation site.
This repository owns the mdbook configuration, theme, and deployment
pipeline. The markdown content itself lives in the
main repository under
docs/ and is pulled in at build time.
Prerequisites: mdbook and mdbook-mermaid on PATH
(cargo install mdbook mdbook-mermaid).
Clone both repositories as siblings:
git clone https://github.com/cicd-sensor/cicd-sensor.git
git clone https://github.com/cicd-sensor/cicd-sensor.github.io.gitThen from this repository:
./serve.shmdbook serve opens http://127.0.0.1:3000 with live reload on changes to:
../cicd-sensor/docs/(markdown content from the main repo)./theme/(site theme owned by this repo)
Override the default sibling path with SRC=path/to/docs ./serve.sh.
Pushes to main and repository_dispatch events from the main repository
trigger .github/workflows/deploy.yml, which checks out both repositories,
runs mdbook build, and deploys the rendered book to GitHub Pages.
