File tree Expand file tree Collapse file tree 5 files changed +19
-6
lines changed
Expand file tree Collapse file tree 5 files changed +19
-6
lines changed Original file line number Diff line number Diff line change @@ -67,11 +67,11 @@ Antes de comenzar
6767
6868#. Selecciona un :ref: `archivo para traducir <que-archivo-traducir >`.
6969
70- #. Verifica que estás en la rama principal del repositorio, **3.11 ** (esto es muy
70+ #. Verifica que estás en la rama principal del repositorio, **|pythonversion| ** (esto es muy
7171 importante para evitar crear una nueva rama a partir de una traducción
7272 anterior)::
7373
74- git checkout 3.11
74+ git checkout |pythonversion|
7575
7676#. Crea una rama nueva en base al artículo en el que vayas a trabajar. Por
7777 ejemplo, si vas a trabajar en el archivo ``library/glosario.po ``, usa un nombre
Original file line number Diff line number Diff line change @@ -204,9 +204,9 @@ repositorio principal de la traducción). Se hace de la siguiente manera::
204204
205205Luego nos vamos a nuestra rama local, confirmamos e impactamos esos cambios::
206206
207- git checkout 3.11
208- git merge upstream/3.11
209- git push origin 3.11
207+ git checkout |pythonversion|
208+ git merge upstream/|pythonversion|
209+ git push origin |pythonversion|
210210
211211¡Eso es todo!
212212
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ y otras estadísticas.
1010
1111.. note ::
1212
13- Estas listas se actualiza automáticamente cuando Pull Requests se *mergean * a la rama ``3.11 ``.
13+ Estas listas se actualiza automáticamente cuando Pull Requests se *mergean * a la rama ``|pythonversion| ``.
1414
1515
1616En progreso
Original file line number Diff line number Diff line change 11:orphan:
22
3+ .. No uso |pythonversion| "replace" acá porque esta página documenta
4+ la actualización puntual de una versión a otra y no quiero que se actualice
5+ automaticamente cuando cambiamos la variable en ``conf.py``
6+
37 How to update to a new Python version
48=====================================
59
Original file line number Diff line number Diff line change 3232from patchlevel import get_header_version_info
3333version , release = get_header_version_info (os .path .abspath ('cpython/Doc' ))
3434
35+ _rst_epilog = """
36+ .. |pythonversion| replace:: 3.11
37+ """
38+
39+ if 'rst_epilog' in globals ():
40+ rst_epilog += _rst_epilog
41+ else :
42+ rst_epilog = _rst_epilog
43+
3544project = 'Python en Español'
3645year = time .strftime ("%Y" )
3746copyright = f'2001-{ year } , Python Software Foundation'
You can’t perform that action at this time.
0 commit comments