Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc426db6

Browse files
committed
Use a variable for the Python version
Closes#1846
1 parentfe01125 commitc426db6

File tree

5 files changed

+19
-6
lines changed

5 files changed

+19
-6
lines changed

‎.overrides/CONTRIBUTING.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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 checkout3.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

‎.overrides/faq.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,9 @@ repositorio principal de la traducción). Se hace de la siguiente manera::
204204

205205
Luego nos vamos a nuestra rama local, confirmamos e impactamos esos cambios::
206206

207-
git checkout3.11
208-
git merge upstream/3.11
209-
git push origin3.11
207+
git checkout|pythonversion|
208+
git merge upstream/|pythonversion|
209+
git push origin|pythonversion|
210210

211211
¡Eso es todo!
212212

‎.overrides/progress.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

1616
En progreso

‎.overrides/upgrade-python-version.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
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

‎conf.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,15 @@
3232
frompatchlevelimportget_header_version_info
3333
version,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'inglobals():
40+
rst_epilog+=_rst_epilog
41+
else:
42+
rst_epilog=_rst_epilog
43+
3544
project='Python en Español'
3645
year=time.strftime("%Y")
3746
copyright=f'2001-{year}, Python Software Foundation'

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp