Fix the building of the docs with mdbook 0.5

This commit is contained in:
Quentin Gliech
2025-11-19 13:12:20 +01:00
parent 6a44ae083b
commit cab63f521d
2 changed files with 2 additions and 3 deletions

View File

@@ -7,9 +7,8 @@
# https://rust-lang.github.io/mdBook/format/config.html # https://rust-lang.github.io/mdBook/format/config.html
[book] [book]
title = "Matrix Authentication Service" title = "Matrix Authentication Service"
authors = ["The Matrix.org Foundation C.I.C."] authors = ["Element Backend Team"]
language = "en" language = "en"
multilingual = false
src = "docs" src = "docs"

View File

@@ -14,7 +14,7 @@ set -eux
# Install the dependencies if we're in the Cloudflare Pages build environment # Install the dependencies if we're in the Cloudflare Pages build environment
# In this environment, the CF_PAGES environment variable is set to 1 # In this environment, the CF_PAGES environment variable is set to 1
if [ "${CF_PAGES:-""}" = "1" ]; then if [ "${CF_PAGES:-""}" = "1" ]; then
MDBOOK_VERSION=0.4.32 MDBOOK_VERSION=0.5.0
# Install rustup # Install rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y