8000 README: Document how to run a test locally. · python/python-docs-fr@a9d0830 · GitHub
[go: up one dir, main page]

Skip to content

Commit a9d0830

Browse files
committed
README: Document how to run a test locally.
1 parent 67baa86 commit a9d0830

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,3 +242,13 @@ Merge pot files from cpython doc:
242242
msgcat -o "$PO" "$POT"
243243
fi
244244
done
245+
246+
Run a test build locally:
247+
248+
- Create a ``locales/fr/`` directory.
249+
- Put your ``python-docs-fr`` clone (or a symlink) in it as ``LC_MESSAGES``
250+
- Nagigate to a ``cpython`` clone, in the ``Docs/`` directory
251+
252+
and run::
253+
254+
make SPHINXOPTS='-D locale_dirs=/PATH/TO/locales/ -D language=fr -D gettext_compact=0' autobuild-dev-html

0 commit comments

Comments
 (0)
0