AGENTS.md
This file provides guidance to WARP (warp.dev) when working with code in this repository.Project Overview
Rhombus Developer Documentation site built with Mintlify. Documents the complete Rhombus Systems API (all endpoints) with auto-generated content from an OpenAPI spec that syncs nightly from production.- Live site: https://api-docs.rhombus.community/
- API base URL: https://api2.rhombussystems.com
- OpenAPI spec source: https://api2.rhombussystems.com/api/openapi/public.json
Development Commands
npm i -g mint), Python 3.11+ (for scripts).
Architecture
Content lives at the root
All MDX files anddocs.json live in the repo root — there is no docs/ subdirectory. mint dev must be run from the root.
Content types
- Hand-written MDX — implementation guides, quickstart, MCP docs (
index.mdx,implementations/,low-code-no-code/) - Auto-generated API docs — all endpoint pages under the API Reference tab, driven entirely by
api-reference/openapi.json - AI context files —
llms.txtandllms-full.txt, regenerated weekly by GitHub Actions
docs.json — the central config
- Controls all navigation, theming, and site behavior
- 3 tabs: Guides, Integrations, API Reference
- API endpoints are referenced via the
openapikey pointing toapi-reference/openapi.json— do not manually create endpoint pages - Mintlify auto-generates all API Reference endpoint pages from the OpenAPI spec
Localization
Translated content mirrors the English structure inde/, es/, zh/ directories. All English content lives in root-level files and implementations/.
Reusable snippets
Shared MDX content goes insnippets/ — includes changelog-author.jsx React component.
Automation (GitHub Actions)
- update-openapi.yml — Nightly at midnight UTC: fetches latest OpenAPI spec, detects changes, auto-generates changelog entries, commits to
main - update-llms-files.yml — Weekly (Sundays 1 AM UTC) + on push to relevant files: regenerates
llms.txtandllms-full.txt
Scripts (scripts/)
update-openapi.sh— Manual OpenAPI spec fetch with validation and backupupdate-llms-files.py— Generates AI context files from project structure and OpenAPI specdetect_openapi_changes.py— Compares old/new specs, produces a change report JSONgenerate_changelog_entry.py— Converts change report into MDX changelog entryinsert_changelog_entry.py— Inserts generated entry intochangelog.mdxgenerate-endpoint-docs.py— Generates endpoint documentation from OpenAPI specupdate-docs-navigation.py— Updates navigation structure indocs.jsonadd-service-level-navigation.py/improve-endpoint-navigation.py— Navigation enhancement utilities
Working Standards
- Always ask for clarification rather than making assumptions
- Search for existing content before adding new pages to avoid duplication
- Start by making the smallest reasonable changes
- Push back on ideas when it leads to better documentation — cite sources
- Never use
--no-verifyor skip pre-commit hooks
MDX page requirements
Every.mdx file must have YAML frontmatter with at least title and description. Use second-person voice (“you”). Match style and formatting of existing pages.
Mintlify components
- Steps — sequential procedures
- Tabs — platform-specific alternatives
- CodeGroup — same concept in multiple languages
- Accordions — progressive disclosure
- RequestExample / ResponseExample — API endpoint docs
- ParamField / ResponseField / Expandable — API parameter and response documentation
- Callouts:
<Note>,<Tip>,<Warning>,<Info>,<Check>
API-specific conventions
- All API requests use base URL
https://api2.rhombussystems.com - Authentication headers:
x-auth-scheme: api-token+x-auth-apikey: YOUR_API_KEY - Media endpoints use
https://media.rhombussystems.com - Code examples should be complete, runnable, with realistic data
- Use relative paths for internal links, absolute URLs only for external