forked from AFPy/python-docs-fr
README: Don't hardcode version in example.
This commit is contained in:
parent
fdc8e4461f
commit
50c8a573f7
|
@ -204,7 +204,7 @@ Merge pot files from cpython doc:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
VERSION=3.6
|
VERSION="$(git describe --contains --all HEAD)"
|
||||||
git clone --depth 1 --branch $VERSION https://github.com/python/cpython.git /tmp/cpython/
|
git clone --depth 1 --branch $VERSION https://github.com/python/cpython.git /tmp/cpython/
|
||||||
(cd /tmp/cpython/ && sphinx-build -Q -b gettext -D gettext_compact=0 Doc pot/)
|
(cd /tmp/cpython/ && sphinx-build -Q -b gettext -D gettext_compact=0 Doc pot/)
|
||||||
POT_PATH="/tmp/cpython/pot/"
|
POT_PATH="/tmp/cpython/pot/"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user