Fix the building of the docs with mdbook 0.5
This commit is contained in:
@@ -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"
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user