Skip to content

Create Documentation

This guide explains how to add or update pages in the Knode docs site.

All docs live under src/content/docs/. Use descriptive, lowercase paths with hyphens.

Examples:

  • product/onboarding.mdx
  • reference/faq.mdx

Every page needs a title and optional description:

---
title: My Page Title
description: Optional summary for search and previews.
---

Use Markdown or MDX. Keep sections scannable and focused on the user task.

# Heading
Short intro paragraph.
## Step-by-step
1. Do this.
2. Do that.

From the repo root:

Terminal window
npm install
npm run dev --workspace knode-docs

Navigate to http://localhost:3006/ to preview your changes.

  1. Open the Docs page in the Ops Dashboard.
  2. Select or create a page.
  3. Save changes, then click Publish.
  4. Verify the public page in the preview panel.

If you add a major section, update frontends/apps/knode-docs/astro.config.mjs to add the page to the sidebar.