diff options
author | Álvaro Mondéjar <mondejar1994@gmail.com> | 2020-05-09 15:44:39 +0300 |
---|---|---|
committer | Álvaro Mondéjar <mondejar1994@gmail.com> | 2020-05-09 15:44:39 +0300 |
commit | 62b44e6456183a26bfa8f3b38cf6716a2e5a674c (patch) | |
tree | f104491164a72971cb7241206ae7c88524490fcd /sphinx/cmd | |
parent | ea81d56b30ec7841d3460686062810d1396a6a62 (diff) |
Fix double space inconsistences in code, CHANGES and translations.
Diffstat (limited to 'sphinx/cmd')
-rw-r--r-- | sphinx/cmd/build.py | 4 | ||||
-rw-r--r-- | sphinx/cmd/quickstart.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sphinx/cmd/build.py b/sphinx/cmd/build.py index cf50f1730..c4cf11cc4 100644 --- a/sphinx/cmd/build.py +++ b/sphinx/cmd/build.py @@ -64,7 +64,7 @@ def handle_exception(app: Sphinx, args: Any, exception: BaseException, stderr: I print(terminal_safe(str(exception)), file=stderr) print(file=stderr) print(__('This can happen with very large or deeply nested source ' - 'files. You can carefully increase the default Python ' + 'files. You can carefully increase the default Python ' 'recursion limit of 1000 in conf.py with e.g.:'), file=stderr) print(' import sys; sys.setrecursionlimit(1500)', file=stderr) else: @@ -107,7 +107,7 @@ Generate documentation from source files. sphinx-build generates documentation from the files in SOURCEDIR and places it in OUTPUTDIR. It looks for 'conf.py' in SOURCEDIR for the configuration -settings. The 'sphinx-quickstart' tool may be used to generate template files, +settings. The 'sphinx-quickstart' tool may be used to generate template files, including 'conf.py' sphinx-build can create documentation in different formats. A format is diff --git a/sphinx/cmd/quickstart.py b/sphinx/cmd/quickstart.py index 29d2e8187..0c9020bd5 100644 --- a/sphinx/cmd/quickstart.py +++ b/sphinx/cmd/quickstart.py @@ -275,7 +275,7 @@ def ask_user(d: Dict) -> None: print(__('Sphinx has the notion of a "version" and a "release" for the\n' 'software. Each version can have multiple releases. For example, for\n' 'Python the version is something like 2.5 or 3.0, while the release is\n' - 'something like 2.5.1 or 3.0a1. If you don\'t need this dual structure,\n' + 'something like 2.5.1 or 3.0a1. If you don\'t need this dual structure,\n' 'just set both to the same value.')) d['version'] = do_prompt(__('Project version'), '', allow_empty) if 'release' not in d: @@ -296,7 +296,7 @@ def ask_user(d: Dict) -> None: if 'suffix' not in d: print() print(__('The file name suffix for source files. Commonly, this is either ".txt"\n' - 'or ".rst". Only files with this suffix are considered documents.')) + 'or ".rst". Only files with this suffix are considered documents.')) d['suffix'] = do_prompt(__('Source file suffix'), '.rst', suffix) if 'master' not in d: |