Skip to content

Developer Guide

If you are using previous release of Stencil for some reason, you can generate documentation for that release by following these steps:

  • Install Material for MkDocs on your platform.

  • Download and extract Source code (zip) for your target release at Stencil Repo

  • Now, cd into your release directory and run: mkdocs serve

Generate Code Documentation

To generate Zig's API documentation, navigate to your project directory and run:

zig build-lib -femit-docs=docs/zig-docs src/root.zig

Now, clean up any unwanted generated files and make sure to link zig-docs/index.html to your reference.md file.