Skip to content

Commit 9e5b759

Browse files
authored
Switch to mdbook v0.4.42 (#118)
Problem ======= v0.4.42 of mdBook changed a lot of things. This updates to v0.4.42 and tries to make it as easy as possible to upgrade in the future by making minimal changes to the core css. Closes #117 Testing: It should look and interact the same as the live site with the following exceptions: - Slight margin tweaks - Added paragraph padding
1 parent 9f410e1 commit 9e5b759

20 files changed

+1274
-714
lines changed

.github/workflows/common/set-up-mdbook/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ runs:
1111
uses: jontze/action-mdbook@0765bef0c7c5792f93bf3ed3d487a0ca32c9da33
1212
with:
1313
token: ${{ inputs.token }}
14-
mdbook-version: "0.4.40" # Use a semver compatible string
14+
mdbook-version: "0.4.42" # Use a semver compatible string
1515
# Optional Plugins have to be enabled
1616
use-linkcheck: true
1717
linkcheck-version: "~0.7.7"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ and [link checker](https://github.com/Michael-F-Bryan/mdbook-linkcheck). The lin
1515
or external links.
1616

1717
```bash
18-
cargo install mdbook
18+
cargo install mdbook@v0.4.42
1919
cargo install mdbook-linkcheck
2020
npm install
2121
```

book.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,9 @@ edit-url-template = "https://github.com/frequency-chain/docs/blob/main/{path}"
2727
preferred-dark-theme = "coal"
2828
additional-css = [
2929
"css/tailwind.css",
30+
"css/overrides.css",
3031
"css/side-nav.css",
3132
"css/button-links.css",
32-
"css/header.css",
33-
"css/extended.css",
3433
"css/highlight.css",
3534
"css/highlight-dark.css",
3635
]

css/extended.css

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

css/header.css

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

0 commit comments

Comments
 (0)