Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c6b363e

Browse files
committed
Upgrade mdbook-linkcheck
Link check at build Install linkcheck with cargo Optional linkcheck
1 parent e1cbe59 commit c6b363e

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

‎.github/workflows/gh-pages.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,13 @@ jobs:
1414
uses: peaceiris/actions-mdbook@v1
1515
with:
1616
mdbook-version: 'latest'
17-
18-
- name: Link check
19-
run: |
20-
curl -LSfs https://japaric.github.io/trust/install.sh | \
21-
sh -s -- --git Michael-F-Bryan/mdbook-linkcheck
22-
17+
18+
# - name: Link check
19+
# run: cargo install mdbook-linkcheck
20+
2321
- name: Build
2422
run: cd book && mdbook build
25-
23+
2624
- name: Deploy
2725
uses: peaceiris/actions-gh-pages@v3
2826
with:

‎book/book.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ preferred-dark-theme = "Rust"
1515
enable = true
1616

1717
[output.linkcheck]
18+
optional = true
1819
follow-web-links = true
1920
exclude = ['blacklivesmatter\.com']
2021
warning-policy = "error"

‎book/src/01_calculator/grammar_lexer_parser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ This grammar basically defines the syntax and semantics where
2727
* unary or binary expressions are made of `Term` and `Operator` (`"+"` and `"-"`)
2828
* the only *atom* is integer `Int`
2929

30-
Given our grammar, we will use [pest](https://bitbegin.github.io/pest-rs/) which is a powerful *parser generator* of PEG grammars. (For more details on pest, checkout the [pest book](https://bitbegin.github.io/pest-rs/book/)
30+
Given our grammar, we will use [pest](https://pest.rs/) which is a powerful *parser generator* of PEG grammars. (For more details on pest, checkout the [pest book](https://pest.rs/book/)
3131

3232
`pest` *derives* the parser `CalcParser::parse` from our grammar
3333

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /