1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-03-06 00:44:23 +02:00

Add trailing backslash for multiline command (#277)

There were some backslashed missing in the command to serve the
translated book. Thus the shell would execute the lines one after the
other, instead of as one command.

This lead to the environment variables not actually being set, and thus
the non-translated version was served anyway.
This commit is contained in:
Kostis Andrikopoulos 2023-01-25 18:26:58 +01:00 committed by GitHub
parent f3446a9176
commit 4fed580efa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,7 +110,7 @@ we'll tell `mdbook` to watch the `po/` directory for changes:
```shell
$ MDBOOK_BOOK__LANGUAGE=xx \
MDBOOK_PREPROCESSOR__GETTEXT__PO_FILE=po/xx.po
MDBOOK_BUILD__EXTRA_WATCH_DIRS='["po"]'
MDBOOK_PREPROCESSOR__GETTEXT__PO_FILE=po/xx.po \
MDBOOK_BUILD__EXTRA_WATCH_DIRS='["po"]' \
mdbook serve -d book/xx
```