Skip to main content
https://github.com/atsphinx/mini18n/actions/workflows/main.yml/badge.svg?branch=main

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

atsphinx_mini18n-0.4.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

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

Hashes for atsphinx_mini18n-0.4.0.tar.gz
Algorithm Hash digest
SHA256 d4d7c055e11d119d132e4f1a7a96b8b6305dc3fffc5170da084ca9f0806e2c21
MD5 027024067c58be0b31bf23cf7f905789
BLAKE2b-256 64f713a85849a604cd34a260165155c261e25786a9ea30f35a25114b2109824b

See more details on using hashes here.

File details

Details for the file atsphinx_mini18n-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for atsphinx_mini18n-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a70ec4e31f2aea8e98d2a8ffe8e9231b9647b90f2e1bc49c8da127fead65259
MD5 44747ca90f8e2b94654e405660c9dfc9
BLAKE2b-256 3633e45f0e0d8f87daffa8daa11e355aa328297f9a8eea52c243f2e0f43cc6db

See more details on using hashes here.

Release history Release notifications | RSS feed

0.5.1

2 files

0.5.0

2 files

0.4.1

2 files

This release

0.4.0 This release

2 files

0.3.1

2 files

0.3.0

2 files

0.2.1

2 files

0.2.0

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page