mirror of https://github.com/waku-org/js-waku.git
Deploy docs on GH Pages
This commit is contained in:
parent
40fd7ff365
commit
faf5f46a35
|
@ -48,3 +48,14 @@ jobs:
|
|||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./examples/web-chat/build
|
||||
|
||||
- name: Generate docs
|
||||
run: npm run doc:html
|
||||
|
||||
- name: Deploy documentation on gh pages
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
keep_files: true # Do not delete web chat app
|
||||
publish_dir: ./build/docs
|
||||
destination_dir: docs
|
||||
|
|
11
README.md
11
README.md
|
@ -2,6 +2,17 @@
|
|||
|
||||
A JavaScript implementation of the [Waku v2 protocol](https://specs.vac.dev/specs/waku/v2/waku-v2).
|
||||
|
||||
## Documentation
|
||||
|
||||
Latest `main` branch documentation can be found at [https://status-im.github.io/js-waku/docs/](https://status-im.github.io/js-waku/docs/).
|
||||
|
||||
Docs can also be generated locally using:
|
||||
|
||||
```shell
|
||||
npm install
|
||||
npm run doc
|
||||
```
|
||||
|
||||
## Waku Protocol Support
|
||||
|
||||
You can track progress on the [project board](https://github.com/status-im/js-waku/projects/1).
|
||||
|
|
Loading…
Reference in New Issue