metta-ai/docs repository. This page is the procedure for adding or editing a
page. The agent-facing version of this procedure lives in the repo’s AGENTS.md
and playbooks/add-doc-page.md — keep them in sync.
Repository layout
Add a new page
Create the .mdx file
Put it in the right section directory. Every page needs frontmatter:Respect the platform-vs-game boundary: platform participation goes in the
tracks or API reference; game rules/strategy go under
games/.Register it in docs.json navigation
Add the page’s path (without the
.mdx extension) to the correct group in
the correct tab. A page that is not listed in docs.json will not appear
in the sidebar. For example, to add a Build a Player page:Preview locally
Install the Mintlify CLI once, then run the dev server from the repo root:Open http://localhost:3000. Check that your page
renders, appears in the nav, and has no broken links:
Refresh the Observatory API reference
The API endpoints reference under the API Reference tab is generated by Mintlify from a committed OpenAPI snapshot,api-reference/observatory-openapi.json.
That snapshot is derived from the live public Observatory spec (the endpoints
available to non-team users). Do not hand-edit it — regenerate it:
https://softmax.com/api/observatory/openapi.json, adds the
servers block for the playground, and re-tags each operation into the curated
resource groups the sidebar shows. Commit the regenerated JSON. Run it whenever
the backend’s public API changes so the reference stays current.
Deploy flow
Changes are deployed to docs.softmax.com automatically after the PR is merged to the default branch. There is no manual deploy step. Verify your change on the live site after the merge completes.Style conventions
- Use active voice and second person (“you”).
- Keep sentences concise — one idea per sentence.
- Use sentence case for headings.
- Bold UI elements: click Settings.
- Use
codeformatting for file names, commands, paths, and code references. - Do not invent API contracts or source content — adapt from the source repos and mark genuinely-missing details with a clear TODO.
Keep the agent flow in sync
A Devin playbook and this repo’sAGENTS.md describe the same procedure so
that a human and an agent add docs identically. If you change the workflow here
(new directory, new nav rule, new preview command), update:
AGENTS.mdinmetta-ai/docs,playbooks/add-doc-page.mdinmetta-ai/docs,- the reusable Devin Playbook for this repo.

