From 53173b8dbc178398f4073f5ea1f41295fcfe5d6e Mon Sep 17 00:00:00 2001 From: Phodal Huang Date: Sat, 24 Jun 2023 11:04:24 +0800 Subject: [PATCH] docs: config for ci --- .github/workflows/mdbook.yml | 2 ++ book.toml | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/mdbook.yml b/.github/workflows/mdbook.yml index 21c0296..2601b4f 100644 --- a/.github/workflows/mdbook.yml +++ b/.github/workflows/mdbook.yml @@ -37,6 +37,8 @@ jobs: curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf -y | sh rustup update cargo install --version ${MDBOOK_VERSION} mdbook + + cargo install mdbook-epub - name: Setup Pages id: pages uses: actions/configure-pages@v3 diff --git a/book.toml b/book.toml index 7bf68db..32c84c7 100644 --- a/book.toml +++ b/book.toml @@ -14,4 +14,7 @@ cname = "aigc.phodal.com" # cargo install mdbook-epub # mdbook-epub --standalone ./path/to/book/dir -[output.epub] \ No newline at end of file +[output.epub] + +# cargo install mdbook-pdf +#[output.pdf] \ No newline at end of file