zuke.tools.docs
@zuke/docs 1.0.1: @zuke/docs — typed tasks that turn already-generated API documentation into agent-friendly artifacts, so neither humans nor agents have to guess an API.
zuke on PyPI ↗ 1 symbols
Symbols
class DocsTasks Typed tasks for generating and verifying API documentation.
-
static async api_docs(ctx: ServiceContext, docs: Sequence[Mapping[str, object]], options: Mapping[str, object] | None=None) -> objectFrom the supplied per-package docs, generate the index, the full reference, and (unless disabled) each package README's API block, writing only the files whose content changed. Returns the paths written.
-
static async check_api_docs(ctx: ServiceContext, docs: Sequence[Mapping[str, object]], options: Mapping[str, object] | None=None) -> objectRecompute every artifact and return the paths that are out of date on disk (empty when everything is current). Writes nothing.
-
static async check_doc_lint(ctx: ServiceContext, reports: Sequence[Mapping[str, object]]) -> objectClassify
deno doc --lintoutput across packages into real defects: everymissing-jsdoc, plus everyprivate-type-refwhose referenced type is not an accepted cross-package import (in the report'scrossPackageTypes). Fails safe — any other referenced type is treated as a first-party leak. Pure: the caller runs the linter; this classifies. Empty when clean.