Sphinx builder for i18n site on single deployment
Project description
Sphinx builder for i18n site on single deployment.
Overview
This provides custom builders that generate html document per translated languages on to outdir.
$ cd /path/to/doc
$ cat conf.py
...
mini18n_support_languages = ["en", "ja"]
...
$ make mini18n-html
$ ls _build/mini18n-html
en index.html ja
Getting started
You should ready for i18n configurations and manage translated files.
Install
pip install atsphinx-mini18n
Configuration
extensions = [
"atsphinx.mini18n",
]
mini18n_default_language = "en"
mini18n_support_languages = ["en", "ja"]
Run build
$ make mini18n-html
OR
$ make mini18n-dirhtml
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
atsphinx_mini18n-0.4.0.tar.gz
(19.2 kB
view hashes)
Built Distribution
Close
Hashes for atsphinx_mini18n-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a70ec4e31f2aea8e98d2a8ffe8e9231b9647b90f2e1bc49c8da127fead65259 |
|
MD5 | 44747ca90f8e2b94654e405660c9dfc9 |
|
BLAKE2b-256 | 3633e45f0e0d8f87daffa8daa11e355aa328297f9a8eea52c243f2e0f43cc6db |