MoonDocKit is a MoonBit-first documentation site toolkit for package authors.
It turns package notes and guides into small static HTML documentation sites
with safe HTML escaping, stable anchors, navigation, and testable rendering
logic.
This repository is being developed for the 2026 MoonBit 国产基础软件开源大赛.
The project is intentionally scoped as an ecosystem tool rather than another
standalone Markdown parser: the long-term goal is to help MoonBit package
authors publish clear docs, examples, API guides, and release notes with a
simple MoonBit workflow.
MoonDocKit will grow into a practical documentation toolkit for the MoonBit
ecosystem:
Expand the block-level AST with inline nodes and source spans.
Add a CLI writer for static output manifests.
Generate search indexes.
Report validation diagnostics before publishing.
Support front matter for page title, order, tags, and layout.
Provide templates for package docs, tutorials, examples, and changelogs.
Expand theme presets for package, tutorial, and API reference sites.
Publish as a reusable package on mooncakes.io.
Competition Fit
The competition charter asks for projects that are real, reusable, testable,
maintainable, and valuable to the MoonBit open-source ecosystem. MoonDocKit
targets a common ecosystem gap: package authors need a simple way to turn
MoonBit project documentation into browsable static sites without leaving the
MoonBit toolchain.
MoonDocKit
MoonDocKit is a MoonBit-first documentation site toolkit for package authors. It turns package notes and guides into small static HTML documentation sites with safe HTML escaping, stable anchors, navigation, and testable rendering logic.
This repository is being developed for the 2026 MoonBit 国产基础软件开源大赛. The project is intentionally scoped as an ecosystem tool rather than another standalone Markdown parser: the long-term goal is to help MoonBit package authors publish clear docs, examples, API guides, and release notes with a simple MoonBit workflow.
Repository mirrors:
Current Features
cmd/main.Quick Start
The demo prints generated output files, summary metadata, and validation diagnostics for an in-memory documentation site.
Reviewer Path
For competition review, start with:
docs/final-submission.mddocs/acceptance-guide.mddocs/release.mddist-exampleCompetition Materials
docs/MoonDocKit-项目申报书-附录二模板版.pdfdocs/competition-plan.mddocs/acceptance-checklist.mddocs/acceptance-guide.mddocs/final-submission.mddocs/release.mddocs/mooncakes-publishing.mddocs/development-log.mddocs/benchmark-notes.mdexamples/sitedist-exampleProject Direction
MoonDocKit will grow into a practical documentation toolkit for the MoonBit ecosystem:
Competition Fit
The competition charter asks for projects that are real, reusable, testable, maintainable, and valuable to the MoonBit open-source ecosystem. MoonDocKit targets a common ecosystem gap: package authors need a simple way to turn MoonBit project documentation into browsable static sites without leaving the MoonBit toolchain.
License
Apache-2.0.