Skip to content

Commit

Permalink
website: update contributing
Browse files Browse the repository at this point in the history
  • Loading branch information
avmey committed Dec 19, 2024
1 parent 0ffb953 commit 457aabe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion website/docs/Contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ The geoprocessing code repository is setup as a "monorepo" managed by [Lerna](ht
A versioned documentation website is maintained using [Docusaurus](https://docusaurus.io/l) in the `website` directory. Docs should be updated in lockstep with code changes.

- cd `website`
- `npm install` to install dependencies for building the docs
- Dev - `npm start` to start dev server, generate new API documents. Edits will appear instantly in browser
- Build - `npm build` and `npm serve` to test
- Build - `npm run build` and `npm run serve` to test
- Version - `npm run docusaurus docs:version <VERSION_NUMBER>` - snapshot a new version. Only do this when a new minor or major release is made. If point release should be unnecessary.
- Deploy - `GIT_USER=<YOUR_GITHUB_USERNAME> npm run deploy` to build and deploy to Github Pages. You can deploy as often as needed. If a new release snapshot is not made then doc changes are limited to the "Next" version on the website.

Expand Down

0 comments on commit 457aabe

Please sign in to comment.