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
32 lines
786 B
TOML
32 lines
786 B
TOML
[book]
|
|
authors = [
|
|
"Max Brunsfeld <maxbrunsfeld@gmail.com>",
|
|
"Amaan Qureshi <amaanq12@gmail.com>",
|
|
]
|
|
language = "en"
|
|
src = "src"
|
|
title = "Tree-sitter"
|
|
|
|
[output.html]
|
|
additional-css = [
|
|
"src/assets/css/playground.css",
|
|
"src/assets/css/mdbook-admonish.css",
|
|
]
|
|
additional-js = ["src/assets/js/playground.js"]
|
|
git-repository-url = "https://github.com/tree-sitter/tree-sitter"
|
|
git-repository-icon = "fa-github"
|
|
edit-url-template = "https://github.com/tree-sitter/tree-sitter/edit/master/docs/{path}"
|
|
|
|
[output.html.search]
|
|
limit-results = 20
|
|
use-boolean-and = true
|
|
boost-title = 2
|
|
boost-hierarchy = 2
|
|
boost-paragraph = 1
|
|
expand = true
|
|
|
|
[preprocessor]
|
|
|
|
[preprocessor.admonish]
|
|
command = "mdbook-admonish"
|
|
assets_version = "3.0.2" # do not edit: managed by `mdbook-admonish install`
|