Merge branch 'main' into rav/spec_release_in_filenames

This commit is contained in:
Richard van der Hoff 2026-01-06 16:18:31 +00:00 committed by GitHub
commit 49f2dbc897
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 73 additions and 19 deletions

View file

@ -250,6 +250,14 @@ jobs:
name: "🔎 Validate generated HTML" name: "🔎 Validate generated HTML"
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [calculate-baseurl, build-spec] needs: [calculate-baseurl, build-spec]
# Run even if `generate-changelog` was skipped.
#
# `build-spec` has a dependency on `generate-changelog` to ensure order of execution
# and to access `needs.generate-changelog.result`. However, `generate-changelog` is
# skipped on tag builds; even a transient dependency on `generate-changelog` is then
# enough for this step to also be skipped by default on tag builds. Hence the need for
# this explicit `if`.
if: ${{ !failure() && !cancelled() }}
steps: steps:
- name: "📥 Source checkout" - name: "📥 Source checkout"
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -310,8 +318,45 @@ jobs:
run: | run: |
cd spec cd spec
tar -czf ../spec-historical.tar.gz * tar -czf ../spec-historical.tar.gz *
- name: "📤 Artifact upload" - name: "📤 Artifact upload"
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: spec-historical-artifact name: spec-historical-artifact
path: spec-historical.tar.gz path: spec-historical.tar.gz
# If we're building a tag, create a release and publish the artifacts
create_release:
name: "Create release"
if: ${{ !failure() && !cancelled() && startsWith(github.ref, 'refs/tags/') }}
needs:
- build-spec
- build-historical-spec
runs-on: ubuntu-latest
steps:
- name: "📥 Check out changelogs"
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
sparse-checkout: |
content/changelog
- name: "📥 Download built spec"
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
with:
name: spec-artifact
- name: "📥 Download historical spec artifact"
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
with:
name: spec-historical-artifact
- name: "✨ Create draft release"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# Remove front-matter from changelog
sed '1,/^---$/d' "content/changelog/${{ github.ref_name }}.md" > changelog.md
# Create a draft release, using the changelog as release notes, and attaching the spec artifacts.
gh release create -d -t "${{ github.ref_name }}" \
-F "changelog.md" \
"${{ github.ref_name }}" \
spec.tar.gz \
spec-historical.tar.gz

View file

@ -0,0 +1 @@
Update non-historic mentions of matrix-doc repo to matrix-spec/-proposals. Contributed by @HarHarLinks.

View file

@ -0,0 +1 @@
Remove unintended TeX formatting. Contributed by @HarHarLinks.

View file

@ -0,0 +1 @@
Auto-create draft releases when building release tags.

View file

@ -0,0 +1 @@
Replace the Twitter link in the footer with our BlueSky and Mastodon socials.

View file

@ -106,25 +106,30 @@ sidebar_menu_compact = true
# desc = "Matrix on GitHub" # desc = "Matrix on GitHub"
# Custom links shown in the center of the footer. (Only supported by our fork of docsy's 'footer/central' partial.) # Custom links shown in the center of the footer. (Only supported by our fork of docsy's 'footer/central' partial.)
[[params.links.bottom]] [[params.links.bottom]]
name = "GitHub" name = "GitHub"
url = "https://github.com/matrix-org" url = "https://github.com/matrix-org"
icon = "fab fa-github" icon = "fab fa-github"
desc = "Matrix on GitHub" desc = "Matrix on GitHub"
[[params.links.bottom]] [[params.links.bottom]]
name = "GitLab" name = "GitLab"
url = "https://gitlab.matrix.org/matrix-org" url = "https://gitlab.matrix.org/matrix-org"
icon = "fab fa-gitlab" icon = "fab fa-gitlab"
desc = "Matrix on GitLab" desc = "Matrix on GitLab"
[[params.links.bottom]] [[params.links.bottom]]
name = "YouTube" name = "YouTube"
url = "https://www.youtube.com/channel/UCVFkW-chclhuyYRbmmfwt6w" url = "https://www.youtube.com/channel/UCVFkW-chclhuyYRbmmfwt6w"
icon = "fab fa-youtube" icon = "fab fa-youtube"
desc = "Matrix YouTube channel" desc = "Matrix YouTube channel"
[[params.links.bottom]] [[params.links.bottom]]
name = "Twitter" name = "Mastodon"
url = "https://twitter.com/matrixdotorg" url = "https://mastodon.matrix.org/@matrix"
icon = "fab fa-x-twitter" icon = "fab fa-mastodon"
desc = "Matrix on Twitter" desc = "Matrix on Mastodon"
[[params.links.bottom]]
name = "Bluesky"
url = "https://bsky.app/profile/matrix.org"
icon = "fab fa-bluesky"
desc = "Matrix on Bluesky"
# configuration for the hugo development server # configuration for the hugo development server

View file

@ -87,7 +87,7 @@ Matrix 1.12 is expected to be released in the July-September 2024 calendar quart
The homeserver SHOULD be able to supply thumbnails for uploaded images The homeserver SHOULD be able to supply thumbnails for uploaded images
and videos. The exact file types which can be thumbnailed are not and videos. The exact file types which can be thumbnailed are not
currently specified - see [Issue currently specified - see [Issue
\#1938](https://github.com/matrix-org/matrix-doc/issues/1938) for more \#1938](https://github.com/matrix-org/matrix-spec/issues/453) for more
information. information.
The thumbnail methods are "crop" and "scale". "scale" tries to return an The thumbnail methods are "crop" and "scale". "scale" tries to return an

View file

@ -921,7 +921,7 @@ collaborate to create a common set of translations for all languages.
{{% boxes/note %}} {{% boxes/note %}}
Known translations for the emoji are available from Known translations for the emoji are available from
<https://github.com/matrix-org/matrix-doc/blob/master/data-definitions/> <https://github.com/matrix-org/matrix-spec/tree/main/data-definitions/>
and can be translated online: and can be translated online:
<https://translate.riot.im/projects/matrix-doc/sas-emoji-v1> <https://translate.riot.im/projects/matrix-doc/sas-emoji-v1>
{{% /boxes/note %}} {{% /boxes/note %}}

View file

@ -119,7 +119,7 @@ Clients SHOULD verify the structure of incoming events to ensure that
the expected keys exist and that they are of the right type. Clients can the expected keys exist and that they are of the right type. Clients can
discard malformed events or display a placeholder message to the user. discard malformed events or display a placeholder message to the user.
Redacted `m.room.message` events MUST be removed from the client. This Redacted `m.room.message` events MUST be removed from the client. This
can either be replaced with placeholder text (e.g. "\[REDACTED\]") or can either be replaced with placeholder text (e.g. "[REDACTED]") or
the redacted message can be removed entirely from the messages view. the redacted message can be removed entirely from the messages view.
Events which have attachments (e.g. `m.image`, `m.file`) SHOULD be Events which have attachments (e.g. `m.image`, `m.file`) SHOULD be

View file

@ -223,7 +223,7 @@ paths:
type: string type: string
# XXX: As mentioned in MSC1227, replacing `[not_]membership` with a JSON # XXX: As mentioned in MSC1227, replacing `[not_]membership` with a JSON
# filter might be a better alternative. # filter might be a better alternative.
# See https://github.com/matrix-org/matrix-doc/issues/1337 # See https://github.com/matrix-org/matrix-doc/issues/1227
- in: query - in: query
name: membership name: membership
description: |- description: |-

View file

@ -78,7 +78,7 @@ paths:
}, },
"room": { "room": {
"regexp": "[^\\s]+\\/[^\\s]+", "regexp": "[^\\s]+\\/[^\\s]+",
"placeholder": "matrix-org/matrix-doc" "placeholder": "matrix-org/matrix-spec"
} }
}, },
"instances": [ "instances": [

View file

@ -6,7 +6,7 @@
* in the specification. * in the specification.
* *
* In detail, it: * In detail, it:
* - fetches all GitHub issues from matrix-doc that have the `proposal` label * - fetches all GitHub issues from matrix-spec-proposals that have the `proposal` label
* - groups them by their state in the MSC process * - groups them by their state in the MSC process
* - does some light massaging of them so it's easier for the Hugo template to work with them * - does some light massaging of them so it's easier for the Hugo template to work with them
* - store them at /data/msc * - store them at /data/msc