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
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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file atsphinx_mini18n-0.4.0.tar.gz.
File metadata
- Download URL: atsphinx_mini18n-0.4.0.tar.gz
- Upload date:
- Size: 19.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4d7c055e11d119d132e4f1a7a96b8b6305dc3fffc5170da084ca9f0806e2c21
|
|
| MD5 |
027024067c58be0b31bf23cf7f905789
|
|
| BLAKE2b-256 |
64f713a85849a604cd34a260165155c261e25786a9ea30f35a25114b2109824b
|
File details
Details for the file atsphinx_mini18n-0.4.0-py3-none-any.whl.
File metadata
- Download URL: atsphinx_mini18n-0.4.0-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a70ec4e31f2aea8e98d2a8ffe8e9231b9647b90f2e1bc49c8da127fead65259
|
|
| MD5 |
44747ca90f8e2b94654e405660c9dfc9
|
|
| BLAKE2b-256 |
3633e45f0e0d8f87daffa8daa11e355aa328297f9a8eea52c243f2e0f43cc6db
|