diff --git a/CHANGELOG.md b/CHANGELOG.md index d6e9c938..6b5c2d8d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ ### Enhancements -- Add Ukranian translations. [#4273](https://github.com/mmistakes/minimal-mistakes/pull/4273) +- Add Ukrainian translations. [#4273](https://github.com/mmistakes/minimal-mistakes/pull/4273) ### Maintenance diff --git a/Rakefile b/Rakefile index 2811a894..6787734f 100644 --- a/Rakefile +++ b/Rakefile @@ -6,6 +6,8 @@ require "rake/clean" require "time" require "yaml" +task :default => [:copyright, :changelog] + package_json = JSON.parse(File.read("package.json")) def listen_ignore_paths(base, options) @@ -100,9 +102,12 @@ file "docs/_docs/18-history.md" => "CHANGELOG.md" do |t| f.puts front_matter.to_yaml f.puts "---" f.puts "" - f.puts "" + f.puts "" + f.puts "" f.puts "{% raw %}" - f.write File.read(t.prerequisites.first) + changelog = File.read(t.prerequisites.first).gsub(/^# [^\n]*$/m, "").strip + f.write changelog + f.puts "" f.puts "{% endraw %}" end end diff --git a/docs/_docs/18-history.md b/docs/_docs/18-history.md index c81d2657..10734f18 100644 --- a/docs/_docs/18-history.md +++ b/docs/_docs/18-history.md @@ -5,19 +5,21 @@ permalink: "/docs/history/" excerpt: Change log of enhancements and bug fixes made to the theme. sidebar: nav: docs -last_modified_at: '2024-04-23T03:55:34+08:00' +last_modified_at: '2024-04-23T11:44:09+08:00' toc: false --- - -{% raw %} -# Changelog + +{% raw %} ## Unreleased ### Enhancements -- Add Ukranian translations. [#4273](https://github.com/mmistakes/minimal-mistakes/pull/4273) +- Add Ukrainian translations. [#4273](https://github.com/mmistakes/minimal-mistakes/pull/4273) ### Maintenance