Release process: changelog generation and docs (#3446)
* Remove extra pyprojects and update changelog docs * Add script for rendering the changelog * Add docs for how to release the spec * Move legacy changelogs out of the way
This commit is contained in:
parent
61ac438871
commit
e8674688e6
22 changed files with 172 additions and 282 deletions
0
layouts/partials/changelogs/.gitkeep
Normal file
0
layouts/partials/changelogs/.gitkeep
Normal file
|
@ -40,7 +40,7 @@
|
|||
{{ define "partials/render-api-changes" }}
|
||||
<h3 id="{{.id}}">{{ .title }}</h3>
|
||||
{{ $api_path := .path }}
|
||||
{{ $config_file := path.Join $api_path "pyproject.toml" }}
|
||||
{{ $config_file := path.Join $api_path ".." "pyproject.toml" }}
|
||||
{{ $config := readFile $config_file | transform.Unmarshal }}
|
||||
{{ $news_path := path.Join $api_path "newsfragments" }}
|
||||
{{ partial "render-newsfragments" (dict "config" $config "news_path" $news_path )}}
|
||||
|
@ -74,7 +74,7 @@
|
|||
{{ range $config.tool.towncrier.type }}
|
||||
{{ $changes_of_type := (index $types .directory) }}
|
||||
{{ if $changes_of_type }}
|
||||
<li><strong>{{.name}}</strong>
|
||||
<li>{{.name | safeHTML}}
|
||||
<p><ul>
|
||||
{{ range $changes_of_type }}
|
||||
<li><a href="https://github.com/matrix-org/matrix-doc/issues/{{.ticket}}"><strong>{{ .ticket }}: </strong></a>{{ .description | markdownify }}</li>
|
||||
|
|
2
layouts/shortcodes/changelog/changelog-rendered.html
Normal file
2
layouts/shortcodes/changelog/changelog-rendered.html
Normal file
|
@ -0,0 +1,2 @@
|
|||
{{ $partial := .Params.p }}
|
||||
{{ partial $partial . }}
|
Loading…
Add table
Add a link
Reference in a new issue