-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
Problem Description
Hello, mdbook-i18n-helpers Team,
I previously opened an issue reporting an error when using mdbook with mdbook-i18n-helpers:
The error message is as follows:
thread 'main' panicked at crates/mdbook-core/src/config.rs:184:41:
unreachable: invalid key `output`
note: run with `RUST_BACKTRACE=1` environment variable to display a backtraceIt seems that mdbook-i18n-helpers versions 0.3.6 and below are no longer compatible with the upcoming [email protected] due to its breaking changes. I was wondering if there are any plans for mdbook-i18n-helpers to support the upcoming [email protected] release?
Steps to Reproduce
Run the following commands to reproduce the issue on the master branch:
Click to expand the commands
# Prepare Environment
MDBOOK_VERSION=master
git clone --branch=${MDBOOK_VERSION} --depth=1 https://github.com/rust-lang/mdBook.git mdbook-${MDBOOK_VERSION}
cd mdbook-${MDBOOK_VERSION}
conda create --prefix ./.conda --yes
conda activate ./.conda
conda install conda-forge::rust --channel conda-forge --yes
export CARGO_INSTALL_ROOT=$(pwd)/.conda
cargo install --path . --locked
cargo install mdbook-i18n-helpers
# Build with mdbook-i18n-helpers
export MDBOOK_OUTPUT='{"xgettext": {"depth": 5}}'
mdbook build $(pwd)/guide --dest-dir $(pwd)/guide/locale/potThe full log: log-build-docs-on-master-branch.txt
As a comparison, run the same commands with the v0.4.52 tag:
Click to expand the commands
# Prepare Environment
MDBOOK_VERSION=v0.4.52
git clone --branch=${MDBOOK_VERSION} --depth=1 https://github.com/rust-lang/mdBook.git mdbook-${MDBOOK_VERSION}
cd mdbook-${MDBOOK_VERSION}
conda create --prefix ./.conda --yes
conda activate ./.conda
conda install conda-forge::rust --channel conda-forge --yes
export CARGO_INSTALL_ROOT=$(pwd)/.conda
cargo install --path . --locked
cargo install mdbook-i18n-helpers
# Build with mdbook-i18n-helpers
export MDBOOK_OUTPUT='{"xgettext": {"depth": 5}}'
mdbook build $(pwd)/guide --dest-dir $(pwd)/guide/locale/potThe full log: log-build-docs-on-v0.4.52-tag.txt
Metadata
Metadata
Assignees
Labels
No labels