diff options
author | Eric Huss <eric@huss.org> | 2023-09-29 22:43:05 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-29 22:43:05 +0000 |
commit | 94e0a44e152d8d7c62620e83e0632160977b1dd5 (patch) | |
tree | fc927fce9e58d81b959059ce9c0001d4e4612ddb | |
parent | 0583119698c379fbd99497006a536d30288f1067 (diff) | |
parent | f25181f68dee2d72266f3ca1ff84753ec3d8d64f (diff) |
Merge pull request #2206 from ehuss/bump-versionv0.4.35
Update to 0.4.35
-rw-r--r-- | CHANGELOG.md | 15 | ||||
-rw-r--r-- | Cargo.lock | 2 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | guide/src/continuous-integration.md | 2 | ||||
-rw-r--r-- | guide/src/format/configuration/general.md | 2 |
5 files changed, 19 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index b44a27dc..71e298b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## mdBook 0.4.35 +[v0.4.34...v0.4.35](https://github.com/rust-lang/mdBook/compare/v0.4.34...v0.4.35) + +### Added +- Added the `book.text-direction` setting for explicit support for right-to-left languages. + [#1641](https://github.com/rust-lang/mdBook/pull/1641) +- Added `rel=prefetch` to the "next" links to potentially improve browser performance. + [#2168](https://github.com/rust-lang/mdBook/pull/2168) +- Added a `.warning` CSS class which is styled for displaying warning blocks. + [#2187](https://github.com/rust-lang/mdBook/pull/2187) + +### Changed +- Better support of the sidebar when JavaScript is disabled. + [#2175](https://github.com/rust-lang/mdBook/pull/2175) + ## mdBook 0.4.34 [v0.4.33...v0.4.34](https://github.com/rust-lang/mdBook/compare/v0.4.33...v0.4.34) @@ -955,7 +955,7 @@ dependencies = [ [[package]] name = "mdbook" -version = "0.4.34" +version = "0.4.35" dependencies = [ "ammonia", "anyhow", @@ -1,6 +1,6 @@ [package] name = "mdbook" -version = "0.4.34" +version = "0.4.35" authors = [ "Mathieu David <mathieudavid@mathieudavid.org>", "Michael-F-Bryan <michaelfbryan@gmail.com>", diff --git a/guide/src/continuous-integration.md b/guide/src/continuous-integration.md index 5a1a24a3..350cbc4d 100644 --- a/guide/src/continuous-integration.md +++ b/guide/src/continuous-integration.md @@ -21,7 +21,7 @@ A simple approach would be to use the popular `curl` CLI tool to download the ex ```sh mkdir bin -curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.34/mdbook-v0.4.34-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin +curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.35/mdbook-v0.4.35-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin bin/mdbook build ``` diff --git a/guide/src/format/configuration/general.md b/guide/src/format/configuration/general.md index 887cf0cd..fefd7159 100644 --- a/guide/src/format/configuration/general.md +++ b/guide/src/format/configuration/general.md @@ -47,7 +47,7 @@ This is general information about your book. key in the configuration file. - **language:** The main language of the book, which is used as a language attribute `<html lang="en">` for example. This is also used to derive the direction of text (RTL, LTR) within the book. -- **text_direction**: The direction of text in the book: Left-to-right (LTR) or Right-to-left (RTL). Possible values: `ltr`, `rtl`. +- **text-direction**: The direction of text in the book: Left-to-right (LTR) or Right-to-left (RTL). Possible values: `ltr`, `rtl`. When not specified, the text direction is derived from the book's `language` attribute. **book.toml** |