This site is built with Mintlify and deployed from the WRLDInc/docs repository. Content is authored in MDX, and navigation is configured in docs.json.
• Node.js LTS (Node 22 recommended — Mintlify does not support Node 25+). See Conda for Node.js if you need to isolate Node versions per project.
• A docs repository with a
docs.json filePreview locally
- Install the Mintlify CLIBash
npm i -g mint - Run the dev server
From the repo root (where
docs.jsonlives):Bashmint devOpen
http://localhost:3000. Pages hot-reload as you edit.mdxfiles. - Validate links
Before opening a PR:
Bashmint broken-links
Use mint dev --port 3333 to change the port, and mint update to upgrade the CLI.
Add a new page
Create an
.mdxfile under the relevant section directory (for examplewrld-host/new-feature.mdx).Add YAML frontmatter:
mdx--- title: "Page title" description: "One-line summary shown in nav and search." ---Register the page path (without
.mdx) in the appropriate group insidedocs.json:JSON{ "group": "Hosting", "pages": [ "wrld-host/overview", "wrld-host/new-feature" ] }Reload
mint devand confirm the page appears in the navigation.Run
mint broken-linksand open a pull request.
Repository layout
See the layout table in README.md. Each top-level directory maps to a tab or group in docs.json.
Content conventions
Voice: first-person plural ("we") for WRLD, second-person ("you") for the reader.
Headings: use
##for primary sections — thetitlefrontmatter already rendersh1.Links: prefer site-relative links (
/support/overview) for internal pages. External links are always absolute URLs.Brand tokens: do not hard-code colors or fonts in pages. Reference Design or Brand Guide and update those pages if the brand changes upstream.
Source of truth: WRLD service names, URLs, colors, and typography are mirrored from
WRLDInc/wrld.one. Update there first if a brand token changes.
Deployment
Merges to the default branch auto-deploy via Mintlify's GitHub integration. There is no separate CI build step.
Troubleshooting
Error: Could not load the "sharp" module
Usually an outdated Node version. Remove the CLI (npm remove -g mint), upgrade to Node 19+, then reinstall (npm i -g mint).
Page shows 404
Confirm the file path in docs.json matches the .mdx filename (no extension, no leading slash) and that mint dev is running from the directory containing docs.json.
Unknown error in local preview
Delete ~/.mintlify and re-run mint dev.
