[doc] Update release notes - Short summary and details

- fix render_release_notes.rb for ruby 3
- allow markdown in details blocks
- fix tocmaker
This commit is contained in:
Andreas Dangel
2024-03-08 20:20:46 +01:00
parent 65d4d26dbf
commit 81a24f6f8f
4 changed files with 36 additions and 6 deletions

View File

@ -18,7 +18,7 @@ class TocMakerBlock < Liquid::Block
end
def to_internal_link(header)
url = header.downcase.gsub(/\s+/, "-")
url = header.downcase.gsub(/\s+/, "-").gsub(/[:\(\)]+/, "")
"[#{header}](##{url})"
end