DiagramAI documentation instructions
Project
- This is the public DiagramAI documentation site built with Mintlify.
- Pages are MDX files with YAML frontmatter.
- Site configuration and navigation live in
docs.json. - English source pages live in
en/and are published under/en. - Simplified Chinese source pages live in
zh/and are published under/zh. - The documentation root path redirects to
/en. - Keep the English and Chinese navigation and page coverage in sync.
- If the Mintlify skill is unavailable, install it with
npx skills add https://mintlify.com/docsand read itsSKILL.mdbefore editing.
Product terminology
- Product name:
DiagramAI. - Use
diagramin English and图表in Chinese. - Use
workspacein English and工作空间in Chinese. - Use
organizationin English and组织in Chinese. - Keep the billing unit as
creditorcreditsin both languages. - Use the plan names
Free,Pro, andBusiness. - Refer to the embedded editor as the
diagrams.net editorin English anddiagrams.net 编辑器in Chinese.
Writing style
- Use active voice and address the reader directly.
- Keep sentences concise and headings in sentence case.
- Explain a concept before giving instructions.
- Use bold for UI labels.
- Use code formatting for file names, paths, keyboard shortcuts, and technical values.
- Prefer Mintlify components such as
Steps,Card,Columns,Note,Tip, andWarning. - Do not use marketing superlatives, decorative emoji, or unsupported claims.
- Every page must include
titleanddescriptionfrontmatter. - Internal links must be root-relative and omit
.mdx.
Content boundaries
- Document public end-user and organization-administrator workflows only.
- Do not document internal REST endpoints, database structures, environment variables, service credentials, template-authoring administration, or webhook implementation.
- Do not claim support for version history, comments, simultaneous multi-user editing, public sharing, unlimited AI generation, or a public API.
- Treat runtime code,
src/lib/billing-catalog.ts,src/lib/credit-units.server.ts, andsrc/lib/plan-limits.tsas the source of truth for product limits and billing. - Link to the product legal pages instead of duplicating legal terms.
- Use
support@eoeok.comfor support, privacy, and eligible refund requests.
Verification
- Run
mint validate,mint broken-links, andmint a11y. - Preview both languages and verify dark mode and mobile navigation.
- Search for starter-template content, placeholder addresses, unfinished markers, and broken internal links before delivery.
