Skip to content

Docs Phase 1: Decide generated API docs strategy #610

Description

@MichaelFisher1997

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationstale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions