Skip to content

Commit d91d1b0

Browse files
authored
Merge pull request #59 from PyCampES/fix-numbering
Fix steps numbering
2 parents 5ae469c + ea66c01 commit d91d1b0

File tree

2 files changed

+11
-14
lines changed

2 files changed

+11
-14
lines changed

.overrides/CONTRIBUTING.rst

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ Actualmente se puede colaborar utilizando una de las dos siguientes formas que:
99
#. Utilizando el repositorio de GitHub y el editor poedit_
1010
#. Realizando traducciones directamente en Transifex
1111

12-
1312
.. note::
1413

1514
Si tienes cualquier duda, puedes enviarnos un email a [email protected].
@@ -20,14 +19,10 @@ Desde GitHub
2019

2120
#. Crea un fork del repositorio_.
2221

23-
.. _repositorio: https://github.com/PyCampES/python-docs-es
24-
2522
.. note::
2623

2724
Puedes consular la `ayuda oficial de GitHub`_, si lo deseas.
2825

29-
.. _ayuda oficial de GitHub: https://help.github.com/es/github/getting-started-with-github/fork-a-repo
30-
3126
#. Clona el repositorio::
3227

3328
git clone [email protected]:<TU-USUARIO>/python-docs-es.git
@@ -41,7 +36,7 @@ Desde GitHub
4136
git remote add upstream https://github.com/pycampes/python-docs-es.git
4237

4338
#. Crea una branch nueva en base al artículo en el que vayas a trabajar.
44-
39+
4540
git checkout -b traduccion_glosario
4641

4742
#. Mira que archivo necesita ser traducido. El siguiente comando te mostrará una lista de archivos y los porcentajes traducidos.
@@ -62,12 +57,6 @@ Desde GitHub
6257

6358
Puedes consultar la `ayuda oficial de GitHub para crear un Pull Request`_ si lo deseas.
6459

65-
.. _ayuda oficial de GitHub para crear un Pull Request: https://help.github.com/es/github/collaborating-with-issues-and-pull-requests/about-pull-requests
66-
67-
68-
.. _poedit: https://poedit.net/
69-
70-
7160

7261
Previsualizar los cambios
7362
~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -100,3 +89,9 @@ Utilizando Transifex
10089
--------------------
10190

10291
ToDo.
92+
93+
94+
.. _repositorio: https://github.com/PyCampES/python-docs-es
95+
.. _ayuda oficial de GitHub: https://help.github.com/es/github/getting-started-with-github/fork-a-repo
96+
.. _ayuda oficial de GitHub para crear un Pull Request: https://help.github.com/es/github/collaborating-with-issues-and-pull-requests/about-pull-requests
97+
.. _poedit: https://poedit.net/

conf.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@
2121
sys.path.append(os.path.abspath('cpython/Doc'))
2222
from conf import *
2323

24-
version = '3.7'
25-
release = '3.7.7'
24+
# Call patchlevel with the proper path to get the version from
25+
# instead of hardcoding it
26+
import patchlevel
27+
version, release = patchlevel.get_header_version_info(os.path.abspath('cpython/Doc'))
2628

2729
project = 'Python en Español'
2830
copyright = '2001-%s, Python Software Foundation' % time.strftime('%Y')

0 commit comments

Comments
 (0)