File: add-translations-9238b0f56b677a6b.yaml

package info (click to toggle)
python-openstackdocstheme 3.2.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,008 kB
  • sloc: javascript: 8,326; python: 544; makefile: 162; sh: 152
file content (24 lines) | stat: -rw-r--r-- 789 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
features:
  - |
    Add tools for building translated documents. The file
    ``docstheme-build-translated.sh`` will look for translations and
    build translated documents for all languages that exist.
    Invoke ``docstheme-build-translated.sh`` from tox.ini instead of running
    ``sphinx-build`` directly.
    The following environment variables control the script:
    ``SKIP_SPHINX_WARNINGS`` to not treat warnings from sphinx-build as an
    error.
    ``SPHINX_WARNINGS_TRANS`` will turn on warnings by sphinx-build as
    an error on translation (use with caution).

    Example for tox.ini:

    ::

      [testenv:docs]
      deps = -r{toxinidir}/doc/requirements.txt
      setenv =
          SKIP_SPHINX_WARNINGS=1
      commands=
          docstheme-build-translated.sh