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
Release files for atsphinx-mini18n 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| atsphinx_mini18n-0.4.0.tar.gz | 19.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| atsphinx_mini18n-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.2 kB
Release files / atsphinx_mini18n-0.4.0.tar.gz
| Download URL | atsphinx_mini18n-0.4.0.tar.gz |
|---|---|
| Size | 19.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d4d7c055e11d119d132e4f1a7a96b8b6305dc3fffc5170da084ca9f0806e2c21
|
|
BLAKE2b-256 checksum How to use checksums |
64f713a85849a604cd34a260165155c261e25786a9ea30f35a25114b2109824b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / atsphinx_mini18n-0.4.0-py3-none-any.whl
| Download URL | atsphinx_mini18n-0.4.0-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7a70ec4e31f2aea8e98d2a8ffe8e9231b9647b90f2e1bc49c8da127fead65259
|
|
BLAKE2b-256 checksum How to use checksums |
3633e45f0e0d8f87daffa8daa11e355aa328297f9a8eea52c243f2e0f43cc6db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|