Skip to content

Add API-doc site, format gate, recipe.yaml, bench - #3

Merged
conorbronsdon merged 2 commits into
mainfrom
ehsan-quick-wins
Jul 8, 2026
Merged

Add API-doc site, format gate, recipe.yaml, bench#3
conorbronsdon merged 2 commits into
mainfrom
ehsan-quick-wins

Conversation

@conorbronsdon

Copy link
Copy Markdown
Owner

Rolls the quick-win templates proven on mojo-xml and mojo-feed across this repo:

  • Canonical format commit: mojo format output committed as its own commit (touches the generated tables.mojo too — formatting only, conformance still 20034/20034).
  • Format gate in CI: test workflow now fails if sources aren't mojo format-clean (pixi run fmt to fix locally).
  • API-doc site: docs/render_api.py + docs.yaml workflow render mojo doc JSON to a static HTML API reference (pixi run docs locally).
  • recipe.yaml: rattler-build recipe distributing the pure-Mojo source tree with a runtime mojo pin (same rationale as mojo-xml's recipe — no .mojopkg ABI lock-in).
  • bench/: bench_normalize.mojo decodes the vendored NormalizationTest corpus into real Unicode text and reports MB/s for NFC/NFD/NFKC/NFKD (pixi run bench, local-only, not in CI).
  • Capitalized the package docstring summary so mojo doc emits no warnings.

Verified locally: unit tests 24/24, conformance 20034/20034, docs render, bench compiles and runs, format-gate simulation passes.

🤖 Generated with Claude Code

@conorbronsdon
conorbronsdon merged commit c61efd9 into main Jul 8, 2026
1 check passed
@conorbronsdon
conorbronsdon deleted the ehsan-quick-wins branch July 8, 2026 03:49
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.

1 participant