mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
docs: rename changelog URL #917
This commit is contained in:
parent
06c45128ec
commit
eee8053cf2
423 changed files with 14 additions and 14 deletions
16
.github/actions/release_milestone/action.yaml
vendored
16
.github/actions/release_milestone/action.yaml
vendored
|
@ -137,23 +137,23 @@ runs:
|
||||||
GITHUB_TOKEN: ${{ inputs.github_token }}
|
GITHUB_TOKEN: ${{ inputs.github_token }}
|
||||||
GREN_GITHUB_TOKEN: ${{ inputs.github_token }}
|
GREN_GITHUB_TOKEN: ${{ inputs.github_token }}
|
||||||
run: |
|
run: |
|
||||||
mkdir -p exampleSite/content/basics/history/${{ steps.majorvers.outputs.value }}/${{ steps.minorvers.outputs.value }}
|
mkdir -p exampleSite/content/basics/changelog/${{ steps.majorvers.outputs.value }}/${{ steps.minorvers.outputs.value }}
|
||||||
echo -e "+++\ndisableToc = false\nhidden = true\ntitle = \"Version ${{ steps.majorvers.outputs.value }}\"\ntype = \"changelog\"\nweight = -${{ steps.majorvers.outputs.value }}\n+++\n\n{{% pages showhidden=\"true\" showdivider=\"true\" %}}" > exampleSite/content/basics/history/${{ steps.majorvers.outputs.value }}/_index.en.md
|
echo -e "+++\ndisableToc = false\nhidden = true\ntitle = \"Version ${{ steps.majorvers.outputs.value }}\"\ntype = \"changelog\"\nweight = -${{ steps.majorvers.outputs.value }}\n+++\n\n{{% pages showhidden=\"true\" showdivider=\"true\" %}}" > exampleSite/content/basics/changelog/${{ steps.majorvers.outputs.value }}/_index.en.md
|
||||||
echo -e "+++\ndisableToc = false\nhidden = true\ntitle = \"Version ${{ steps.majorvers.outputs.value }}.${{ steps.minorvers.outputs.value }}\"\ntype = \"changelog\"\nweight = -${{ steps.minorvers.outputs.value }}\n+++\n\n{{% pages showhidden=\"true\" showdivider=\"true\" reverse=\"true\" %}}" > exampleSite/content/basics/history/${{ steps.majorvers.outputs.value }}/${{ steps.minorvers.outputs.value }}/_index.en.md
|
echo -e "+++\ndisableToc = false\nhidden = true\ntitle = \"Version ${{ steps.majorvers.outputs.value }}.${{ steps.minorvers.outputs.value }}\"\ntype = \"changelog\"\nweight = -${{ steps.minorvers.outputs.value }}\n+++\n\n{{% pages showhidden=\"true\" showdivider=\"true\" reverse=\"true\" %}}" > exampleSite/content/basics/changelog/${{ steps.majorvers.outputs.value }}/${{ steps.minorvers.outputs.value }}/_index.en.md
|
||||||
npx github-release-notes@0.17.1 changelog --generate --changelog-filename exampleSite/content/basics/history/${{ steps.majorvers.outputs.value }}/${{ steps.minorvers.outputs.value }}/${{ steps.paddedpatchvers.outputs.value }}.en.md --tags "$MILESTONE"
|
npx github-release-notes@0.17.1 changelog --generate --changelog-filename exampleSite/content/basics/changelog/${{ steps.majorvers.outputs.value }}/${{ steps.minorvers.outputs.value }}/${{ steps.paddedpatchvers.outputs.value }}.en.md --tags "$MILESTONE"
|
||||||
|
|
||||||
- name: Generate piratish changelogs
|
- name: Generate piratish changelogs
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
echo -e "+++\ndisableToc = false\nhidden = true\ntitle = \"Version ${{ steps.majorvers.outputs.value }}\"\ntype = \"changelog\"\nweight = -${{ steps.majorvers.outputs.value }}\n+++\n{{< piratify true >}}" > exampleSite/content/basics/history/${{ steps.majorvers.outputs.value }}/_index.pir.md
|
echo -e "+++\ndisableToc = false\nhidden = true\ntitle = \"Version ${{ steps.majorvers.outputs.value }}\"\ntype = \"changelog\"\nweight = -${{ steps.majorvers.outputs.value }}\n+++\n{{< piratify true >}}" > exampleSite/content/basics/changelog/${{ steps.majorvers.outputs.value }}/_index.pir.md
|
||||||
echo -e "+++\ndisableToc = false\nhidden = true\ntitle = \"Version ${{ steps.majorvers.outputs.value }}.${{ steps.minorvers.outputs.value }}\"\ntype = \"changelog\"\nweight = -${{ steps.minorvers.outputs.value }}\n+++\n{{< piratify true >}}" > exampleSite/content/basics/history/${{ steps.majorvers.outputs.value }}/${{ steps.minorvers.outputs.value }}/_index.pir.md
|
echo -e "+++\ndisableToc = false\nhidden = true\ntitle = \"Version ${{ steps.majorvers.outputs.value }}.${{ steps.minorvers.outputs.value }}\"\ntype = \"changelog\"\nweight = -${{ steps.minorvers.outputs.value }}\n+++\n{{< piratify true >}}" > exampleSite/content/basics/changelog/${{ steps.majorvers.outputs.value }}/${{ steps.minorvers.outputs.value }}/_index.pir.md
|
||||||
echo -e "+++\n+++\n{{< piratify true >}}" > exampleSite/content/basics/history/${{ steps.majorvers.outputs.value }}/${{ steps.minorvers.outputs.value }}/${{ steps.paddedpatchvers.outputs.value }}.pir.md
|
echo -e "+++\n+++\n{{< piratify true >}}" > exampleSite/content/basics/changelog/${{ steps.majorvers.outputs.value }}/${{ steps.minorvers.outputs.value }}/${{ steps.paddedpatchvers.outputs.value }}.pir.md
|
||||||
|
|
||||||
- name: Read changelog
|
- name: Read changelog
|
||||||
id: changelog_docs
|
id: changelog_docs
|
||||||
uses: guibranco/github-file-reader-action-v2@latest
|
uses: guibranco/github-file-reader-action-v2@latest
|
||||||
with:
|
with:
|
||||||
path: exampleSite/content/basics/history/${{ steps.majorvers.outputs.value }}/${{ steps.minorvers.outputs.value }}/${{ steps.paddedpatchvers.outputs.value }}.en.md
|
path: exampleSite/content/basics/changelog/${{ steps.majorvers.outputs.value }}/${{ steps.minorvers.outputs.value }}/${{ steps.paddedpatchvers.outputs.value }}.en.md
|
||||||
|
|
||||||
- name: Write changelog to CHANGELOG.md
|
- name: Write changelog to CHANGELOG.md
|
||||||
uses: surahmansada/file-regex-replace@v1
|
uses: surahmansada/file-regex-replace@v1
|
||||||
|
|
|
@ -63,7 +63,7 @@ For a detailed description of the theme's capabilities visit the [official docum
|
||||||
|
|
||||||
## Releasenotes & Changelog
|
## Releasenotes & Changelog
|
||||||
|
|
||||||
See the [What's New](https://mcshelby.github.io/hugo-theme-relearn/basics/releasenotes) page for release highlights or the detailed [changelog](https://mcshelby.github.io/hugo-theme-relearn/basics/history) for a complete list of changes.
|
See the [What's New](https://mcshelby.github.io/hugo-theme-relearn/basics/releasenotes) page for release highlights or the detailed [changelog](https://mcshelby.github.io/hugo-theme-relearn/basics/changelog) for a complete list of changes.
|
||||||
|
|
||||||
## Contributions
|
## Contributions
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ title = "Hugo Relearn Theme"
|
||||||
type = "home"
|
type = "home"
|
||||||
[[cascade]]
|
[[cascade]]
|
||||||
[cascade._target]
|
[cascade._target]
|
||||||
path = "/basics/history/*/*/*"
|
path = "/basics/changelog/*/*/*"
|
||||||
[cascade.params]
|
[cascade.params]
|
||||||
[cascade.params._build]
|
[cascade.params._build]
|
||||||
render = "never"
|
render = "never"
|
||||||
|
|
|
@ -4,7 +4,7 @@ title = "Cap'n Hugo Relearrrn Theme"
|
||||||
type = "home"
|
type = "home"
|
||||||
[[cascade]]
|
[[cascade]]
|
||||||
[cascade._target]
|
[cascade._target]
|
||||||
path = "/basics/history/*/*/*"
|
path = "/basics/changelog/*/*/*"
|
||||||
[cascade.params]
|
[cascade.params]
|
||||||
[cascade.params._build]
|
[cascade.params._build]
|
||||||
render = "never"
|
render = "never"
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue