Enable mdbook-linkcheck as preprocessor; drop standalone step

This commit is contained in:
andrussal 2025-12-03 07:40:21 +01:00
parent dcb771e389
commit 62a4dc938c
3 changed files with 5 additions and 2 deletions

View File

@ -434,8 +434,6 @@ jobs:
run: npx -y markdownlint-cli2 "book/src/**/*.md" run: npx -y markdownlint-cli2 "book/src/**/*.md"
- name: Build book - name: Build book
run: mdbook build book run: mdbook build book
- name: Check links
run: mdbook-linkcheck book
- name: Upload book artifact for Pages - name: Upload book artifact for Pages
if: github.event_name == 'push' && github.ref == 'refs/heads/master' if: github.event_name == 'push' && github.ref == 'refs/heads/master'
uses: actions/upload-pages-artifact@v3 uses: actions/upload-pages-artifact@v3

View File

@ -8,6 +8,9 @@ title = "Nomos Testing Book"
# Keep book output in target/ to avoid polluting the workspace root. # Keep book output in target/ to avoid polluting the workspace root.
build-dir = "../target/book" build-dir = "../target/book"
[preprocessor.linkcheck]
command = "mdbook-linkcheck"
[output.html] [output.html]
additional-js = ["theme/mermaid-init.js"] additional-js = ["theme/mermaid-init.js"]
default-theme = "light" default-theme = "light"

2
typos.toml Normal file
View File

@ -0,0 +1,2 @@
[default.extend-words]
Groth = "Groth"