Update docs.yml

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2023-10-17 09:16:32 +01:00
parent 9b2960a2ff
commit 9d3a39905b
No known key found for this signature in database
GPG key ID: A2B008A5F49F5D0D

View file

@ -46,16 +46,18 @@ jobs:
- name: Prepare docs - name: Prepare docs
run: | run: |
mkdir -p docs/element-{desktop,web} docs/matrix-react-sdk mkdir docs
mv element-desktop/docs "docs/element-desktop/Element Desktop" mv element-desktop/README.md element-desktop/docs/
mv element-desktop/README.md docs/element-desktop/ mv element-desktop/docs "docs/Element Desktop"
mv element-web/docs "docs/element-web/Element Web" mv element-web/README.md element-web/docs/
mv element-web/README.md docs/element-web/ mv element-web/docs "docs/Element Web"
mv matrix-react-sdk/docs "docs/matrix-react-sdk/Matrix React SDK" mv matrix-react-sdk/README.md matrix-react-sdk/docs/
mv matrix-react-sdk/README.md docs/matrix-react-sdk/ mv matrix-react-sdk/docs "docs/Matrix React SDK"
sed -i -e 's/\.\.\/README.md/README.md/' docs/**/SUMMARY.md
mdbook-combiner -m docs mdbook-combiner -m docs
mv SUMMARY.md docs/ mv SUMMARY.md docs/