Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- i18n.py
- =======
- I18N extension for Sphinx. This allows you to switch configuration by language like following::
- # conf.py
- extensions = ['i18n']
- i18n = {
- 'ja': {
- 'some_config': 'value',
- 'another_config': 'value',
- },
- 'fr': {
- 'some_config': 'another_value',
- }
- }
- Then, you can switch these configuration by ``language``. Please use ``-D language=...`` option for ``sphinx-build``.
Add Comment
Please, Sign In to add comment