diff --git a/.overrides/upgrade-python-version.rst b/.overrides/upgrade-python-version.rst index e4505f4409..72c4fa2a23 100644 --- a/.overrides/upgrade-python-version.rst +++ b/.overrides/upgrade-python-version.rst @@ -48,9 +48,11 @@ We are currently in branch 3.12, and we want to update the strings from 3.13. .. note:: - You can also run `make build -j` to use more than 1 core (but keep in mind - this is not always faster). + The underlying ``sphinx-build`` command uses all available cores by default. + Use the ``SPHINX_JOBS`` ``make`` variable (defaults to ``auto``) + to specify an explicit amount, e.g. ``make build SPHINX_JOBS=10``. + .. note:: It may fail the build because there may be files that don't exist anymore in the new branch. If that's the case, just continue with the steps diff --git a/conf.py b/conf.py index b7c1b644d3..0d39ed17d9 100644 --- a/conf.py +++ b/conf.py @@ -29,23 +29,7 @@ sys.path.insert(0, os.path.abspath('cpython/Doc')) from conf import * -# FIXME -# For fixing the warnings that state that 'cwe', 'cve' roles are already -# defined. -# -# WARNING: role 'cve' is already registered, it will be overridden [app.add_role] -# WARNING: role 'cwe' is already registered, it will be overridden [app.add_role] -del extlinks["cwe"] -del extlinks["cve"] - -# Call patchlevel with the proper path to get the version from -# instead of hardcoding it -from patchlevel import get_version_info -version, release = get_version_info() - project = 'Python en EspaƱol' -year = time.strftime("%Y") -copyright = f'2001-{year}, Python Software Foundation' html_theme_path = ['cpython/Doc/tools'] templates_path = ['cpython/Doc/tools/templates'] diff --git a/requirements.txt b/requirements.txt index a2ea7742eb..234449bb8d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -16,7 +16,7 @@ sphinx-lint==0.7.0 tabulate # from cpython/Doc/requirements.txt -sphinx~=8.1.0 +sphinx~=8.0.0 blurb