Thanks for your interest in contributing to the Capacitor Docs! 🎉
The Capacitor website (site/
) and documentation (site/docs-md
) live alongside the code. Looking to assist? See Capacitor issues labeled "docs" here.
- Fork this repo.
- Clone your fork.
- Make a branch for your change.
- Run
npm install
in thecore
folder. - Run
npm install
in thesite
folder. - Run
npm run start
to build and deploy the website/docs to localhost.
Note: Content updated while the dev server is running won't be reflected locally. Stop the process, then re-run
npm run start
.
Open site/docs-md/README.md
to add the new entry to the side bar.
For smaller edits, navigate to the desired page in the Capacitor docs then click the "Submit an edit" button.
- Locate the doc you want to modify in
site/docs-md/
. - Modify the documentation, making sure to keep the format the same as the rest of the doc.
- Run
npm run start
to make sure your changes look correct.