From 8444cc3deb8fc4ddd283e7ae4c08bd5e79610938 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Sun, 2 Nov 2025 11:29:24 +0100 Subject: [PATCH] fix(docs): remove multilingual config field Problem: "deploy docs" always pulls in the `latest` release of `mdbook`, which now is a v0.5.0 prerelease with breaking changes -- including removing an (apparently unused) `multilingual` config field in the TOML that is now an error (another breaking change). Solution: Delete the line. Add `workflow_dispatch` to the docs workflow in case follow-up changes are needed; see https://github.com/rust-lang/mdBook/blob/master/CHANGELOG.md#05-migration-guide --- .github/workflows/docs.yml | 1 + docs/book.toml | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 30fe914e..70f59a30 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -3,6 +3,7 @@ on: push: branches: [master] paths: [docs/**] + workflow_dispatch: jobs: deploy-docs: diff --git a/docs/book.toml b/docs/book.toml index 664a1f24..0894c988 100644 --- a/docs/book.toml +++ b/docs/book.toml @@ -4,7 +4,6 @@ authors = [ "Amaan Qureshi ", ] language = "en" -multilingual = false src = "src" title = "Tree-sitter"