File tree 5 files changed +19
-6
lines changed
5 files changed +19
-6
lines changed Original file line number Diff line number Diff line change @@ -67,11 +67,11 @@ Antes de comenzar
67
67
68
68
#. Selecciona un :ref: `archivo para traducir <que-archivo-traducir >`.
69
69
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
71
71
importante para evitar crear una nueva rama a partir de una traducción
72
72
anterior)::
73
73
74
- git checkout 3.11
74
+ git checkout |pythonversion|
75
75
76
76
#. Crea una rama nueva en base al artículo en el que vayas a trabajar. Por
77
77
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::
204
204
205
205
Luego nos vamos a nuestra rama local, confirmamos e impactamos esos cambios::
206
206
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|
210
210
211
211
¡Eso es todo!
212
212
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ y otras estadísticas.
10
10
11
11
.. note ::
12
12
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| ``.
14
14
15
15
16
16
En progreso
Original file line number Diff line number Diff line change 1
1
:orphan:
2
2
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
+
3
7
How to update to a new Python version
4
8
=====================================
5
9
Original file line number Diff line number Diff line change 32
32
from patchlevel import get_header_version_info
33
33
version , release = get_header_version_info (os .path .abspath ('cpython/Doc' ))
34
34
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
+
35
44
project = 'Python en Español'
36
45
year = time .strftime ("%Y" )
37
46
copyright = f'2001-{ year } , Python Software Foundation'
You can’t perform that action at this time.
0 commit comments