Skip to content

Commit

Permalink
run mdbook test again in CI (#171)
Browse files Browse the repository at this point in the history
* fix markdown

* attempt to run mdbook test again in CI

* use standard Rust install

* pin the version of mdbook
  • Loading branch information
ma2bd authored Dec 8, 2024
1 parent 4b4dcae commit 1cb9185
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:
with:
submodules: 'true'

- uses: Twey/setup-rust-toolchain@v1
- uses: actions-rust-lang/setup-rust-toolchain@v1

- name: 'Setup mdbook'
uses: peaceiris/actions-mdbook@v1
uses: peaceiris/actions-mdbook@v2
with:
mdbook-version: 'latest'
mdbook-version: '0.4.37'

- name: 'Install Protoc'
uses: arduino/setup-protoc@v3
Expand All @@ -47,9 +47,8 @@ jobs:
- run: mdbook build

# TODO(#108): https://github.com/linera-io/linera-documentation/issues/108
# - name: 'Check documentation'
# run: mdbook test -L linera-protocol/target/debug/deps/
- name: 'Check documentation'
run: mdbook test -L linera-protocol/target/debug/deps/

formatting:
runs-on: ubuntu-latest
Expand Down
6 changes: 3 additions & 3 deletions src/operators/testnets/joining.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Minimum supported version: 1.18.0.
Below is an example Nginx configuration which upholds the infrastructure
requirements found in `/etc/nginx/sites-available/default`:

```
```ignore
server {
listen 80 http2;
Expand Down Expand Up @@ -69,7 +69,7 @@ Minimum supported version: v2.4.3
Below is an example Caddy configuration which upholds the infrastructure
requirements found in `/etc/caddy/Caddyfile`:

```
```ignore
example.com {
reverse_proxy localhost:19100 {
transport http {
Expand Down Expand Up @@ -135,7 +135,7 @@ below.
To verify the installation, you can use the `query-validator` command. For
example:

```
```bash
$ linera wallet init --with-new-chain --faucet https://faucet.{{#include ../../../TESTNET_DOMAIN}}.linera.net
$ linera query-validator grpcs:my-domain.com:443

Expand Down

0 comments on commit 1cb9185

Please sign in to comment.