Skip to main content

Sphinx builder for i18n site on single deployment

Project description

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

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.5.1.tar.gz (83.1 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.5.1-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file atsphinx_mini18n-0.5.1.tar.gz.

File metadata

  • Download URL: atsphinx_mini18n-0.5.1.tar.gz
  • Upload date:
  • Size: 83.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for atsphinx_mini18n-0.5.1.tar.gz
Algorithm Hash digest
SHA256 ed0a878402ecee5ba0523035621d8c8b5538a5efb8072ee5128f1f522ece8ada
MD5 b19a0fa1dc347944230414752b83378e
BLAKE2b-256 b03e6f2a9b14bdbe0fbd44fdef4ee6134608756e68af5646af57c0872b506e37

See more details on using hashes here.

Provenance

The following attestation bundles were made for atsphinx_mini18n-0.5.1.tar.gz:

Publisher: release.yml on atsphinx/mini18n

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for atsphinx_mini18n-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 86dbc7e29cb31219a7c7b1f7228b6b5eede134810ad319eb99a5434b83581e2e
MD5 8578273d9eb1c0a173d74c8f884312b8
BLAKE2b-256 8368d0a05c291780f162feaabfa09d42bd77e98cff130b2f8f2a69cc41a88e99

See more details on using hashes here.

Provenance

The following attestation bundles were made for atsphinx_mini18n-0.5.1-py3-none-any.whl:

Publisher: release.yml on atsphinx/mini18n

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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