mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-13 22:54:10 +02:00
Output changelog checklists
Fixes: #1682 Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
This commit is contained in:
parent
215982abc2
commit
4250f33645
|
|
@ -138,3 +138,11 @@ sidebar_menu_compact = true
|
||||||
[[module.imports]]
|
[[module.imports]]
|
||||||
path = "github.com/matrix-org/docsy"
|
path = "github.com/matrix-org/docsy"
|
||||||
disable = false
|
disable = false
|
||||||
|
|
||||||
|
# custom output formats
|
||||||
|
|
||||||
|
[outputFormats]
|
||||||
|
[outputFormats.Checklist]
|
||||||
|
mediaType = "text/markdown"
|
||||||
|
isPlainText = true
|
||||||
|
baseName = "checklist"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,9 @@
|
||||||
---
|
---
|
||||||
|
title: v1.1
|
||||||
|
type: docs
|
||||||
|
outputs:
|
||||||
|
- html
|
||||||
|
- checklist
|
||||||
date: 2021-11-09T00:00:00+0000
|
date: 2021-11-09T00:00:00+0000
|
||||||
---
|
---
|
||||||
<!--
|
<!--
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,9 @@
|
||||||
---
|
---
|
||||||
|
title: v1.10
|
||||||
|
type: docs
|
||||||
|
outputs:
|
||||||
|
- html
|
||||||
|
- checklist
|
||||||
date: 2024-03-22T09:59:45-06:00
|
date: 2024-03-22T09:59:45-06:00
|
||||||
---
|
---
|
||||||
<!--
|
<!--
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,9 @@
|
||||||
---
|
---
|
||||||
|
title: v1.11
|
||||||
|
type: docs
|
||||||
|
outputs:
|
||||||
|
- html
|
||||||
|
- checklist
|
||||||
date: 2024-06-20T10:20:43-06:00
|
date: 2024-06-20T10:20:43-06:00
|
||||||
---
|
---
|
||||||
<!--
|
<!--
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,9 @@
|
||||||
---
|
---
|
||||||
|
title: v1.2
|
||||||
|
type: docs
|
||||||
|
outputs:
|
||||||
|
- html
|
||||||
|
- checklist
|
||||||
date: 2022-02-02T00:00:00+0000
|
date: 2022-02-02T00:00:00+0000
|
||||||
---
|
---
|
||||||
<!--
|
<!--
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,9 @@
|
||||||
---
|
---
|
||||||
|
title: v1.3
|
||||||
|
type: docs
|
||||||
|
outputs:
|
||||||
|
- html
|
||||||
|
- checklist
|
||||||
date: 2022-06-15T00:00:00+0100
|
date: 2022-06-15T00:00:00+0100
|
||||||
---
|
---
|
||||||
<!--
|
<!--
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,9 @@
|
||||||
---
|
---
|
||||||
|
title: v1.4
|
||||||
|
type: docs
|
||||||
|
outputs:
|
||||||
|
- html
|
||||||
|
- checklist
|
||||||
date: 2022-09-29T00:00:00+0100
|
date: 2022-09-29T00:00:00+0100
|
||||||
---
|
---
|
||||||
<!--
|
<!--
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,9 @@
|
||||||
---
|
---
|
||||||
|
title: v1.5
|
||||||
|
type: docs
|
||||||
|
outputs:
|
||||||
|
- html
|
||||||
|
- checklist
|
||||||
date: 2022-11-17T08:22:11-07:00
|
date: 2022-11-17T08:22:11-07:00
|
||||||
---
|
---
|
||||||
<!--
|
<!--
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,9 @@
|
||||||
---
|
---
|
||||||
|
title: v1.6
|
||||||
|
type: docs
|
||||||
|
outputs:
|
||||||
|
- html
|
||||||
|
- checklist
|
||||||
date: 2023-02-14T08:25:40-07:00
|
date: 2023-02-14T08:25:40-07:00
|
||||||
---
|
---
|
||||||
<!--
|
<!--
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,9 @@
|
||||||
---
|
---
|
||||||
|
title: v1.7
|
||||||
|
type: docs
|
||||||
|
outputs:
|
||||||
|
- html
|
||||||
|
- checklist
|
||||||
date: 2023-05-25T09:47:21-06:00
|
date: 2023-05-25T09:47:21-06:00
|
||||||
---
|
---
|
||||||
<!--
|
<!--
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,9 @@
|
||||||
---
|
---
|
||||||
|
title: v1.8
|
||||||
|
type: docs
|
||||||
|
outputs:
|
||||||
|
- html
|
||||||
|
- checklist
|
||||||
date: 2023-08-23T09:23:53-06:00
|
date: 2023-08-23T09:23:53-06:00
|
||||||
---
|
---
|
||||||
<!--
|
<!--
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,9 @@
|
||||||
---
|
---
|
||||||
|
title: v1.9
|
||||||
|
type: docs
|
||||||
|
outputs:
|
||||||
|
- html
|
||||||
|
- checklist
|
||||||
date: 2023-11-29T10:04:26-07:00
|
date: 2023-11-29T10:04:26-07:00
|
||||||
---
|
---
|
||||||
<!--
|
<!--
|
||||||
|
|
|
||||||
1
layouts/_default/single.checklist.md
Normal file
1
layouts/_default/single.checklist.md
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
{{ .RawContent | replaceRE "\n- " "\n- [ ] " | replaceRE "<!--(.|\\s)*?-->\n?" "" }}
|
||||||
|
|
@ -3,8 +3,6 @@
|
||||||
"content/changelogs"
|
"content/changelogs"
|
||||||
*/}}
|
*/}}
|
||||||
|
|
||||||
{{ with .Page.Resources.Match "*.md" }}
|
{{ range .Page.RegularPages }}
|
||||||
{{ range ((sort . "Params.date" "desc")) }}
|
|
||||||
{{ .RenderShortcodes }}
|
{{ .RenderShortcodes }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,11 @@ towncrier --yes
|
||||||
# to sort the changelogs at build time.
|
# to sort the changelogs at build time.
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
---
|
---
|
||||||
|
title: $VERSION
|
||||||
|
type: docs
|
||||||
|
outputs:
|
||||||
|
- html
|
||||||
|
- checklist
|
||||||
date: $(date -Iseconds)
|
date: $(date -Iseconds)
|
||||||
---
|
---
|
||||||
EOF
|
EOF
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue