Skip to content

Commit

Permalink
Merge pull request #167 from tommilligan/prep-1.15.0
Browse files Browse the repository at this point in the history
chore: prep v1.15.0 release
  • Loading branch information
tommilligan authored Dec 30, 2023
2 parents c4a05da + 467f5f8 commit 8a0ecc5
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
8 changes: 5 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@

## Unreleased

### Changed
## 1.15.0

### Added

- `additional-css` _UNIX_ style path normalization ([#161](https://github.com/tommilligan/mdbook-admonish/issues/161))
- Support [custom directives](https://tommilligan.github.io/mdbook-admonish/overview.html#custom-blocks) with the new `mdbook-admonish generate-custom` helper. See the [mdbook-admonish book](https://tommilligan.github.io/mdbook-admonish/overview.html#custom-blocks) for guidance. Thanks to [@Sky9x](https://github.com/Sky9x) for helping design this feature! ([#165](https://github.com/tommilligan/mdbook-admonish/pull/165))

### Fixed

- Typo from _prereprocessor_ to _preprocessor_
- `additional-css` unix style path normalization. Thanks to [@carlocorradini](https://github.com/carlocorradini) for reporting and fixing! ([#163](https://github.com/tommilligan/mdbook-admonish/pull/163))

## 1.14.0

Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mdbook-admonish"
version = "1.14.0"
version = "1.15.0"
edition = "2021"
rust-version = "1.66.0"

Expand Down
1 change: 1 addition & 0 deletions src/custom.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ fn directive_css(name: &str, svg_data: &str, tint: HexColor) -> String {
)
}

#[doc(hidden)]
pub fn css_from_config(book_dir: &Path, config: &str) -> Result<String> {
let config = crate::book_config::admonish_config_from_str(config)?;
let custom_directives = config.custom;
Expand Down
5 changes: 5 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
//! For usage and reference, see the [mdbook-admonish book](https://tommilligan.github.io/mdbook-admonish/)
//!
//! Documentation is hosted externally, as docs.rs does not currently support plugins.
mod book_config;
mod config;
#[doc(hidden)]
pub mod custom;
mod markdown;
mod parse;
Expand Down

0 comments on commit 8a0ecc5

Please sign in to comment.