This repo builds the FujiNet documentation site at http://tech.superk.org/fujinet-docs/index.html.
Install mdbook and mdbook-mermaid — grab the latest binaries for your platform and put them somewhere on your $PATH.
On macOS with Homebrew:
brew install mdbook
cargo install mdbook-mermaid
On Linux with cargo:
cargo install mdbook mdbook-mermaid
Run this once from the repo root to install the Mermaid JS files into src/:
mdbook-mermaid install
mdbook serve --open
This starts a local server at http://localhost:3000 and opens it in your browser. The book rebuilds automatically whenever you save a file.
- Fork this repository and create a branch for your changes.
- Add or edit Markdown files under
src/. The directory structure mirrors the sidebar. - If you add a new page, add a corresponding entry to
src/SUMMARY.md— that file controls the sidebar and build order. - Preview your changes locally with
mdbook serve --open. - Open a pull request against
main. The site deploys automatically on merge.
- Create a
.mdfile in the appropriate subdirectory undersrc/. - Add a line for it in
src/SUMMARY.mdat the right indentation level. - Link to it from any related pages where a cross-reference would help readers.