Update CHANGELOG

This commit is contained in:
iBug 2024-08-20 17:04:25 +08:00
parent 96149caa54
commit 7d212bc310
3 changed files with 11 additions and 2 deletions

View File

@ -7,6 +7,9 @@
- Add RTL Support. [#4886](https://github.com/mmistakes/minimal-mistakes/pull/4886) - Add RTL Support. [#4886](https://github.com/mmistakes/minimal-mistakes/pull/4886)
- Add missing Polish translation. [#4890](https://github.com/mmistakes/minimal-mistakes/pull/4890) - Add missing Polish translation. [#4890](https://github.com/mmistakes/minimal-mistakes/pull/4890)
- Rewrite most directions with [CSS logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values). - Rewrite most directions with [CSS logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values).
- Remove unnecessary "type" attribute (#4956)
- The "if" means the default is never used (#4955)
- For pages without a title, show the site title only once (#4959)
### Bug Fixes ### Bug Fixes

View File

@ -107,7 +107,10 @@ file "docs/_docs/18-history.md" => "CHANGELOG.md" do |t|
f.puts "" f.puts ""
f.puts "{% raw %}" f.puts "{% raw %}"
# Remove H1 # Remove H1
changelog = File.read(t.prerequisites.first).gsub(/^# [^\n]*$/m, "").strip changelog = File.read(t.prerequisites.first)
.gsub(/^# [^\n]*$/m, "")
.gsub(/\(#(\d+)\)$/m, "[#\\1](https://github.com/mmistakes/minimal-mistakes/issues/\\1)")
.strip
f.write changelog f.write changelog
f.puts "" f.puts ""
f.puts "{% endraw %}" f.puts "{% endraw %}"

View File

@ -5,7 +5,7 @@ permalink: "/docs/history/"
excerpt: Change log of enhancements and bug fixes made to the theme. excerpt: Change log of enhancements and bug fixes made to the theme.
sidebar: sidebar:
nav: docs nav: docs
last_modified_at: '2024-06-27T21:13:13+08:00' last_modified_at: '2024-08-20T17:04:07+08:00'
toc: false toc: false
--- ---
@ -22,6 +22,9 @@ toc: false
- Add RTL Support. [#4886](https://github.com/mmistakes/minimal-mistakes/pull/4886) - Add RTL Support. [#4886](https://github.com/mmistakes/minimal-mistakes/pull/4886)
- Add missing Polish translation. [#4890](https://github.com/mmistakes/minimal-mistakes/pull/4890) - Add missing Polish translation. [#4890](https://github.com/mmistakes/minimal-mistakes/pull/4890)
- Rewrite most directions with [CSS logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values). - Rewrite most directions with [CSS logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values).
- Remove unnecessary "type" attribute [#4956](https://github.com/mmistakes/minimal-mistakes/issues/4956)
- The "if" means the default is never used [#4955](https://github.com/mmistakes/minimal-mistakes/issues/4955)
- For pages without a title, show the site title only once [#4959](https://github.com/mmistakes/minimal-mistakes/issues/4959)
### Bug Fixes ### Bug Fixes