Toolbelt documentation in this repository uses plain Markdown with YAML frontmatter. The same source files can support GitHub Pages, answers from the in-product assistant (via GitHub MCP), llms.txt discovery, and future indexing—without tying the content to a single presentation stack.
Format goals#
- Keep docs portable.
- Keep docs readable in GitHub.
- Keep docs easy for the in-product assistant and external AI agents to retrieve and quote.
- Keep
llms.txt/llms-full.txtand per-page.mdtwins current whenever published docs change. - Avoid presentation-specific syntax.
- Avoid vendor-specific components.
File structure#
The docs live under docs/ with this layout:
docs/
SUMMARY.md
FORMAT.md
topic-aliases.json
llms.txt # generated
llms-full.txt # generated
get-started/
features/
support/
tutorial/
docs/SUMMARY.mdis the published nav map. Only pages listed there ship to agents.docs/topic-aliases.jsonmaps stable in-product help IDs to the current topic (and optional section).docs/llms.txtanddocs/llms-full.txtare generated agent indexes — do not edit by hand.- Public docs pages are published to
apps/docs/<slug>.html(canonical athttps://docs.apexti.com/<slug>.html), plus generatedindex.html(redirects/),sitemap.xml, androbots.txt. - Agent page twins are published to
apps/docs/<slug>.md(served athttps://docs.apexti.com/<slug>.md). docs/FORMAT.md(this file) defines the content contract for new and updated pages.- Get-started pages live under
docs/get-started/. - All product, integration, and organization pages live under
docs/features/. - Support pages live under
docs/support/.
In-product help links (?help=)#
Product UI links use a stable help ID — not a docs file path and not a URL #fragment:
https://docs.apexti.com/?help=wrenches
https://docs.apexti.com/?help=boards-default-lanes
Public catalog for the product team:
| Resource | URL |
|---|---|
| Human-readable catalog | https://docs.apexti.com/?help=help-index |
| Raw JSON map | https://docs.apexti.com/topic-aliases.json |
The site entry (/) resolves ?help=<id> through the deployed alias map and redirects to the canonical .html page (with #heading-id when the alias targets a section). Legacy ?topic=<slug> URLs redirect the same way. help-index is a reserved catalog ID (→ /help-index.html).
Naming#
| Kind | Help ID shape | Example key | Example value |
|---|---|---|---|
| Page | leaf filename | boards |
features/boards |
| Section | page-section |
boards-default-lanes |
features/boards#default-lane-slugs |
| Legacy path | retired topic path | features/old-path |
features/boards |
Rules:
- Keys are lowercase kebab-case (or a lowercase path for legacy
?topic=redirects). - Values are a SUMMARY slug, or
slug#heading-idmatching the viewer’s heading anchors. - Do not put
#…on product help URLs — encode the section in the help ID / map value. - Add section help IDs only when product needs them (not every heading).
- When a page moves or a heading renames, update the map target; keep the help ID stable.
npm run sync:docs-appvalidates aliases (including that#heading-idexists) and copies the file into the live app cache.
Agent-readable docs (required)#
docs.apexti.com renders with JavaScript. Agents must use:
| Artifact | URL |
|---|---|
| Index | https://docs.apexti.com/llms.txt |
| Full dump | https://docs.apexti.com/llms-full.txt |
| Page Markdown | https://docs.apexti.com/` |
Whenever a published page is added, changed, or removed:
- Update the source
.mdunderdocs/(andSUMMARY.mdif the map changes). - Regenerate agent artifacts:
npm run generate:agent-docs
# or (also syncs the live docs app cache)
npm run sync:docs-app
- Deploy when publishing live:
npm run deploy. - Commit generated
llms.txt,llms-full.txt,apps/docs/<slug>.md/.html,sitemap.xml, androbots.txtwith the content change.
Rules:
- Treat
SUMMARY.mdas the single source of truth for the page map. - Never hand-edit
docs/llms.txt,docs/llms-full.txt, generatedapps/docs/<slug>.md/.html,sitemap.xml, orrobots.txt. - Never include real API keys, assistant/workspace IDs, or customer names — use
<workspaceId>and<apikey>. - Follow the stored skill
skills/apexti-toolbelt-docs-llms/SKILL.mdfor the full publish checklist.
Frontmatter#
Every page should start with this minimum frontmatter:
---
title: "Page title"
description: "One-sentence summary of the page."
updated: YYYY-MM-DD
---
Rules:
- Every page must include
title. - Every page must include
description. - Every page must include
updated(ISO dateYYYY-MM-DD). The generator fills this from git history when missing. - Keep descriptions plain text.
- Do not use JSX, Markdown links, or code spans in descriptions.
- Do not invent metadata until the product needs it.
Optional metadata (not required yet) may look like this when the team wants richer navigation or indexing:
---
title: "Wrenches"
description: "Reusable JavaScript functions that let assistants call MCP tools directly."
category: "Features"
slug: "features/wrenches"
---
Markdown rules#
- Use ATX headings:
##,###,####. - Do not skip heading levels.
- Use fenced code blocks with language identifiers.
- Use standard Markdown tables.
- Use relative links between docs pages.
- Do not use MDX imports.
- Do not use JSX or legacy component tags in Markdown source (for example
<Card>or<Note>, formerly used under Mintlify). Prefer the Markdown equivalents below.
Callouts#
Use blockquotes with a bold label and a single space after the em dash:
> **Note:** Helpful context that is useful but not critical.
> **Warning:** Important risk, limitation, or destructive action.
> **Tip:** Practical advice that helps the user succeed.
Rules:
- Keep callouts short.
- Use callouts only when the label adds meaning.
- Do not use legacy callout components (the tag-based Note, Warning, or Tip elements).
Capability tiles (viewer extension)#
For capability grids on the static docs site, use a fenced block that starts with :::cards and optional column count (1–4), then one or more tiles. Each tile begins with ===card on its own line, followed by YAML-like key: value lines, a blank line, then the tile body as normal Markdown (paragraphs, lists, emphasis).
Supported keys per tile:
title(required): Plain text tile title.icon(optional): Icon name mapped to an emoji in the viewer (for exampleplug,robot,wrench; names match the former docs stack), or a literal emoji.href(optional): Relative doc path (for examplefeatures/wrenches.md). Omit for a non-linking tile (still styled as a card).
Example:
<div class="card-list" data-cols="3">
<div class="card-tile card-tile--static"><div class="card-tile__head"><span class="card-tile__icon card-tile__icon--svg" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22v-5"/><path d="M9 8V2"/><path d="M15 8V2"/><path d="M18 8v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z"/></svg></span><span class="card-tile__title">Services & Tools</span></div><div class="card-tile__body prose"><p><strong>Services</strong> are integrations…</p></div></div>
<a class="card-tile card-tile--linked" href="features/wrenches.html"><div class="card-tile__head"><span class="card-tile__icon card-tile__icon--svg" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z"/></svg></span><span class="card-tile__title">Wrenches</span></div><div class="card-tile__body prose"><p><strong>Turn "AI magic" into reliable code.</strong></p></div></a>
</div>
Rules:
- End the grid with a line that is exactly
:::. - After the
key: valueheader lines, include one blank line before the body so a line likeNote: …is not parsed as a header key. - On github.com, the
:::cards/===cardlines render as plain text; the layout appears in the viewer.
Links#
- Links from
docs/SUMMARY.mdare relative todocs/, for examplefeatures/wrenches.md. - Links between pages should be relative to the current file.
- Do not link to legacy
.mdxpaths; link to the portable.mdunderdocs/instead. - Prefer descriptive link text.
Examples:
From a file in docs/ (same level as features/):
See [Wrenches](features/wrenches.html).
See [Slack Integration](features/slack.html).
From a nested page (for example docs/get-started/introduction.md):
See [Slack Integration](features/slack.html).
AI-readability rules#
The in-product assistant may read one file or one section at a time through GitHub MCP.
- Make each page self-contained.
- Define important terms on first use.
- Use specific headings, not vague headings like “Overview” repeated many times without context.
- Avoid “as mentioned above” when the section might be read alone.
- Prefer direct statements over UI-dependent references.
- Avoid references to a specific docs presentation layer, such as “left sidebar,” unless the product UI actually has that element.
Validation#
Run these from the repository root to catch common authoring issues:
grep -R "<Note\|</Note\|<Warning\|</Warning\|<Tip\|</Tip\|<Card\|</Card\|<CardGroup\|</CardGroup\|<Steps\|</Steps\|<Step\|</Step\|<Accordion\|</Accordion\|<AccordionGroup\|</AccordionGroup" docs || true
grep -R "\.mdx" docs || true
grep -R "<[0-9]" docs || true
Expected results:
- No legacy JSX component tags in finished Markdown (the first command should return nothing).
- No links or paths that point readers at legacy
.mdxdestinations (the second command may still match this guide when it mentions.mdxin prose). - No bare angle brackets before digits outside code blocks (for example, write under 128K in prose instead of a less-than sign plus a number).
Source of truth#
- Markdown under
docs/is the canonical portable content source for the static docs site, optional Jekyll preview, and the in-product assistant. - Mintlify is retired; do not author against
.mdxordocs.json. - Do not revive a SPA docs viewer for docs.apexti.com — improve the static HTML generator instead.
