python docs: Bootstraping.
This commit is contained in:
parent
ffaa08bfbf
commit
08010ccef0
|
@ -27,6 +27,27 @@ The PEP 545 may be long to read, so here are the interesting points:
|
|||
`https://docs.python.org/{LANGUAGE_TAG}/{VERSION_TAG}/`.
|
||||
|
||||
|
||||
# Bootstrap a new translation
|
||||
|
||||
To bootstrap a new translation you'll need a clone of cpython in the 3.7 (or newer) branch:
|
||||
|
||||
git clone https://github.com/python/cpython.git
|
||||
git -C cpython checkout 3.7
|
||||
|
||||
And a directory for your repo, initialized for example with my Makefile:
|
||||
|
||||
mkdir python-docs-whatever
|
||||
cd python-docs-whatever
|
||||
git init
|
||||
git checkout -b 3.7
|
||||
wget -q https://raw.githubusercontent.com/python/python-docs-fr/3.7/Makefile
|
||||
git add Makefile
|
||||
git commit -m "Initial commit."
|
||||
make merge
|
||||
git add *.po */*.po
|
||||
git commit -m "Adding po files."
|
||||
|
||||
|
||||
# Current status
|
||||
|
||||
- ja
|
||||
|
|
Loading…
Reference in New Issue