Add matrix-js-sdk docs

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2023-10-17 10:01:56 +01:00
parent 5262c2d195
commit 0325273a68
No known key found for this signature in database
GPG key ID: A2B008A5F49F5D0D

View file

@ -36,6 +36,12 @@ jobs:
repository: matrix-org/matrix-react-sdk
path: matrix-react-sdk
- name: Fetch matrix-js-sdk
uses: actions/checkout@v4
with:
repository: matrix-org/matrix-js-sdk
path: matrix-js-sdk
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
with:
@ -57,6 +63,9 @@ jobs:
mv matrix-react-sdk/README.md matrix-react-sdk/docs/
mv matrix-react-sdk/docs "docs/Matrix React SDK"
mv matrix-js-sdk/README.md matrix-js-sdk/docs/
mv matrix-js-sdk/docs "docs/Matrix JS SDK"
sed -i -e 's/\.\.\/README.md/README.md/' docs/**/SUMMARY.md
mdbook-combiner -m docs