From 3eaa4fb22d43bca9ac955ea44249457d8bc84712 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Fri, 27 Oct 2023 15:42:06 +0100 Subject: [PATCH] Fix path issues Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- .github/workflows/docs.yml | 1 + book.toml | 2 +- docs/{mermaid => lib}/mermaid-init.js | 0 docs/{mermaid => lib}/mermaid.min.js | 0 4 files changed, 2 insertions(+), 1 deletion(-) rename docs/{mermaid => lib}/mermaid-init.js (100%) rename docs/{mermaid => lib}/mermaid.min.js (100%) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 9ae1967256..e7cc024ffe 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -93,6 +93,7 @@ jobs: cat SUMMARY.md >> docs/SUMMARY.md mv element-web/book.toml . + mv element-web/docs/lib docs/ - name: Build docs run: mdbook build diff --git a/book.toml b/book.toml index 0a8fcf5337..b7cf58f044 100644 --- a/book.toml +++ b/book.toml @@ -24,7 +24,7 @@ git-repository-url = "https://github.com/vector-im/element-web" # The path that the docs are hosted on site-url = "/element-web/" -additional-js = ["docs/mermaid/mermaid.min.js", "docs/mermaid/mermaid-init.js"] +additional-js = ["docs/lib/mermaid.min.js", "docs/lib/mermaid-init.js"] [preprocessor] diff --git a/docs/mermaid/mermaid-init.js b/docs/lib/mermaid-init.js similarity index 100% rename from docs/mermaid/mermaid-init.js rename to docs/lib/mermaid-init.js diff --git a/docs/mermaid/mermaid.min.js b/docs/lib/mermaid.min.js similarity index 100% rename from docs/mermaid/mermaid.min.js rename to docs/lib/mermaid.min.js