Docs Repository Workflow
The Onelink documentation has its own Git repository:demomastra2025-eng/onelink-docs
docs/
onelink/docs is both:
- a normal folder that people and agents can read and edit
- a separate Git repository with its own commits, pull requests, and Mintlify publishing flow
Source Of Truth
Use this rule:- documentation content lives in
onelink-docs - the main
onelinkrepository stores only the submodule pointer to a docs commit
onelink/docs/*.mdx, docs.json, README.md, openapi/*, or scripts/*, you are changing the docs repository.
Human Workflow
For a normal documentation change:onelink repository should point to the new docs commit too:
Agent Workflow
When an agent works insideonelink:
- read and edit docs under
onelink/docs - commit the content change in the
onelink/docsrepository first - then update the
docssubmodule pointer in the parentonelinkrepository when needed
Mintlify Workflow
Mintlify hosts and edits theonelink-docs repository.
That means:
- people can change text in the Mintlify web editor
- the change lands in
onelink-docs - local
onelink/docswill not see it until you pull the latest docs commit
OpenAPI Sync
The API reference uses local files underopenapi/.
From the submodule path inside the app repo:
onelink-docs.