Fix a few more instances of matrix-doc being used; Fix changelog support for repo split (#1051)

* Use spec-proposals repo for links in spec text and current changelog

* Make the changelog repo-aware

* Changelog
This commit is contained in:
Travis Ralston 2022-05-10 08:59:54 -06:00 committed by GitHub
parent 8a5955e98f
commit fd2d5b8a49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 13 additions and 7 deletions

View file

@ -25,7 +25,7 @@
{{ if ne $status "unstable" }}
<table class="release-info">
<tr><th>Git commit</th><td><a href="https://github.com/matrix-org/matrix-doc/tree/{{ $release_tag }}">https://github.com/matrix-org/matrix-doc/tree/{{ $release_tag }}</a></td>
<tr><th>Git commit</th><td><a href="https://github.com/matrix-org/matrix-spec/tree/{{ $release_tag }}">https://github.com/matrix-org/matrix-spec/tree/{{ $release_tag }}</a></td>
<tr><th>Release date</th><td>{{ .Site.Params.version.release_date }}</td>
</table>
{{ end }}
@ -79,7 +79,12 @@
<li>{{.name | safeHTML}}
<p><ul>
{{ range $changes_of_type }}
<!-- TODO: TravisR: Remove after v1.3 release and just use matrix-spec links -->
{{ if gt .ticket 3000 }}
<li><a href="https://github.com/matrix-org/matrix-doc/issues/{{.ticket}}"><strong>{{ .ticket }}: </strong></a>{{ .description | markdownify }}</li>
{{ else }}
<li><a href="https://github.com/matrix-org/matrix-spec/issues/{{.ticket}}"><strong>{{ .ticket }}: </strong></a>{{ .description | markdownify }}</li>
{{ end }}
{{ end }}
</ul></p>
</li>