Skip to content

Commit

Permalink
chore: release 0.2.11
Browse files Browse the repository at this point in the history
  • Loading branch information
MR-Addict committed Aug 2, 2024
1 parent f21e72d commit d3d3629
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 25 deletions.
59 changes: 42 additions & 17 deletions 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-embedify"
version = "0.2.10"
version = "0.2.11"
edition = "2021"
license = "MIT"
readme = "README.md"
Expand Down
4 changes: 2 additions & 2 deletions docs/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ footer.enable = true
footer.message = "Copyright © 2024 • Created with ❤️ by [MR-Addict](https://github.com/MR-Addict)"

announcement-banner.enable = true
announcement-banner.id = "0.2.10"
announcement-banner.id = "0.2.11"
announcement-banner.theme = "default"
announcement-banner.message = "*Version **0.2.10** now has relased, check it out [here](https://github.com/MR-Addict/mdbook-embedify/releases/tag/0.2.10).*"
announcement-banner.message = "*Version **0.2.11** now has relased, check it out [here](https://github.com/MR-Addict/mdbook-embedify/releases/tag/0.2.11).*"

giscus.enable = true
giscus.repo = "MR-Addict/mdbook-embedify"
Expand Down
4 changes: 2 additions & 2 deletions docs/src/global-embedding.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ footer.enable = true
footer.message = "Copyright © 2024 • Created with ❤️ by [MR-Addict](https://github.com/MR-Addict)"

announcement-banner.enable = true
announcement-banner.id = "0.2.10"
announcement-banner.id = "0.2.11"
announcement-banner.theme = "default"
announcement-banner.message = "*Version **0.2.10** now has relased, check it out [here](https://github.com/MR-Addict/mdbook-embedify/releases/tag/0.2.10).*"
announcement-banner.message = "*Version **0.2.11** now has relased, check it out [here](https://github.com/MR-Addict/mdbook-embedify/releases/tag/0.2.11).*"

giscus.enable = true
giscus.repo = "MR-Addict/mdbook-embedify"
Expand Down
6 changes: 3 additions & 3 deletions docs/src/local/announcement-banner.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Announcement banner allows you put important messages at the top of the page. It
<!-- embed ignore begin -->

```text
{% embed announcement-banner id="0.2.10" theme="default" message="*Version **0.2.10** now has relased, check it out [here](https://github.com/MR-Addict/mdbook-embedify/releases/tag/0.2.10).*" %}
{% embed announcement-banner id="0.2.11" theme="default" message="*Version **0.2.11** now has relased, check it out [here](https://github.com/MR-Addict/mdbook-embedify/releases/tag/0.2.11).*" %}
```

<!-- embed ignore end -->
Expand All @@ -26,9 +26,9 @@ However, you may want to enable it for the whole book. You can do this by adding

```toml
announcement-banner.enable = true
announcement-banner.id = "0.2.10"
announcement-banner.id = "0.2.11"
announcement-banner.theme = "default"
announcement-banner.message = "*Version **0.2.10** now has relased, check it out [here](https://github.com/MR-Addict/mdbook-embedify/releases/tag/0.2.10).*"
announcement-banner.message = "*Version **0.2.11** now has relased, check it out [here](https://github.com/MR-Addict/mdbook-embedify/releases/tag/0.2.11).*"
```

Note that announcement banner id must be **unique**, otherwise it won't be shown if there is another announcement banner with the same id when user closed it.

0 comments on commit d3d3629

Please sign in to comment.