From 3f81241e200091ce1ceb9d0306630bdf4a6d0944 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 17 Oct 2023 08:48:19 +0100 Subject: [PATCH] Update docs.yml --- .github/workflows/docs.yml | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index f482eb6204..e6a5afc799 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -35,16 +35,26 @@ jobs: - name: Install mdbook-combiner run: cargo install mdbook-combiner - - name: Build docs + - name: Prepare docs run: | - mkdir docs - mv element-desktop/docs docs/element-desktop - mv element-web/docs docs/element-web - mv matrix-react-sdk/docs docs/matrix-react-sdk + mkdir -p docs/element-{desktop,web} docs/matrix-react-sdk + + mv element-desktop/docs "docs/element-desktop/Element Desktop" + mv element-desktop/README.md docs/element-desktop/ + + mv element-web/docs "docs/element-web/Element Web" + mv element-web/README.md docs/element-web/ + + mv matrix-react-sdk/docs "docs/matrix-react-sdk/Matrix React SDK" + mv matrix-react-sdk/README.md docs/matrix-react-sdk/ + mdbook-combiner -m docs - mv element-web/book.toml . mv SUMMARY.md docs/ - mdbook build + + mv element-web/book.toml . + + - name: Build docs + run: mdbook build - name: Deploy to gh pages uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3.9.3