diff options
author | Eric Huss <eric@huss.org> | 2022-11-28 10:16:18 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-28 10:16:18 -0800 |
commit | 678b4698352f1fa40b97b1887a2ff6ed7e501230 (patch) | |
tree | 716384033a2a785ef2cf4d24c24337525f2327f0 | |
parent | 4844f72b964fcb3f2844191c265bd8cc32305cca (diff) | |
parent | ded48ddac78aeb09709f3b8b0d75e80942bb8a3f (diff) |
Merge pull request #1938 from ehuss/bump-versionv0.4.22
Update to 0.4.22
-rw-r--r-- | CHANGELOG.md | 31 | ||||
-rw-r--r-- | Cargo.lock | 2 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | guide/src/continuous-integration.md | 2 | ||||
-rw-r--r-- | src/config.rs | 7 |
5 files changed, 37 insertions, 7 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 686004c5..71caf5ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,36 @@ # Changelog +## mdBook 0.4.22 +[40c06f5...4844f72](https://github.com/rust-lang/mdBook/compare/40c06f5...4844f72) + +### Added +- Added a `--chapter` option to `mdbook test` to specify a specific chapter to test. + [#1741](https://github.com/rust-lang/mdBook/pull/1741) +- Added CSS styling for `<kbd>` tags. + [#1906](https://github.com/rust-lang/mdBook/pull/1906) +- Added pre-compiled binaries for `x86_64-unknown-linux-musl` and `aarch64-unknown-linux-musl` (see [Releases](https://github.com/rust-lang/mdBook/releases)). + [#1862](https://github.com/rust-lang/mdBook/pull/1862) +- Added `build.extra-watch-dirs` which is an array of additional directories to watch for changes when running `mdbook serve`. + [#1884](https://github.com/rust-lang/mdBook/pull/1884) + +### Changed +- Removed the `type="text/javascript"` attribute from `<script>` tags. + [#1881](https://github.com/rust-lang/mdBook/pull/1881) +- Switched to building with Rust Edition 2021. + This raises the minimum supported Rust version to 1.56. + [#1887](https://github.com/rust-lang/mdBook/pull/1887) +- When hidden code is hidden, the hidden parts are no longer copied to the clipboard via the copy button. + [#1911](https://github.com/rust-lang/mdBook/pull/1911) +- Various HTML changes and fixes to be more compliant with HTML5. + [#1924](https://github.com/rust-lang/mdBook/pull/1924) +- The theme picker now shows which theme is currently selected. + [#1935](https://github.com/rust-lang/mdBook/pull/1935) + +### Fixed +- Avoid blank line at the end of an ACE code block + [#1836](https://github.com/rust-lang/mdBook/pull/1836) + + ## mdBook 0.4.21 [92afe9b...8f01d02](https://github.com/rust-lang/mdBook/compare/92afe9b...8f01d02) @@ -796,7 +796,7 @@ checksum = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f" [[package]] name = "mdbook" -version = "0.4.21" +version = "0.4.22" dependencies = [ "ammonia", "anyhow", @@ -1,6 +1,6 @@ [package] name = "mdbook" -version = "0.4.21" +version = "0.4.22" 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 c39cb010..7639fd05 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.21/mdbook-v0.4.21-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin +curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.22/mdbook-v0.4.22-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin bin/mdbook build ``` diff --git a/src/config.rs b/src/config.rs index d9696ea5..0c367d84 100644 --- a/src/config.rs +++ b/src/config.rs @@ -530,10 +530,9 @@ pub struct HtmlConfig { /// directly jumping to editing the currently viewed page. /// Contains {path} that is replaced with chapter source file path pub edit_url_template: Option<String>, - /// Endpoint of websocket, for livereload usage. Value loaded from .toml file - /// is ignored, because our code overrides this field with the value [`LIVE_RELOAD_ENDPOINT`] - /// - /// [`LIVE_RELOAD_ENDPOINT`]: cmd::serve::LIVE_RELOAD_ENDPOINT + /// Endpoint of websocket, for livereload usage. Value loaded from .toml + /// file is ignored, because our code overrides this field with an + /// internal value (`LIVE_RELOAD_ENDPOINT) /// /// This config item *should not be edited* by the end user. #[doc(hidden)] |