The website and documentation for LeiOS, a Debian-based Linux distribution.
It is a fully static site built from the LeiCraftMC static-site-with-docs template.
- Nuxt 4 (
app/srcDir) - NuxtUI v4 + Tailwind v4 (CSS-first)
@nuxt/contentfor the Markdown docsnuxt generatefor static output (nitro.preset: "static")- Biome formatter/linter
- AGPL-3.0
bun install
bun run devThe dev server runs on port 12155.
bun run generate # → .output/public/.output/public/ is plain HTML, CSS, JS and assets: no server runtime is needed. On the default
branch, GitLab CI (.gitlab/ci/build.yml) generates the site and rsyncs .output/public/ to the
web host via .gitlab/ci/deploy.sh. Set the CI variables DEPLOY_REMOTE_USER,
DEPLOY_REMOTE_PASSWORD, DEPLOY_REMOTE_HOST and DEPLOY_REMOTE_DIR.
public/.htaccess configures Apache (clean URLs, trailing-slash redirects, the 404 page). On
another host, serve .output/public/ and replicate those rules.
bun run dev— dev serverbun run generate— static generationbun run preview— preview the generated sitebun run typecheck— TypeScript checkbun run check— Biome checkbun run format— format with Biomebun test— tests (docs navigation ↔ content ↔ sitemap, code-block icons)
Docs live in content/docs/ as Markdown files with title, description and navigation.title
frontmatter. To add a page:
- Create the
.mdfile undercontent/docs/. - Register it in
app/data/docs.ts(sidebar + prev/next). - Add it to
public/static/utils/sitemap.xml.
bun test fails if these three get out of sync.
See the LeiCraftMC style guide:
AGPL-3.0