1. Add your docs
In a new folder, create adocs.json file:
docs.json
index.mdx
2. Install the CLI
Install the package globally:docs7 command to your terminal.
3. Start the dev server
Run this from the folder that containsdocs.json:
You can also run the CLI without installing it:
npx @upstash/docs7 dev.4. Publish
- Push the project to GitHub.
- Open the Docs7 tab in your Context7 teamspace.
- Click Add New Site and choose the repository.
- Set the production branch and the folder that contains
docs.json. - Click Publish Site.