Remove h1 from 18-history.md

This commit is contained in:
iBug 2024-04-23 11:45:34 +08:00
parent c7ef8c0fd0
commit 6308789788
3 changed files with 15 additions and 8 deletions

View File

@ -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

View File

@ -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 "<!-- Sourced from CHANGELOG.md -->"
f.puts "<!--\n Sourced from CHANGELOG.md\n See Rakefile `task :changelog` for details\n-->"
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

View File

@ -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
---
<!-- Sourced from CHANGELOG.md -->
{% raw %}
# Changelog
<!--
Sourced from CHANGELOG.md
See Rakefile `task :changelog` for details
-->
{% 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