mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-01-02 05:13:09 +00:00
Enable mdbook-linkcheck as preprocessor; drop standalone step
This commit is contained in:
parent
dcb771e389
commit
62a4dc938c
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@ -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
|
||||||
|
|||||||
@ -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
2
typos.toml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
[default.extend-words]
|
||||||
|
Groth = "Groth"
|
||||||
Loading…
x
Reference in New Issue
Block a user