| title | Documentation Style Guide |
|---|---|
| description | Write clear, user-focused docs for the SmythOS Runtime Environment. |
Help users succeed by writing docs that are clear, direct, and genuinely helpful.
- Use a conversational, professional tone. Write to the reader af if directly communicating with them.
- Prefer short sentences and paragraphs (1–3 sentences each).
- Use active voice for clarity.
- Keep explanations beginner-friendly. If you use technical terms, define them.
- Avoid filler, marketing language, and unnecessary complexity.
- Frontmatter: Every page must start with frontmatter for
title,description,keywords, andsidebar_position. - Headings: Use clear headings and break content into logical sections.
- Spacing: Insert
<Spacer size="md" />between main sections for readability. - Bullets & Tables: Use bullet points or tables for lists, options, and comparisons.
- Links: Use descriptive internal links. Avoid “click here.”
- Callouts: Use InfoCallout, TipCallout, or WarningCallout only when it adds clarity or highlights action.
- No emojis or informal icons.
- Code: Ensure every snippet is accurate and runnable.
- Write in second person (“you can…”), and focus on real user needs.
- Use consistent names for product features, such as:
StudioSpacesData Pool
- Match your
titleto the sidebar label for each page.
<InfoCallout title="Why this matters">
Callouts should clarify, not repeat the main text. Use them to highlight key points, warnings, or helpful context.
</InfoCallout>
```ts
import { Agent } from '@smythos/sdk';
const agent = new Agent({ name: 'DemoAgent', model: 'gpt-4' });Write for users, keep it clean, and always look for ways to improve.