Skip to content

How to Update the Website

Yos Riady edited this page Apr 8, 2020 · 3 revisions

How to Manually Update the SDK Docs

If you need to update the SDK docs, here's how you can do it.

.
├──work/
|   ├── comit-js-sdk/
|   └── comit.network/
  • First, make sure that you have both comit-js-sdk and comit.network repos on your machine, within the same directory (see above.)
  • Do a git pull to make sure both repos are up-to-date.
  • cd comit.network/ and run npm run build:sdk. This will generate comit-js-sdk documentation and update the website source in a single step.
  • Preview the comit.network website locally with npm run start to make sure there are no syntax errors.
  • git add . git commit to commit the updated source files.
  • git push to master rebuild the live website.
Clone this wiki locally