Skip to content

Commit

Permalink
docs(book): Update book setup
Browse files Browse the repository at this point in the history
  • Loading branch information
tingerrr committed Jul 24, 2024
1 parent 35b8b80 commit 481b299
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'docs/book/book'
path: 'docs/book/build'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
2 changes: 1 addition & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ ci $RUSTFLAGS='-Dwarnings' $RUSTDOCFLAGS='-Dwarnings':
# clean all temporary directories and build artifacts
clean:
rm -r target
rm -r {{ book-src / 'book' }}
rm -r {{ book-src / 'build' }}

# install typst-test using cargo
install:
Expand Down
2 changes: 1 addition & 1 deletion docs/book/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
book
build
11 changes: 9 additions & 2 deletions docs/book/book.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
[book]
authors = ["tingerrr"]
title = "typst-test"
description = "A guide and reference document for typst-test."
authors = ["tingerrr <[email protected]>"]
language = "en"
multilingual = false
src = "src"
title = "typst-test"

[build]
build-dir = "build"

[output.html]
git-repository-url = "https://github.com/tingerrr/typst-test"

0 comments on commit 481b299

Please sign in to comment.