From a9d083034866bb9de6b2e1840eb7a3ecbedea363 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Tue, 1 Aug 2017 14:48:06 +0200 Subject: [PATCH] README: Document how to run a test locally. --- README.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.rst b/README.rst index aba340a2..8d8e735a 100644 --- a/README.rst +++ b/README.rst @@ -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