From 3de3c87864e364f8496a5f9fbe395b9eb3bc82f5 Mon Sep 17 00:00:00 2001 From: AtHeartEngineer Date: Mon, 21 Aug 2023 13:19:51 -0400 Subject: [PATCH] fixing blank pages and github actions --- .github/workflows/gh-pages.yml | 7 +------ book.toml | 3 +++ src/SUMMARY.md | 28 ++++++++++++++-------------- src/cryptkeeper/_intro.md | 3 +++ src/guides/_intro.md | 1 + src/guides/integration/_intro.md | 1 + src/references/_intro.md | 1 + src/references/faq.md | 1 - 8 files changed, 24 insertions(+), 21 deletions(-) create mode 100644 src/cryptkeeper/_intro.md create mode 100644 src/guides/_intro.md create mode 100644 src/guides/integration/_intro.md create mode 100644 src/references/_intro.md diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 10a47ef..e4e8b53 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -23,12 +23,6 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Install book-summary from cargo - uses: baptiste0928/cargo-install@v2 - with: - crate: book-summary - - run: book-summary -n ./src -s cryptkeeper guides references -y - - name: Setup mdBook uses: peaceiris/actions-mdbook@v1 with: @@ -39,6 +33,7 @@ jobs: uses: actions/configure-pages@v3 - name: Build with mdBook run: mdbook build + - name: Upload artifact uses: actions/upload-pages-artifact@v2 with: diff --git a/book.toml b/book.toml index a040c15..94e4bd5 100644 --- a/book.toml +++ b/book.toml @@ -4,3 +4,6 @@ language = "en" multilingual = false src = "src" title = "CryptKeeper Documentation" + +[build] +create-missing = true \ No newline at end of file diff --git a/src/SUMMARY.md b/src/SUMMARY.md index b42d83c..1200527 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -1,16 +1,16 @@ # Summary -- [Cryptkeeper](#) - - [Features](cryptkeeper/features.md) - - [Overview](cryptkeeper/overview.md) -- [Guides](#) - - [Contributing](guides/contributing.md) - - [Integration](#) - - [Connect to Extension](guides/integration/connect-to-extension.md) - - [Create Identity](guides/integration/create-identity.md) - - [Generate Proof](guides/integration/generate-proof.md) - - [Inject Client](guides/integration/inject-client.md) - - [Zkitter Examples](guides/integration/zkitter-examples.md) -- [References](#) - - [Faq](references/faq.md) - - [Terms](references/terms.md) +- [Cryptkeeper](cryptkeeper/_intro.md) + - [Features](cryptkeeper/features.md) + - [Overview](cryptkeeper/overview.md) +- [Guides](guides/_intro.md) + - [Contributing](guides/contributing.md) + - [Integration](guides/integration/_intro.md) + - [Connect to Extension](guides/integration/connect-to-extension.md) + - [Create Identity](guides/integration/create-identity.md) + - [Generate Proof](guides/integration/generate-proof.md) + - [Inject Client](guides/integration/inject-client.md) + - [Zkitter Examples](guides/integration/zkitter-examples.md) +- [References](references/_intro.md) + - [Faq](references/faq.md) + - [Terms](references/terms.md) diff --git a/src/cryptkeeper/_intro.md b/src/cryptkeeper/_intro.md new file mode 100644 index 0000000..cd65c90 --- /dev/null +++ b/src/cryptkeeper/_intro.md @@ -0,0 +1,3 @@ +# CryptKeeper + +Welcome to CryptKeeper, a simple, easy to use, and secure zk identity manager diff --git a/src/guides/_intro.md b/src/guides/_intro.md new file mode 100644 index 0000000..50a8673 --- /dev/null +++ b/src/guides/_intro.md @@ -0,0 +1 @@ +# Guides diff --git a/src/guides/integration/_intro.md b/src/guides/integration/_intro.md new file mode 100644 index 0000000..e20ec32 --- /dev/null +++ b/src/guides/integration/_intro.md @@ -0,0 +1 @@ +# Integrations diff --git a/src/references/_intro.md b/src/references/_intro.md new file mode 100644 index 0000000..b18be66 --- /dev/null +++ b/src/references/_intro.md @@ -0,0 +1 @@ +# References diff --git a/src/references/faq.md b/src/references/faq.md index fcc6602..109f077 100644 --- a/src/references/faq.md +++ b/src/references/faq.md @@ -1,2 +1 @@ # 🤔 FAQ -