Skip to content

Commit

Permalink
refactor: use local config data sets
Browse files Browse the repository at this point in the history
  • Loading branch information
blaggacao committed Sep 15, 2023
1 parent 12b5eb8 commit 6e058d7
Show file tree
Hide file tree
Showing 9 changed files with 530 additions and 491 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Update subflake references
run: ./.github/workflows/update-subflake.sh

- run: nix develop .#book -c mdbook build ./docs
- run: nix develop .#book -c mdbook build ./.

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
Expand Down
10 changes: 5 additions & 5 deletions docs/book.toml → book.toml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
[book]
language = "en"
multilingual = false
src = "."
src = "docs"
title = "The Standard Documentation"

[build]
build-dir = "book"
build-dir = "docs/book"

[output.html]
additional-css = ["theme/pagetoc.css"]
additional-js = ["theme/pagetoc.js"]
additional-css = ["docs/theme/pagetoc.css"]
additional-js = ["docs/theme/pagetoc.js"]

[preprocessor.paisano-preprocessor]
before = ["links"]
registry = "..#__std.init"
registry = ".#__std.init"

[[preprocessor.paisano-preprocessor.multi]]
cell = "lib"
Expand Down
Loading

0 comments on commit 6e058d7

Please sign in to comment.