Parent: #609
Summary
Decide the technical approach for generated Zig API documentation before building a full pipeline.
Options To Evaluate
- Zig's built-in autodoc output.
- A custom
std.zig.Ast extractor.
- A hybrid approach where Zig/build output is post-processed for the docs site.
Acceptance Criteria
- Document the recommended approach and why.
- Identify what data the docs site needs: MDX, static HTML, JSON, or another artifact.
- Call out major risks, including cross-module references, generic types, comments attached to declarations, and Docusaurus compatibility.
- Recommend whether a custom
tools/docgen.zig is justified.
Parent: #609
Summary
Decide the technical approach for generated Zig API documentation before building a full pipeline.
Options To Evaluate
std.zig.Astextractor.Acceptance Criteria
tools/docgen.zigis justified.