Has the content of docs.borgbase.com. Feel free to open a pull request if you notice any mistake or would like to add something.
- Node.js 24 (pinned in
.node-version; on Fedora:dnf install nodejs24) - pnpm (version pinned in
package.json) - Install dependencies:
pnpm install
- Dev server:
pnpm dev(http://localhost:4321) - Production build:
pnpm build(output indist/, also validates internal links) - Preview the build:
pnpm preview
Pages live in src/content/docs/. Sidebar structure is set in astro.config.mjs, ordering per page via sidebar.order front matter. Use .mdx only for pages that need components like <Tabs>.
Cloudflare Pages: build command pnpm run build, output directory dist. Redirects are in public/_redirects.
- Framework: Starlight
- Colors: Material colors