sdk guidesVerified against f97ac63
SDK and Integration Guides
How the thin hosted site, dashboard, and IDE-facing surfaces fit together for the first Documint release.
Product surfaces
/is the positioning and onboarding surface./docsis the published documentation surface./appis the operator view for drift checks, traces, and previews.
Integration shape
Documint V1 is not a full CMS. It is a repo-native layer that:
- reads documentation from the repository,
- computes artifact traces from source files,
- detects drift when source moves ahead of docs,
- creates a reviewable patch preview,
- publishes a verified docs view.
IDE path
The IDE-facing workflow is intentionally narrow in V1:
- ask for the trace behind a page,
- run a drift check,
- request a proposed patch,
- review the suggested update before it becomes a PR.
The repository remains the source of truth through the whole flow.
Deployment path
- Vercel serves the public product at
documint.xyzfromapps/web. - Railway runs the Python backend from the repository root and the root
Dockerfile. - The dashboard reads
DOCUMINT_API_URLand can stay thin because the backend owns drift, traceability, and publish previews. /appexplicitly reportslive apiversusfallback data, which is the fastest way to confirm whether the deployed UI is talking to the backend.pnpm dogfoodis the quickest local self-test because it boots both services, drives the webhook loop, checks/runtime, and confirms the dashboard is on the live API path.
GitHub App setup
Use the backend manifest route as the source of truth when configuring the first GitHub App:
- call
GET /integrations/github/app, - create the app with the listed events and read permissions,
- set the returned webhook URL,
- install it on the repo,
- verify deliveries are creating drift runs before turning on publish automation.