Source for docs.faramesh.dev, the documentation for Faramesh.
You do not need to run the site locally to contribute. Open a pull request with your Markdown changes; when it merges to main, the site updates automatically.
-
Create or edit a file under
content/docs/. Use.mdand mirror the URL path in the folder structure:content/docs/quickstart.md→/quickstartcontent/docs/concepts/identity.md→/concepts/identitycontent/docs/frameworks/langgraph.md→/frameworks/langgraph
-
Add frontmatter at the top of every page:
--- title: Page title description: One sentence shown in search and previews. ---
-
Register the page in the sidebar by adding its path (no
.md) tocontent/docs/meta.jsonin the right section:"---CONCEPTS---", "concepts/your-new-page"
Use
---SECTION NAME---lines as separators between groups (see the existing file for examples). -
Open a PR against
mainon faramesh/faramesh-docs. Describe what you changed and link any related issues.
-
Use
##headings for structure; numbered headings like## 1. Step namerender as step lists on guide pages. -
Fence code with a language tag. Add an optional file label:
```bash title="Terminal"or```hcl title="governance.fms". -
Callouts use this syntax:
:::tip[Optional title] Short note for the reader. :::
Types:
info,tip,note,warn,danger. -
Link other docs with root paths:
[Quickstart](/quickstart/), not relative file paths.
npm install
npm run devOpen http://localhost:3000. Production build: npm run build (output in out/).
| Path | Purpose |
|---|---|
content/docs/ |
All documentation pages (Markdown) |
content/docs/meta.json |
Sidebar order and section labels |
app/(home)/page.tsx |
Homepage (edit only for landing layout changes) |
public/ |
Static assets (favicon, logos) |
Questions or larger doc plans: open an issue or discussion on the repo before a big restructure.