Skip to content

Commit

Permalink
Remove h1 from 18-history.md
Browse files Browse the repository at this point in the history
  • Loading branch information
iBug committed Apr 23, 2024
1 parent c7ef8c0 commit 6308789
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
9 changes: 7 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down
12 changes: 7 additions & 5 deletions docs/_docs/18-history.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6308789

Please sign in to comment.