No description
  • CSS 74.1%
  • MDX 11.6%
  • JavaScript 10.2%
  • Astro 3.1%
  • TypeScript 1%
Find a file
Markus Maiwald 323d0c3dc8
All checks were successful
Deploy docs.janus-lang.org / Build & Deploy (push) Successful in 1m8s
docs(release): v2026.3.31 release notes — Law 10, match overhaul
2026-03-31 05:02:26 +02:00
.forgejo/workflows ci: fix runner label to node-20 for Forgejo Actions 2026-03-16 12:16:50 +01:00
public feat: initial janus-docs Starlight site 2026-03-08 12:09:03 +01:00
src docs(release): v2026.3.31 release notes — Law 10, match overhaul 2026-03-31 05:02:26 +02:00
.gitignore feat: initial janus-docs Starlight site 2026-03-08 12:09:03 +01:00
astro.config.mjs docs: add extensive :service concurrency documentation 2026-03-23 23:25:50 +01:00
package-lock.json feat: initial janus-docs Starlight site 2026-03-08 12:09:03 +01:00
package.json feat: initial janus-docs Starlight site 2026-03-08 12:09:03 +01:00
README.md docs: replace template README with project README 2026-03-08 12:39:24 +01:00
tsconfig.json feat: initial janus-docs Starlight site 2026-03-08 12:09:03 +01:00
wrangler.toml feat: initial janus-docs Starlight site 2026-03-08 12:09:03 +01:00

docs.janus-lang.org

Official documentation for the Janus programming language.

Live: docs.janus-lang.org

Structure

src/content/docs/
├── learn/           8 pages — introduction, quick start, profiles, fundamentals
├── tutorials/       4 pages — hello-to-production, CLI tool, errors, Zig interop
├── reference/       4 pages — error doctrine, UFCS, grafting, filesystem
├── architecture/    3 pages — ASTDB, lexer, diagnostics
├── philosophy/      5 pages — manifesto, bedrock, pragmatism, vision, symbology
└── index.mdx        Landing page

Development

npm install
npm run dev          # Local dev server at localhost:4321
npm run build        # Production build to ./dist/

Deployment

Hosted on Cloudflare Pages. Deploy with:

npx wrangler pages deploy dist --project-name=janus-docs

Stack

  • Starlight (Astro) — documentation framework
  • Pagefind — client-side search (built-in)
  • Expressive Code — syntax highlighting (Janus aliased to Zig)
  • Cloudflare Pages — hosting + CDN

License

Content: Libertaria Unbound License (LUL-1.0)