Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

* Added anchor links to admonition blocks, making it possible to create direct links to specific admonitions. ([#2505], [#2676])
* Added anchor links to admonition blocks, making it possible to create direct links to specific admonitions. ([#2505], [#2676], [#2688])
* Added different banners for dev and unreleased docs ([#2382], [#2682])

## Version [v1.10.2] - 2025-04-25
Expand Down
2 changes: 1 addition & 1 deletion src/html/HTMLWriter.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2396,7 +2396,7 @@ function domify(dctx::DCtx, node::Node, a::MarkdownAST.Admonition)
isempty(cat_sanitized) ? "" : ".is-category-$(cat_sanitized)"
end
node_repr = sprint(io -> show(io, node))
content_hash = bytes2hex(SHA.sha1(node_repr))[1:8]
content_hash = string(hash(node_repr), base = 16)
admonition_id = if !isempty(a.title)
base_id = Documenter.slugify(a.title)
"$(base_id)-$(content_hash)"
Expand Down
Loading