Documentation
Garyon uses DocFX for API reference generation and Markdown-based guides.
What Lives Under docs/
docfx.jsoncontains the DocFX configuration.toc.ymldefines the site navigation.guides/contains the user guides.build-docs.ps1andbuild-docs.shbuild the site locally.api/and_site/are generated by DocFX.
Build Locally
From the repository root:
.\docs\build-docs.ps1
.\docs\build-docs.ps1 -Serve
chmod +x docs/build-docs.sh
./docs/build-docs.sh
./docs/build-docs.sh --serve
Manual DocFX commands from the repository root:
docfx docs/docfx.json
docfx docs/docfx.json --serve
docfx metadata docs/docfx.json
docfx build docs/docfx.json
Structure
docs/
├── docfx.json
├── toc.yml
├── index.md
├── QUICK_REFERENCE.md
├── DOCUMENTATION.md
├── README.md
├── build-docs.ps1
├── build-docs.sh
├── guides/
│ ├── toc.yml
│ ├── index.md
│ └── *.md
├── api/
└── _site/
Contributing
- Add or update XML documentation for public APIs.
- Add or update the matching guide in
docs/guides/. - Register the guide in
docs/guides/toc.yml. - Run
docfx docs/docfx.jsonbefore committing.
Deployment
The GitHub Actions workflow at .github/workflows/docs.yml builds the site from docs/docfx.json and publishes the generated output.