Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.trulayer.ai/llms.txt

Use this file to discover all available pages before exploring further.

This page is for the team and community members contributing to the TruLayer docs. If you’re looking to integrate TruLayer into your app, head to the Quickstart.
Prerequisites:
  • Node.js 19 or higher
  • This repo cloned locally (git clone git@github.com:trulayer/docs.git)

Local preview

1

Install the Mintlify CLI

npm i -g mint
2

Start the preview server

From the repo root:
mint dev
The preview is at http://localhost:3000. It hot-reloads as you edit MDX files.

Editing content

  • MDX files live at the repo root and in subdirectories (concepts/, sdks/, api-reference/, etc.)
  • Navigation is configured in docs.json — any new page must be listed there to appear in the sidebar
  • Components — Mintlify supports <Card>, <CardGroup>, <Columns>, <Tabs>, <CodeGroup>, <Steps>, <Accordion>, <Note>, <Tip>, <Warning>, <Frame>, and more. See Mintlify’s component reference.

Keeping the API reference in sync

The OpenAPI spec is the source of truth for the HTTP API reference. It lives at api-reference/openapi.yaml and is kept in sync with the backend service spec. When the backend API changes, the docs team updates api-reference/openapi.yaml and opens a PR. Spec drift is caught automatically in CI.

Custom ports

mint dev --port 3333
mint broken-links
Run before opening a PR — broken internal links block merge.

Deployment

Pushes to main are picked up by the Mintlify GitHub app and deployed to https://docs.trulayer.ai within ~60 seconds.

Troubleshooting

This is typically an outdated Node. Try:
  1. npm remove -g mint
  2. Upgrade to Node 19+
  3. npm i -g mint
Remove the local Mintlify cache:
rm -rf ~/.mintlify
mint dev