diff --git a/.overrides/CONTRIBUTING.rst b/.overrides/CONTRIBUTING.rst index 0f7ff17539..a9814aa5c6 100644 --- a/.overrides/CONTRIBUTING.rst +++ b/.overrides/CONTRIBUTING.rst @@ -9,7 +9,6 @@ Actualmente se puede colaborar utilizando una de las dos siguientes formas que: #. Utilizando el repositorio de GitHub y el editor poedit_ #. Realizando traducciones directamente en Transifex - .. note:: Si tienes cualquier duda, puedes enviarnos un email a docs-es@python.org. @@ -20,14 +19,10 @@ Desde GitHub #. Crea un fork del repositorio_. -.. _repositorio: https://github.com/PyCampES/python-docs-es - .. note:: Puedes consular la `ayuda oficial de GitHub`_, si lo deseas. - .. _ayuda oficial de GitHub: https://help.github.com/es/github/getting-started-with-github/fork-a-repo - #. Clona el repositorio:: git clone git@github.com:/python-docs-es.git @@ -41,7 +36,7 @@ Desde GitHub git remote add upstream https://github.com/pycampes/python-docs-es.git #. Crea una branch nueva en base al artículo en el que vayas a trabajar. - + git checkout -b traduccion_glosario #. 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 Puedes consultar la `ayuda oficial de GitHub para crear un Pull Request`_ si lo deseas. - .. _ayuda oficial de GitHub para crear un Pull Request: https://help.github.com/es/github/collaborating-with-issues-and-pull-requests/about-pull-requests - - -.. _poedit: https://poedit.net/ - - Previsualizar los cambios ~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -100,3 +89,9 @@ Utilizando Transifex -------------------- ToDo. + + +.. _repositorio: https://github.com/PyCampES/python-docs-es +.. _ayuda oficial de GitHub: https://help.github.com/es/github/getting-started-with-github/fork-a-repo +.. _ayuda oficial de GitHub para crear un Pull Request: https://help.github.com/es/github/collaborating-with-issues-and-pull-requests/about-pull-requests +.. _poedit: https://poedit.net/ diff --git a/conf.py b/conf.py index f53eac6d1a..2aa1e6b1ec 100644 --- a/conf.py +++ b/conf.py @@ -21,8 +21,10 @@ sys.path.append(os.path.abspath('cpython/Doc')) from conf import * -version = '3.7' -release = '3.7.7' +# Call patchlevel with the proper path to get the version from +# instead of hardcoding it +import patchlevel +version, release = patchlevel.get_header_version_info(os.path.abspath('cpython/Doc')) project = 'Python en Español' copyright = '2001-%s, Python Software Foundation' % time.strftime('%Y')