docs: move CHANGELOG into exampleSite #33

that makes it possible to include it into the official documentation
This commit is contained in:
Sören Weber 2021-08-23 22:13:16 +02:00
parent c31371b871
commit 2a5deb0534
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589
3 changed files with 3 additions and 4 deletions

View file

@ -1,5 +1,5 @@
module.exports = {
changelogFilename: "CHANGELOG.md",
changelogFilename: "exampleSite/content/basics/CHANGELOG.md",
dataSource: "milestones",
groupBy: {
"Enhancements": [
@ -30,6 +30,7 @@ module.exports = {
milestoneMatch: "{{tag_name}}",
onlyMilestones: true,
template: {
changelogTitle: "",
group: "\n### {{heading}}\n",
release: ({ body, date, release }) => `## ${release} (` + date.replace( /(\d+)\/(\d+)\/(\d+)/, '$3-$2-$1' ) + `)\n${body}`,
},

View file

@ -27,7 +27,7 @@ We are using [gren](https://github.com/github-tools/github-release-notes) to gen
- Add the changelog to git and update the tag
```shell
git add CHANGELOG.md
git add exampleSite/content/basics/CHANGELOG.md
git commit --message "Ship tag <tag>"
git push origin main
git tag --message "" --force <tag>

View file

@ -1,5 +1,3 @@
# Changelog
## 1.2.0 (2021-07-26)
### Enhancements