Skip to content

docs(site): add @memhtml/eval to the API tier - #166

Merged
laithalsaadoon merged 1 commit into
mainfrom
docs/typedoc-eval
Sep 9, 2026
Merged

laithalsaadoon merged 1 commit into
mainfrom
docs/typedoc-eval

Conversation

@laithalsaadoon

Copy link
Copy Markdown
Contributor

Third slice of the generated API tier, per the plan in #158: @memhtml/eval joins @memhtml/contracts and @memhtml/traces at /api/eval/.

What changes

  • apps/docs/astro.config.ts: one more starlightTypeDoc instance, output: "api/eval", one entry point (packages/eval/src/index.ts, the package's single import path), the same options as the two instances above it so the three packages' pages read alike, and one more sidebar group under API.
  • packages/eval/README.md: new. It opens the generated page (mergeReadme), so it starts without an h1 (Starlight renders the frontmatter title) and closes with a module table that says which of the six modules each exported symbol comes from.
  • apps/docs/src/content/docs/api/index.md: one row in the coverage table.

No test, runtime, script, or workflow file changes. api/eval/ is a build output and already gitignored by the api/*/ rule.

Measured

  • typedoc CLI over the entry point: exit 0, one warning: AccessSpec (packages/eval/src/corpus.ts) is referenced by CorpusSpec.access but not exported from index.ts, so the page names it without a link. Exporting it is a source change and is left for the maintainer; the config comment records the warning.
  • Brace probe (mdxExpressions over every generated page under api/): 0 hits.
  • astro build: exit 0 in 20s; api/eval/index.md is one page of 1970 lines, and the built HTML has one h1.
  • test:a11y and test:budget with /api/eval/ TEMPORARILY added to AUDITED_PAGES and lighthouserc.json, then restored (the PR does not touch either): a11y 33/33 across five audited pages; Lighthouse 5 URLs x 3 runs, every assertion passed.
  • mise run check on the branch: exit 0, 64/64 tasks, 2m58s.

docs: prefix, so no release is cut.

Third slice of the generated reference, after contracts (#158) and traces (#164): one more starlightTypeDoc instance writing api/eval/ from the package's single import path, a package README that opens the generated page and maps each exported symbol to its module, a row in the tier index, and a sidebar group.

Measured on the branch: typedoc CLI exit 0 with one warning (AccessSpec referenced by CorpusSpec.access but not exported from index.ts, recorded in the config comment and left to the source), brace probe 0 hits over api/, astro build exit 0, a11y 33/33 and Lighthouse 5 URLs x 3 runs green with /api/eval/ temporarily in the gate lists and then restored, mise run check 64/64.
Copilot AI lite review requested due to automatic review settings September 9, 2026 07:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The changes are limited to documentation generation config and authored docs content, and the new @memhtml/eval API tier addition is consistent with the existing contracts/traces setup.

Pull request overview

Adds @memhtml/eval as the next package in the generated API documentation tier, publishing its TypeDoc output under /api/eval/ alongside the existing /api/contracts/ and /api/traces/ pages.

Changes:

  • Configure a new starlightTypeDoc run for @memhtml/eval that generates docs into api/eval.
  • Add a packages/eval/README.md used as the merged overview content for the generated API page.
  • Extend the API tier authored index to include @memhtml/eval in the coverage table.
File summaries
File Description
packages/eval/README.md Adds the merged README content that becomes the overview for the generated /api/eval/ page, including a module summary table.
apps/docs/src/content/docs/api/index.md Adds @memhtml/eval to the API coverage table with a link to /api/eval/.
apps/docs/astro.config.ts Adds a starlightTypeDoc instance outputting to api/eval and includes @memhtml/eval in the sidebar API group.
Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@laithalsaadoon
laithalsaadoon merged commit 64224a9 into main Sep 9, 2026
12 checks passed
@laithalsaadoon
laithalsaadoon deleted the docs/typedoc-eval branch September 9, 2026 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants