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
Built Distribution
File details
Details for the file atsphinx_mini18n-0.4.1.tar.gz
.
File metadata
- Download URL: atsphinx_mini18n-0.4.1.tar.gz
- Upload date:
- Size: 84.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
1157844de39ee91a1ed9b5aa35eef5749759c8e68a3fe7ef8ba3d8cfbe57d368
|
|
MD5 |
7e468d1698538c1e4d4987941f1d79e9
|
|
BLAKE2b-256 |
cce36d45581648704e1447ce2ce9e61ef2eaba7e8add3da8c3761a931dcd4fdc
|
Provenance
The following attestation bundles were made for atsphinx_mini18n-0.4.1.tar.gz
:
Publisher:
release.yml
on atsphinx/mini18n
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
atsphinx_mini18n-0.4.1.tar.gz
-
Subject digest:
1157844de39ee91a1ed9b5aa35eef5749759c8e68a3fe7ef8ba3d8cfbe57d368
- Sigstore transparency entry: 215712248
- Sigstore integration time:
-
Permalink:
atsphinx/mini18n@a606c210cafcb2b7796c35b9d232132cd347b3fa
-
Branch / Tag:
refs/tags/v0.4.1
- Owner: https://github.com/atsphinx
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
release.yml@a606c210cafcb2b7796c35b9d232132cd347b3fa
-
Trigger Event:
push
-
Statement type:
File details
Details for the file atsphinx_mini18n-0.4.1-py3-none-any.whl
.
File metadata
- Download URL: atsphinx_mini18n-0.4.1-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
43f7e5982346a8d4f6d525c046fb054d89a21978704bdbefc43ac6e6ae70e651
|
|
MD5 |
31cb10d83c1f88b7b910662d772e0db3
|
|
BLAKE2b-256 |
4f0230aab102322ab68846db4145be35606e66e36af791507010d468ce542c58
|
Provenance
The following attestation bundles were made for atsphinx_mini18n-0.4.1-py3-none-any.whl
:
Publisher:
release.yml
on atsphinx/mini18n
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
atsphinx_mini18n-0.4.1-py3-none-any.whl
-
Subject digest:
43f7e5982346a8d4f6d525c046fb054d89a21978704bdbefc43ac6e6ae70e651
- Sigstore transparency entry: 215712250
- Sigstore integration time:
-
Permalink:
atsphinx/mini18n@a606c210cafcb2b7796c35b9d232132cd347b3fa
-
Branch / Tag:
refs/tags/v0.4.1
- Owner: https://github.com/atsphinx
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
release.yml@a606c210cafcb2b7796c35b9d232132cd347b3fa
-
Trigger Event:
push
-
Statement type: