Skip to content

Commit 9ec020b

Browse files
committed
--amend
1 parent 58a5f2f commit 9ec020b

File tree

5 files changed

+17
-154
lines changed

5 files changed

+17
-154
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -18,27 +18,7 @@ jobs:
1818
uses: actions/checkout@v4
1919
with:
2020
submodules: true
21-
- uses: actions-rs/[email protected]
22-
with:
23-
crate: mdbook
24-
use-tool-cache: true
25-
version: "0.4.51"
26-
- uses: actions-rs/[email protected]
27-
with:
28-
crate: mdbook-toc
29-
use-tool-cache: true
30-
version: "0.14.2"
31-
- uses: actions-rs/[email protected]
32-
with:
33-
crate: mdbook-open-on-gh
34-
use-tool-cache: true
35-
version: "2.4.3"
36-
- uses: actions-rs/[email protected]
37-
with:
38-
crate: mdbook-admonish
39-
use-tool-cache: true
40-
version: "1.20.0"
41-
21+
- uses: Swatinem/rust-cache@v2
4222
- uses: jiro4989/setup-nim-action@v1
4323
with:
4424
nim-version: '1.6.20'
@@ -47,7 +27,6 @@ jobs:
4727
run: |
4828
nim --version
4929
nimble --version
50-
nimble install -dy
5130
nimble mdbook
5231
nimble docs || true
5332

docs/src/SUMMARY.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
11
- [Introduction](./introduction.md)
2-
- [Examples](./examples.md)
32

43
# User guide
54

6-
- [Core concepts](./concepts.md)
7-
- [`async` functions](async_procs.md)
8-
- [Errors and exceptions](./error_handling.md)
9-
- [Threads](./threads.md)
10-
- [Tips, tricks and best practices](./tips.md)
11-
- [Porting code to `chronos`](./porting.md)
12-
- [HTTP server middleware](./http_server_middleware.md)
5+
- [Getting started](./getting_started.md)
136

147
# Developer guide
158

docs/src/async_procs.md

Lines changed: 0 additions & 123 deletions
This file was deleted.

docs/src/book.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,15 @@
11
# Updating this book
2+
3+
This book is built using [mdBook](https://rust-lang.github.io/mdBook/), which in
4+
turn requires a recent version of `rust` and `cargo` installed.
5+
6+
```sh
7+
# Install correct versions of tooling
8+
nimble mdbook
9+
10+
# Run a local mdbook server
11+
mdbook serve docs
12+
```
13+
14+
A [CI job](../../.github/workflows/docs.yml) automatically published the book
15+
to [GitHub Pages](https://pages.github.com/).

json_serialization.nimble

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ task test, "Run all tests":
4646
run threads, "tests/test_all"
4747

4848
task mdbook, "Install mdbook (requires cargo)":
49-
cargo install mdbook@0.4.51 mdbook-toc@0.14.2 mdbook-open-on-gh@2.4.3 mdbook-admonish@1.20.0
49+
5050

5151
task docs, "Generate API documentation":
5252
exec "mdbook build docs"

0 commit comments

Comments
 (0)