Before you start
You need:- A GitHub repository containing your documentation as Markdown or MDX files. Private repositories work; access comes from the Context7 GitHub App installation.
- A
docs.json(or legacymint.json) file in the documentation folder. A minimal one is enough:
docs.json
Create the site
1
Connect the repository
In your Context7 teamspace, open the Docs7 tab and pick your GitHub repository on the Publish a docs site card. If the Context7 GitHub App doesn’t have access to the repository yet, you’ll be asked to grant it.A repository can back exactly one Docs7 site.
2
Review the options
Add to Context7 index is checked by default; it makes your docs available to coding agents through the Context7 MCP once the site is live.If your
docs.json is not in the repository root or you want a production branch other than the default, open Advanced and set the branch and docs path (the path defaults to .).3
Connect and deploy
Click Connect repository. Docs7 clones the repository, builds the site, and publishes it. Watch the build log live in the dashboard. When it finishes, your site is up at:where
<id> is a short stable suffix derived from the repository.From now on
Pushing the production branch redeploys production. Pushing any other branch deploys a preview at a stable per-branch URL, and the commit gets adocs7/preview status plus a PR comment linking to it. See Branch previews.
If a build fails, the log lists each failing page and why. See Deployments.
Next steps
- Get to know the dashboard: deployments, statuses, and site settings.
- Point a custom domain at the site.
- Explore what
docs.jsoncan configure: themes, fonts, banners, SEO, and more.