From 2e62a72a09ee717c2fda14df6a61f8f2864ab8e2 Mon Sep 17 00:00:00 2001 From: James Hodgkinson Date: Sat, 3 Jun 2023 19:44:03 +1000 Subject: [PATCH] Documentation root directory 404 (#1681) Refers to #1680 --- .github/workflows/kanidm_book.yml | 1 + Cargo.lock | 4 ++-- book/index_redirect.html | 9 +++++++++ 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 book/index_redirect.html diff --git a/.github/workflows/kanidm_book.yml b/.github/workflows/kanidm_book.yml index 9dfffbb7d..9d605249f 100644 --- a/.github/workflows/kanidm_book.yml +++ b/.github/workflows/kanidm_book.yml @@ -83,6 +83,7 @@ jobs: uses: actions/configure-pages@v3 - name: Extract the files run: | + cp book/index_redirect.html docs/index.html find . -name '*.tar.gz' -exec tar zxf "{}" \; ls -la docs/ cd docs && \ diff --git a/Cargo.lock b/Cargo.lock index 1c2f851e9..e54611f86 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -522,7 +522,7 @@ dependencies = [ "regex", "rustc-hash", "shlex", - "syn 2.0.16", + "syn 2.0.17", "which", ] @@ -3408,7 +3408,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3b69d39aab54d069e7f2fe8cb970493e7834601ca2d8c65fd7bbd183578080d1" dependencies = [ "proc-macro2", - "syn 2.0.16", + "syn 2.0.17", ] [[package]] diff --git a/book/index_redirect.html b/book/index_redirect.html new file mode 100644 index 000000000..b149f841d --- /dev/null +++ b/book/index_redirect.html @@ -0,0 +1,9 @@ + + + + + + +

If you are not redirected in five seconds, click here.

+ +