FriendChise Docs
Using the Docs
How to navigate and write FriendChise docs pages
This page is for contributors and developers who want a quick reference for writing FriendChise docs.
Markdown basics
- Put YAML frontmatter at the top of the file, wrapped in
---lines. - Use
title,description, andorderthere. ##headings become the main entries in the right content sidebar.###headings nest under their parent heading.
---
title: Using the Docs
description: How to navigate and write FriendChise docs pages
order: 2
---
Folders
- Folders are categories in the left docs tree.
- A folder can exist without
index.md; then it is just a dropdown group built from child pages. - Adding
index.mdcreates the folder node. - If
index.mdhas body content ortitle/descriptionfrontmatter, it becomes clickable. - If
index.mdonly hasorder, it still affects ordering but is not clickable. - Folder title and description come from
index.mdfrontmatter when present; otherwise they fall back to the folder name and a default description. - Folder order comes from
index.mdwhen present; otherwise it uses the lowest order from child pages or nested folders. - If nothing in the folder has an order, the folder falls back to name order.
docs/
overview/
index.md
using-the-docs.md
architecture/
index.md
api.md
operations.md
- Child pages are ordered inside that folder by their own
orderfirst, then by title.
Code blocks
- Use fenced code blocks for commands, code, config, and anything readers should copy and paste.
- Anything wrapped in triple backticks gets the copy button automatically.
- Use inline code for short names like component names, file names, or env vars.
Where content goes
- Overview pages are for reader-facing explanations.
- Architecture pages are for implementation details.
- Database pages are for schema information.
- Contributing pages are for contributor workflow.
Rule of thumb
- Keep it short.
- Use headings that read cleanly in the sidebar.
- Write enough for another developer to understand the pattern without dumping source code.
