mdBook/tests
Ruin0x11 96d9271d64 Specify language for book in command line args
- Add a [language] table to book.toml. Each key in the table defines a
new language with `name` and `default` properties.
- Changes the directory structure of localized books. If the [language]
table exists, mdBook will now assume the src/ directory contains
subdirectories named after the keys in [language]. The behavior is
backwards-compatible if you don't specify [language].
- Specify which language of book to build using the -l/--language
argument to `mdbook build` and similar, or omit to use the default
language.
- Specify the default language by setting the `default` property to
`true` in an entry in [language]. Exactly one language must have `default`
set to `true` if the [language] table is defined.
- Each language has its own SUMMARY.md. It can include links to files
not in other translations. If a link in SUMMARY.md refers to a
nonexistent file that is specified in the default language, the renderer
will gracefully degrade the link to the default language's page. If it
still doesn't exist, the config's `create_missing` option will be
respected instead.
2021-09-15 14:00:10 -07:00
..
dummy_book Include chapters with no headers in the search index 2021-08-31 12:48:21 -07:00
localized_book Specify language for book in command line args 2021-09-15 14:00:10 -07:00
summary_md_files Rewrote summary parser from a state machine to use recursive descent 2017-12-11 15:17:20 +11:00
alternative_backends.rs Fix relative paths for renderer commands. 2020-12-30 17:46:29 -08:00
build_process.rs Change book source root depending on language 2021-09-15 13:55:59 -07:00
custom_preprocessors.rs Transition to 2018 edition (#933) 2019-05-25 20:50:41 +02:00
init.rs Change init --theme to place theme in root. (#1432) 2021-01-07 01:29:38 +01:00
parse_existing_summary_files.rs Update dependencies. (#1211) 2020-05-20 23:32:00 +02:00
rendered_output.rs Specify language for book in command line args 2021-09-15 14:00:10 -07:00
searchindex_fixture.json Include chapters with no headers in the search index 2021-08-31 12:48:21 -07:00
testing.rs When this test fails, print out why to assist in debugging 2019-08-12 09:50:54 -04:00