Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1ede602

Browse files
authored
Merge branch '3.11' into humitos/update-how-to-upgrade
2 parents 918c13d + 921af25 commit 1ede602

File tree

366 files changed

+108489
-91027
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

366 files changed

+108489
-91027
lines changed

.github/workflows/main.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ on:
99
jobs:
1010
test:
1111
name: Test
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-22.04
1313
steps:
1414
- uses: actions/checkout@v2
15-
- name: Preparar Python v3.10
15+
- name: Preparar Python v3.11
1616
uses: actions/setup-python@v2
1717
with:
18-
python-version: "3.10"
18+
python-version: "3.11"
1919
- name: Sincronizar con CPython
2020
run: |
2121
git submodule update --init --depth=1 cpython
@@ -36,4 +36,14 @@ jobs:
3636
run: |
3737
python scripts/check_spell.py
3838
- name: Construir documentación
39-
run: PYTHONWARNINGS=ignore::FutureWarning sphinx-build -j auto -W --keep-going -b html -d cpython/Doc/_build/doctree -D language=es . cpython/Doc/_build/html
39+
run: |
40+
# FIXME: Relative paths for includes in 'cpython'
41+
sed -i -e 's|.. include:: ../includes/wasm-notavail.rst|.. include:: ../../../../includes/wasm-notavail.rst|g' cpython/Doc/**/*.rst
42+
sed -i -e 's|.. include:: ../distutils/_setuptools_disclaimer.rst|.. include:: ../../../../distutils/_setuptools_disclaimer.rst|g' cpython/Doc/**/*.rst
43+
sed -i -e 's|.. include:: ./_setuptools_disclaimer.rst|.. include:: ../../../_setuptools_disclaimer.rst|g' cpython/Doc/**/*.rst
44+
sed -i -e 's|.. include:: token-list.inc|.. include:: ../../../token-list.inc|g' cpython/Doc/**/*.rst
45+
sed -i -e 's|.. include:: ../../using/venv-create.inc|.. include:: ../using/venv-create.inc|g' cpython/Doc/**/*.rst
46+
sed -i -e 's|.. include:: ../../../using/venv-create.inc|.. include:: ../../using/venv-create.inc|g' cpython/Doc/**/*.rst
47+
sed -i -e 's|.. include:: /using/venv-create.inc|.. include:: ../../../../using/venv-create.inc|g' cpython/Doc/**/*.rst
48+
# Normal build
49+
PYTHONWARNINGS=ignore::FutureWarning sphinx-build -j auto -W --keep-going -b html -d cpython/Doc/_build/doctree -D language=es . cpython/Doc/_build/html

.readthedocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ sphinx:
1010
configuration: conf.py
1111

1212
build:
13-
os: ubuntu-20.04
13+
os: ubuntu-22.04
1414
tools:
15-
python: "3.10"
15+
python: "3.11"
1616

1717

1818
# Optionally set the version of Python and requirements required to build your docs

Makefile

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# Configuration
99

1010
CPYTHON_PATH := cpython #Current commit for this upstream repo is setted by the submodule
11-
BRANCH := 3.8
11+
BRANCH := 3.11
1212
LANGUAGE_TEAM := python-docs-es
1313
LANGUAGE := es
1414

@@ -41,6 +41,15 @@ help:
4141
# treated as errors, which is good to skip simple Sphinx syntax mistakes.
4242
.PHONY: build
4343
build: setup
44+
# FIXME: Relative paths for includes in 'cpython'
45+
sed -i -e 's|.. include:: ../includes/wasm-notavail.rst|.. include:: ../../../../includes/wasm-notavail.rst|g' cpython/Doc/**/*.rst
46+
sed -i -e 's|.. include:: ../distutils/_setuptools_disclaimer.rst|.. include:: ../../../../distutils/_setuptools_disclaimer.rst|g' cpython/Doc/**/*.rst
47+
sed -i -e 's|.. include:: ./_setuptools_disclaimer.rst|.. include:: ../../../_setuptools_disclaimer.rst|g' cpython/Doc/**/*.rst
48+
sed -i -e 's|.. include:: token-list.inc|.. include:: ../../../token-list.inc|g' cpython/Doc/**/*.rst
49+
sed -i -e 's|.. include:: ../../using/venv-create.inc|.. include:: ../using/venv-create.inc|g' cpython/Doc/**/*.rst
50+
sed -i -e 's|.. include:: ../../../using/venv-create.inc|.. include:: ../../using/venv-create.inc|g' cpython/Doc/**/*.rst
51+
sed -i -e 's|.. include:: /using/venv-create.inc|.. include:: ../../../../using/venv-create.inc|g' cpython/Doc/**/*.rst
52+
# Normal build
4453
PYTHONWARNINGS=ignore::FutureWarning $(VENV)/bin/sphinx-build -j auto -W --keep-going -b html -d $(OUTPUT_DOCTREE) -D language=$(LANGUAGE) . $(OUTPUT_HTML) && \
4554
echo "Success! Open file://`pwd`/$(OUTPUT_HTML)/index.html, " \
4655
"or run 'make serve' to see them in http://localhost:8000";
@@ -71,7 +80,7 @@ venv:
7180
# Makefile's "serve" target. Run "build" before using this target.
7281
.PHONY: serve
7382
serve:
74-
$(MAKE) -C $(CPYTHON_WORKDIR)/Doc serve
83+
$(MAKE) -C $(CPYTHON_WORKDIR)/Doc htmlview
7584

7685

7786
# clean: remove all .mo files and the venv directory that may exist and

about.po

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
11
# Copyright (C) 2001-2020, Python Software Foundation
22
# This file is distributed under the same license as the Python package.
33
# Maintained by the python-doc-es workteam.
4-
# [email protected] / https://mail.python.org/mailman3/lists/docs-es.python.org/
5-
# Check https://github.com/python/python-docs-es/blob/3.8/TRANSLATORS to get the list of volunteers
4+
5+
# https://mail.python.org/mailman3/lists/docs-es.python.org/
6+
# Check https://github.com/python/python-docs-es/blob/3.8/TRANSLATORS to get
7+
# the list of volunteers
68
#
79
msgid ""
810
msgstr ""
911
"Project-Id-Version: Python 3.8\n"
1012
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2019-05-06 11:59-0400\n"
13+
"POT-Creation-Date: 2022-10-25 19:47+0200\n"
1214
"PO-Revision-Date: 2019-12-22 12:23+0100\n"
13-
"MIME-Version: 1.0\n"
14-
"Content-Type: text/plain; charset=UTF-8\n"
15-
"Content-Transfer-Encoding: 8bit\n"
16-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
1715
"Last-Translator: \n"
18-
"Language-Team: python-doc-es\n"
1916
"Language: es\n"
20-
"X-Generator: Poedit 2.2.4\n"
17+
"Language-Team: python-doc-es\n"
18+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
19+
"MIME-Version: 1.0\n"
20+
"Content-Type: text/plain; charset=utf-8\n"
21+
"Content-Transfer-Encoding: 8bit\n"
22+
"Generated-By: Babel 2.10.3\n"
2123

2224
#: ../Doc/about.rst:3
2325
msgid "About these documents"
@@ -57,26 +59,28 @@ msgstr ""
5759
"herramientas de Python y escritor de gran parte del contenido;"
5860

5961
#: ../Doc/about.rst:24
62+
#, fuzzy
6063
msgid ""
61-
"the `Docutils <http://docutils.sourceforge.net/>`_ project for creating "
64+
"the `Docutils <https://docutils.sourceforge.io/>`_ project for creating "
6265
"reStructuredText and the Docutils suite;"
6366
msgstr ""
6467
"el proyecto `Docutils <http://docutils.sourceforge.net/>`_ para creación de "
6568
"reStructuredText y el juego de Utilidades de Documentación;"
6669

6770
#: ../Doc/about.rst:26
71+
#, fuzzy
6872
msgid ""
69-
"Fredrik Lundh for his `Alternative Python Reference <http://effbot.org/zone/"
70-
"pyref.htm>`_ project from which Sphinx got many good ideas."
73+
"Fredrik Lundh for his Alternative Python Reference project from which Sphinx "
74+
"got many good ideas."
7175
msgstr ""
7276
"Fredrik Lundh por su proyecto `Referencia Alternativa de Python <http://"
7377
"effbot.org/zone/pyref.htm>`_ para la cual Sphinx tuvo muchas ideas."
7478

75-
#: ../Doc/about.rst:32
79+
#: ../Doc/about.rst:31
7680
msgid "Contributors to the Python Documentation"
7781
msgstr "Contribuidores de la documentación de Python"
7882

79-
#: ../Doc/about.rst:34
83+
#: ../Doc/about.rst:33
8084
msgid ""
8185
"Many people have contributed to the Python language, the Python standard "
8286
"library, and the Python documentation. See :source:`Misc/ACKS` in the "
@@ -86,7 +90,7 @@ msgstr ""
8690
"estándar de Python, y la documentación de Python. Revisa :source:`Misc/ACKS` "
8791
"la distribución de Python para una lista parcial de contribuidores."
8892

89-
#: ../Doc/about.rst:38
93+
#: ../Doc/about.rst:37
9094
msgid ""
9195
"It is only with the input and contributions of the Python community that "
9296
"Python has such wonderful documentation -- Thank You!"

0 commit comments

Comments
 (0)