| Crates.io | mdbook-i18n |
| lib.rs | mdbook-i18n |
| version | 0.1.3 |
| created_at | 2019-09-06 16:28:14.538669+00 |
| updated_at | 2023-03-18 11:55:13.938123+00 |
| description | L10n/i18n plugin for mdbook |
| homepage | |
| repository | https://github.com/funkill/mdbook-i18n |
| max_upload_size | |
| id | 162823 |
| size | 59,136 |
Simple mdBook i18n plugin.
It requires mdbook >= 0.3.1.
# cargo install mdbook
# cargo install mdbook-i18n
language to book section in your book.toml.output.i18n.translations table to your book.toml. Every record in this table
must contains language and title. Also records can contains fields authors (must be array),
translators (also must be array), description and src. If src not present in record, then
this field creates as <book's root>/translations/<language name>.mdbook build for build all books. Every book saves in destination directory in folder with
locale name.Source book from config converts to translation config. Common configs shares between all
translations. After that mdbook runs for every translation.
RenderContext what have private rest field in config (this field contains custom values
from config).