1
0
Fork 0

README: Document how to run a test locally.

This commit is contained in:
Julien Palard 2017-08-01 14:48:06 +02:00
parent 67baa865d6
commit a9d0830348
1 changed files with 10 additions and 0 deletions

View File

@ -242,3 +242,13 @@ Merge pot files from cpython doc:
msgcat -o "$PO" "$POT"
fi
done
Run a test build locally:
- Create a ``locales/fr/`` directory.
- Put your ``python-docs-fr`` clone (or a symlink) in it as ``LC_MESSAGES``
- Nagigate to a ``cpython`` clone, in the ``Docs/`` directory
and run::
make SPHINXOPTS='-D locale_dirs=/PATH/TO/locales/ -D language=fr -D gettext_compact=0' autobuild-dev-html