commit
678b469835
31
CHANGELOG.md
31
CHANGELOG.md
|
@ -1,5 +1,36 @@
|
||||||
# Changelog
|
# 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
|
## mdBook 0.4.21
|
||||||
[92afe9b...8f01d02](https://github.com/rust-lang/mdBook/compare/92afe9b...8f01d02)
|
[92afe9b...8f01d02](https://github.com/rust-lang/mdBook/compare/92afe9b...8f01d02)
|
||||||
|
|
||||||
|
|
|
@ -796,7 +796,7 @@ checksum = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "mdbook"
|
name = "mdbook"
|
||||||
version = "0.4.21"
|
version = "0.4.22"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ammonia",
|
"ammonia",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "mdbook"
|
name = "mdbook"
|
||||||
version = "0.4.21"
|
version = "0.4.22"
|
||||||
authors = [
|
authors = [
|
||||||
"Mathieu David <mathieudavid@mathieudavid.org>",
|
"Mathieu David <mathieudavid@mathieudavid.org>",
|
||||||
"Michael-F-Bryan <michaelfbryan@gmail.com>",
|
"Michael-F-Bryan <michaelfbryan@gmail.com>",
|
||||||
|
|
|
@ -21,7 +21,7 @@ A simple approach would be to use the popular `curl` CLI tool to download the ex
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
mkdir bin
|
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
|
bin/mdbook build
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -530,10 +530,9 @@ pub struct HtmlConfig {
|
||||||
/// directly jumping to editing the currently viewed page.
|
/// directly jumping to editing the currently viewed page.
|
||||||
/// Contains {path} that is replaced with chapter source file path
|
/// Contains {path} that is replaced with chapter source file path
|
||||||
pub edit_url_template: Option<String>,
|
pub edit_url_template: Option<String>,
|
||||||
/// Endpoint of websocket, for livereload usage. Value loaded from .toml file
|
/// Endpoint of websocket, for livereload usage. Value loaded from .toml
|
||||||
/// is ignored, because our code overrides this field with the value [`LIVE_RELOAD_ENDPOINT`]
|
/// file is ignored, because our code overrides this field with an
|
||||||
///
|
/// internal value (`LIVE_RELOAD_ENDPOINT)
|
||||||
/// [`LIVE_RELOAD_ENDPOINT`]: cmd::serve::LIVE_RELOAD_ENDPOINT
|
|
||||||
///
|
///
|
||||||
/// This config item *should not be edited* by the end user.
|
/// This config item *should not be edited* by the end user.
|
||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
|
|
Loading…
Reference in New Issue