Documentation
¶
Overview ¶
Package main implements docsgen: a small CLI that generates reference documentation (CLI flags, HTTP API, environment variables, configuration) for the Authplane authserver by inspecting the source tree.
This binary is intentionally a shell. The per-generator logic ships in subsequent tickets; each subcommand currently writes a stub file with the canonical "generated-by" header plus a TODO body so that make docs-check semantics work end-to-end immediately.
Directories
¶
| Path | Synopsis |
|---|---|
|
openapi.go — generate OpenAPI 3 YAML for the public + admin servers from the same handler/DTO AST walk that produces docs/reference/http-api.md.
|
openapi.go — generate OpenAPI 3 YAML for the public + admin servers from the same handler/DTO AST walk that produces docs/reference/http-api.md. |
|
internal
|
|
|
configast
Package configast provides an AST-driven model of the authserver's configuration package.
|
Package configast provides an AST-driven model of the authserver's configuration package. |
|
mdwriter
Package mdwriter contains small, pure helpers for building Markdown fragments: tables, fenced code blocks, anchors and sections.
|
Package mdwriter contains small, pure helpers for building Markdown fragments: tables, fenced code blocks, anchors and sections. |
|
srcref
Package srcref formats AST positions as repo-relative "file:line" references suitable for embedding in generated reference docs.
|
Package srcref formats AST positions as repo-relative "file:line" references suitable for embedding in generated reference docs. |
Click to show internal directories.
Click to hide internal directories.