Skip to content

Docs Phase 4: Establish Zig API doc-comment standards #613

@MichaelFisher1997

Description

@MichaelFisher1997

Parent: #609

Summary

Define documentation comment conventions so generated API docs are useful and consistent.

Areas To Cover

  • //! module-level summaries.
  • /// comments for public structs, enums, functions, constants, and handles.
  • What public APIs need examples versus short summaries.
  • How to document ownership, allocator requirements, thread-safety, GPU/resource lifetime, and coordinate-system assumptions.

Acceptance Criteria

  • Add or update contributor-facing guidance for API doc comments.
  • Identify high-priority modules with missing or weak public API docs.
  • Keep the standard lightweight enough that it does not block normal engine development.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions