Guides
Use and adapt kyna-docs
Use and adapt kyna-docs: Kyna language documentation site (Docusaurus)
Use the documented interfaces and source layout for kyna-docs. The sections below retain the README’s examples and configuration details.
Work locally
Requires Node.js 20 or newer.
npm install
npm startThe development server opens at http://localhost:3000 and reloads when a page
changes.
Verify a change
npm run build
npm run servenpm run build checks routes and produces the static site in build/.
Content structure
docs/
intro.mdx overview and learning paths
tutorial/ guided lessons
reference/ language behavior and APIs
stdlib/ standard-library modules
examples.mdx practical recipes
src/
pages/ landing page
components/ shared React components
css/ site theme and responsive layoutKeep tutorials task-focused and explain one concept at a time. Put precise
language behavior in reference/, and standard-library APIs in stdlib/.
Commands in the root manifest
The captured package.json declares the following scripts. Run them from the directory containing that manifest.
| Command | Script |
|---|---|
npm run start | docusaurus start |
npm run build | docusaurus build |
npm run serve | docusaurus serve |
Troubleshoot a local change
- Reproduce the smallest example from the quick-start guide.
- Compare required configuration and dependency versions with the README.
- Check the linked issue tracker for the same error. Include the command, runtime version, and relevant error when reporting a problem; omit credentials.
Source and help
Source captured: 2026-10-11
