From 13977c49cacdcfaeea206b7b5bc32aad46216693 Mon Sep 17 00:00:00 2001 From: kbiggers Date: Thu, 26 Dec 2024 13:24:25 -0500 Subject: [PATCH 1/6] Update reference/lexical_analysis.po Co-authored-by: rtobar --- reference/lexical_analysis.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/lexical_analysis.po b/reference/lexical_analysis.po index b81bb63859..cfbee01283 100644 --- a/reference/lexical_analysis.po +++ b/reference/lexical_analysis.po @@ -213,7 +213,7 @@ msgid "" msgstr "" "if 1900 < year < 2100 and 1 <= month <= 12 \\\n" " and 1 <= day <= 31 and 0 <= hour < 24 \\\n" -" and 0 <= minute < 60 and 0 <= second < 60: # Looks like a valid date\n" +" and 0 <= minute < 60 and 0 <= second < 60: # Parece ser una fecha válida \n" " return 1" #: ../Doc/reference/lexical_analysis.rst:127 From 68394f1ca0cca2485ed2f938bf302a2703b5c9b7 Mon Sep 17 00:00:00 2001 From: kbiggers Date: Thu, 26 Dec 2024 13:25:13 -0500 Subject: [PATCH 2/6] Update reference/lexical_analysis.po Co-authored-by: rtobar --- reference/lexical_analysis.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/lexical_analysis.po b/reference/lexical_analysis.po index cfbee01283..b81bb63859 100644 --- a/reference/lexical_analysis.po +++ b/reference/lexical_analysis.po @@ -213,7 +213,7 @@ msgid "" msgstr "" "if 1900 < year < 2100 and 1 <= month <= 12 \\\n" " and 1 <= day <= 31 and 0 <= hour < 24 \\\n" -" and 0 <= minute < 60 and 0 <= second < 60: # Parece ser una fecha válida \n" +" and 0 <= minute < 60 and 0 <= second < 60: # Looks like a valid date\n" " return 1" #: ../Doc/reference/lexical_analysis.rst:127 From 719ab5e21e2a8a3aa39249632d4bc19b066cee8c Mon Sep 17 00:00:00 2001 From: krbiggers Date: Sat, 28 Dec 2024 10:37:02 -0500 Subject: [PATCH 3/6] =?UTF-8?q?Actualizar=20la=20documentaci=C3=B3n=20para?= =?UTF-8?q?=20indicar=20que=20el=20clon=20debe=20ser=20recursivo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .overrides/CONTRIBUTING.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.overrides/CONTRIBUTING.rst b/.overrides/CONTRIBUTING.rst index 903fd6aa46..eaa063b15b 100644 --- a/.overrides/CONTRIBUTING.rst +++ b/.overrides/CONTRIBUTING.rst @@ -42,7 +42,7 @@ podrás realizar todas las contribuciones que quieras. #. Clona el fork del repositorio que acabas de crear:: - git clone git@github.com:/python-docs-es.git + git clone --recursive git@github.com:/python-docs-es.git #. Ingresa en la carpeta que `git clone` creó en tu computadora:: From 9e990526bfb4f0519dd046b70efe5b80f6556a3b Mon Sep 17 00:00:00 2001 From: krbiggers Date: Sat, 4 Jan 2025 10:44:28 -0500 Subject: [PATCH 4/6] =?UTF-8?q?Revert=20"Actualizar=20la=20documentaci?= =?UTF-8?q?=C3=B3n=20para=20indicar=20que=20el=20clon=20debe=20ser=20recur?= =?UTF-8?q?sivo"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 199e81f1c0eed42e1dd57905169557bbaaca6746. --- .overrides/CONTRIBUTING.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.overrides/CONTRIBUTING.rst b/.overrides/CONTRIBUTING.rst index eaa063b15b..903fd6aa46 100644 --- a/.overrides/CONTRIBUTING.rst +++ b/.overrides/CONTRIBUTING.rst @@ -42,7 +42,7 @@ podrás realizar todas las contribuciones que quieras. #. Clona el fork del repositorio que acabas de crear:: - git clone --recursive git@github.com:/python-docs-es.git + git clone git@github.com:/python-docs-es.git #. Ingresa en la carpeta que `git clone` creó en tu computadora:: From bd591c20193116fd6f4edbca5c85335be6808a75 Mon Sep 17 00:00:00 2001 From: krbiggers Date: Sat, 4 Jan 2025 12:59:49 -0500 Subject: [PATCH 5/6] =?UTF-8?q?Cambiar=20el=20texto=20del=20comando=20pip?= =?UTF-8?q?=20para=20hacer=20referencia=20a=20requirements-own.txt.=20A?= =?UTF-8?q?=C3=B1adir=20alguna=20nota=20extra=20sobre=20los=20pasos=20para?= =?UTF-8?q?=20construir=20la=20documentaci=C3=B3n=20de=20una=20manera=20lo?= =?UTF-8?q?cal?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .overrides/CONTRIBUTING.rst | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.overrides/CONTRIBUTING.rst b/.overrides/CONTRIBUTING.rst index 903fd6aa46..005aef4bd4 100644 --- a/.overrides/CONTRIBUTING.rst +++ b/.overrides/CONTRIBUTING.rst @@ -60,7 +60,7 @@ podrás realizar todas las contribuciones que quieras. #. (Opcional) Instala los requerimientos del proyecto:: - pip install -r requirements.txt + pip install -r requirements-own.txt .. note:: @@ -68,6 +68,19 @@ podrás realizar todas las contribuciones que quieras. ``powrap`` y ``pospell`` para poder verificar tus archivos traducidos, y también construir la documentación localmente. + .. note:: + + Si vas a querer construir la documentación de una manera local, debes inicializar + los submódulos para poder hacer la construcción. (nota: esta inicialización puede llevar tiempo) + ``` + git submodule update --init + pip install -r requirements.txt + ``` + y después para hacer la construcción + ``` + make build + ``` + .. _que-archivo-traducir: Paso 1: ¿Qué archivo traducir? From effa44412a3a4df59c8cbc1c98d887a537c580fc Mon Sep 17 00:00:00 2001 From: krbiggers Date: Sun, 26 Jan 2025 21:31:48 -0500 Subject: [PATCH 6/6] =?UTF-8?q?Hacer=20que=20no=20instentamos=20instalar?= =?UTF-8?q?=20los=20requisitos=20de=20requirements.txt=20a=20menos=20que?= =?UTF-8?q?=20estamos=20haciendo=20una=20construcci=C3=B3n=C2=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .overrides/CONTRIBUTING.rst | 13 ------------- Makefile | 5 ++++- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/.overrides/CONTRIBUTING.rst b/.overrides/CONTRIBUTING.rst index 005aef4bd4..360b3f0957 100644 --- a/.overrides/CONTRIBUTING.rst +++ b/.overrides/CONTRIBUTING.rst @@ -68,19 +68,6 @@ podrás realizar todas las contribuciones que quieras. ``powrap`` y ``pospell`` para poder verificar tus archivos traducidos, y también construir la documentación localmente. - .. note:: - - Si vas a querer construir la documentación de una manera local, debes inicializar - los submódulos para poder hacer la construcción. (nota: esta inicialización puede llevar tiempo) - ``` - git submodule update --init - pip install -r requirements.txt - ``` - y después para hacer la construcción - ``` - make build - ``` - .. _que-archivo-traducir: Paso 1: ¿Qué archivo traducir? diff --git a/Makefile b/Makefile index f6e011c7b4..75f0f9dd50 100644 --- a/Makefile +++ b/Makefile @@ -56,6 +56,9 @@ do_build: setup: venv git submodule sync git submodule update --init --force --depth 1 $(CPYTHON_PATH) + # Now that we've initialized the submodules, install all requirements necessary for the build + $(VENV)/bin/python -m pip install -q -r requirements.txt + # venv: create a virtual environment which will be used by almost every @@ -66,7 +69,7 @@ venv: $(PYTHON) -m venv --prompt $(LANGUAGE_TEAM) $(VENV); \ fi - $(VENV)/bin/python -m pip install -q -r requirements.txt + $(VENV)/bin/python -m pip install -q -r requirements-own.txt # serve: serve the documentation in a simple local web server, using cpython