This is the Mintlify site for docs.cortex.foundation. Edit the site at the
repository root. Preview and validation commands are in README.md.
- Keep product copy in English and use the Cortex product names and domains:
Cortex Chat, Cortex Code, Cortex Bot, Cortex Design, Cortex Security, the
Cortex CLI, Cortex Bounty;
cortex.foundation,docs.cortex.foundation,status.cortex.foundation,software.cortex.foundation. - The site is end-user documentation. Do not publish sign-in wire protocols,
session or token internals, credentials, private API routes, infrastructure
details, vendor names, or backend operator runbooks. Competitor product
names never appear in copy, titles, or
docs.json. - Product screenshots are welcome: use actual Cortex interface captures from
Paper, composed with Higgsfield wallpaper, not generated or invented UI.
Keep readable controls, honest feature states, and no private data.
Store exported WebP, PNG or JPG files locally in
images/product/. Use self-closing<img src="/images/product/slug-light.webp" alt="..." />with descriptive, nonempty English alt text and intrinsic width and height.<Frame>wrappers are allowed. PutclassName="block dark:hidden"andclassName="hidden dark:block"on enclosingdivelements, only for actual matching light/dark captures, so hidden zoom controls are not focusable. Followdesign/docs-images.json; never publish agalleryOnlypreview. No remote media, tracking pixels, data URLs, unsafe paths, dynamic image attributes, markdown images orimage:frontmatter. See README for examples. Every page still has a frontmattericonand every<Card>anicon; icons are Font Awesome names (the starter default;icons.librarystays unset). - Navigation is
navigation.tabs: one tab per application (Get started, Chat, Code, Bot, CLI, Design, Security, Reference), each tab a list of groups, each tab and group with an icon. Every product tab opens on its hub page (<product>/index.mdx). Do not add a second overview page beside a hub. - Every page has a unique
title, adescriptionunder 160 characters, and a closing Related section. Where a sidebar label differs from the title, setsidebarTitleand add the alternative name tokeywords. - Keep every navigation slug, footer link, redirect destination, and internal
href backed by a page, and every problem page's
typeURL onhttps://docs.cortex.foundation/problems/{code}. - Only document API paths on
reference/errors,bounty/public-api, and the problem pages, and only paths the backend router registers. - Run
node scripts/check-docs-site.mjs,node scripts/check-docs-content.mjs,bash scripts/tests/check-docs-site.test.sh,bash scripts/tests/check-docs-content.test.sh,node scripts/tests/docs-ui.test.mjs,node scripts/tests/docs-images.test.mjs, thennpm exec --yes --package=mint@4.2.876 -- mint validatebefore committing. - For error-code or endpoint changes, also run the checker with a backend checkout as its first argument. Coordinate the two PRs; the backend owns the API contract and checks this repository in its CI.
- Do not change the Mintlify integration, custom domain, or DNS without an explicit request.