Update docs.yml
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
9b2960a2ff
commit
9d3a39905b
1 changed files with 14 additions and 12 deletions
26
.github/workflows/docs.yml
vendored
26
.github/workflows/docs.yml
vendored
|
@ -6,13 +6,13 @@ on:
|
||||||
workflow_dispatch: {}
|
workflow_dispatch: {}
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
pages: write
|
pages: write
|
||||||
id-token: write
|
id-token: write
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: "pages"
|
group: "pages"
|
||||||
cancel-in-progress: false
|
cancel-in-progress: false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -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/
|
||||||
|
|
Loading…
Reference in a new issue