diff --git a/CHANGELOG.md b/CHANGELOG.md index b44a27dcc3..71e298b4c3 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) diff --git a/Cargo.lock b/Cargo.lock index f8ccafc38b..2346f5b9b2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -955,7 +955,7 @@ dependencies = [ [[package]] name = "mdbook" -version = "0.4.34" +version = "0.4.35" dependencies = [ "ammonia", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index 05fb077df3..9f93cf08f6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mdbook" -version = "0.4.34" +version = "0.4.35" authors = [ "Mathieu David ", "Michael-F-Bryan ", diff --git a/guide/src/continuous-integration.md b/guide/src/continuous-integration.md index 5a1a24a3c4..350cbc4d73 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 887cf0cd68..fefd715918 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 `` 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**