docs: fixes #917

ordering, wildspace
This commit is contained in:
Sören Weber 2024-09-20 22:30:11 +02:00
parent 6d3ef8d537
commit 0bfd766acc
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
10 changed files with 12 additions and 10 deletions

View file

@ -108,7 +108,7 @@ runs:
GITHUB_TOKEN: ${{ inputs.github_token }}
GREN_GITHUB_TOKEN: ${{ inputs.github_token }}
run: |
echo -e "+++\ndisableToc = false\nhidden = true\ntitle = \"Version ${{ steps.majorvers.outputs.value }}\"\ntype = \"releasenotes\"\nweight = -${{ steps.majorvers.outputs.value }}\n+++\n\n{{% pages showhidden=\"true\" showdivider=\"true\" reverse="true" %}}\n" > exampleSite/content/basics/releasenotes/${{ steps.majorvers.outputs.value }}/_index.en.md
echo -e "+++\ndisableToc = false\nhidden = true\ntitle = \"Version ${{ steps.majorvers.outputs.value }}\"\ntype = \"releasenotes\"\nweight = -${{ steps.majorvers.outputs.value }}\n+++\n\n{{% pages showhidden=\"true\" showdivider=\"true\" %}}" > exampleSite/content/basics/releasenotes/${{ steps.majorvers.outputs.value }}/_index.en.md
- name: Update releasenotes front matter
uses: surahmansada/file-regex-replace@v1
@ -138,8 +138,8 @@ runs:
GREN_GITHUB_TOKEN: ${{ inputs.github_token }}
run: |
mkdir -p exampleSite/content/basics/history/${{ 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\" %}}\n" > exampleSite/content/basics/history/${{ 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\" %}}\n" > 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 }}\"\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 }}.${{ 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
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"
- name: Generate piratish changelogs

View file

@ -5,4 +5,4 @@ type = "releasenotes"
weight = -1
+++
{{% pages showdivider="true" showhidden="true" reverse="true" %}}
{{% pages showhidden="true" showdivider="true" %}}

View file

@ -5,4 +5,4 @@ type = "releasenotes"
weight = -2
+++
{{% pages showdivider="true" showhidden="true" reverse="true" %}}
{{% pages showhidden="true" showdivider="true" %}}

View file

@ -5,4 +5,4 @@ type = "releasenotes"
weight = -3
+++
{{% pages showdivider="true" showhidden="true" reverse="true" %}}
{{% pages showhidden="true" showdivider="true" %}}

View file

@ -5,4 +5,4 @@ type = "releasenotes"
weight = -4
+++
{{% pages showdivider="true" showhidden="true" reverse="true" %}}
{{% pages showhidden="true" showdivider="true" %}}

View file

@ -5,4 +5,4 @@ type = "releasenotes"
weight = -5
+++
{{% pages showdivider="true" showhidden="true" reverse="true" %}}
{{% pages showhidden="true" showdivider="true" %}}

View file

@ -6,4 +6,4 @@ type = "releasenotes"
weight = -6
+++
{{% pages showdivider="true" showhidden="true" reverse="true" %}}
{{% pages showhidden="true" showdivider="true" %}}

View file

@ -6,4 +6,4 @@ type = "releasenotes"
weight = -7
+++
{{% pages showdivider="true" showhidden="true" reverse="true" %}}
{{% pages showhidden="true" showdivider="true" %}}

View file

@ -1,5 +1,6 @@
+++
[_build]
render = "never"
list = "never"
+++

View file

@ -1,5 +1,6 @@
+++
[_build]
render = "never"
list = "never"
+++
{{< piratify >}}