summaryrefslogtreecommitdiff
path: root/sphinx/cmd/build.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove ``sphinx.locale.setlocale``Adam Turner2023-03-241-3/+3
|
* Make ``--jobs`` a synonym for ``-j`` (#11210)Hugo van Kemenade2023-03-051-1/+2
| | | Make --jobs a synonym for -j
* Unescape quotation marks where possibleAdam Turner2023-02-181-1/+1
|
* Fix COM812Adam Turner2023-02-181-1/+1
|
* Move exception formatting utilities to ``sphinx.util.exceptions``Adam Turner2023-01-031-3/+4
|
* Use PEP 604 typesAdam Turner2023-01-011-4/+4
|
* Use PEP 595 typesAdam Turner2023-01-011-5/+5
|
* Insert ``from __future__ import annotations``Adam Turner2023-01-011-0/+2
|
* Add Pygments version to `sphinx --bug-report`Adam Turner2023-01-011-0/+2
|
* Enable Ruff's flake8-debugger checksAdam Turner2022-12-291-1/+1
|
* Prefer ``raise SystemExit`` to ``sys.exit``Adam Turner2022-10-171-1/+1
|
* Add ``sphinx-build --bug-report``Adam Turner2022-10-141-6/+37
|
* Shrink 'any-generics' whitelist for the `cmd` module (#10847)danieleades2022-09-271-2/+2
|
* Validate filenames in builderStephen Finucane2022-09-261-11/+2
| | | | | | | This moves the logic for checking filenames closer to where it's actually used. Signed-off-by: Stephen Finucane <stephen@that.guru>
* Further improve type annotations, reduce mypy whitelist (#10770)danieleades2022-08-281-4/+6
| | | Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
* Make `-P` (pdb) work better with exceptions triggered from eventsJeremy Maitin-Shepard2022-07-041-1/+2
| | | | | | | | | | | | Previously, if an exception was raised from an event listener, and the `-P` option was specified, the debugger would be started not for the original error but for the `ExtensionError` wrapping it that was raised by `EventManager.emit`. That made it difficult to debug the error. With this change, when `-P` is specified, wrapping of errors in `ExtensionError` is disabled, which allows pdb to debug the original error.
* Specify encodingAdam Turner2022-04-221-1/+1
|
* Collapse single line docstringsAdam Turner2022-02-201-2/+1
|
* Remove copyright and licence fieldsAdam Turner2022-02-201-3/+0
|
* Fix module docstring indentationAdam Turner2022-02-201-2/+2
|
* Fix module docstring first lineAdam Turner2022-02-201-2/+1
|
* Remove module titles in docstringsAdam Turner2022-02-191-3/+0
|
* Close #10055: sphinx-build: Create directories when `-w` option givenTakeshi KOMIYA2022-01-091-0/+4
|
* A happy new year!Takeshi KOMIYA2022-01-011-1/+1
|
* Update Sphinx url: s|https?://sphinx-doc\.org/|https://www.sphinx-doc.org/|gJon Dufresne2021-09-061-1/+1
| | | | | | https://sphinx-doc.org is unreachable, but is linked from the PyPI page: https://pypi.org/project/Sphinx/. Switch to https://www.sphinx-doc.org/ instead.
* A happy new year!Takeshi KOMIYA2021-01-011-1/+1
| | | | | | | .. note:: $ find sphinx tests LICENSE doc/conf.py -type f -exec sed -i '' -e 's/2007\-20../2007-2021/' {} \; $ git co sphinx/locale/**/*.js sphinx/templates/epub3/mimetype
* Sort imports with isortFrançois Freitag2020-11-111-2/+2
| | | | | | | | | | | | Keep imports alphabetically sorted and their order homogeneous across Python source files. The isort project has more feature and is more active than the flake8-import-order plugin. Most issues caught were simply import ordering from the same module. Where imports were purposefully placed out of order, tag with isort:skip.
* Fix double space inconsistences in code, CHANGES and translations.Álvaro Mondéjar2020-05-091-2/+2
|
* refactor: Import libraries at the top of script (if no reason)Takeshi KOMIYA2020-03-211-3/+2
|
* Ignore bdb.BdbQuit when handling exceptionsDaniel Hahler2020-03-101-0/+5
| | | | | | | | | | | `bdb.BdbQuit` is used when quitting the debugger. It should not a) cause the debugger to be started (with `-P` / `--pdb`), and b) not a "crash" to be logged. This helps when using `pdb.set_trace()` manually, and quitting it with `q`. It gets used in `build_main`, and `BuildDoc.run` (distutils command).
* build: start description lower-casedRafael Fontenelle2020-03-081-1/+1
|
* A happy new year!Takeshi KOMIYA2020-01-011-1/+1
|
* Fix #6549: sphinx-build: Escaped characters in error messagesTakeshi KOMIYA2019-07-061-1/+1
|
* Migrate to py3 style type annotation: sphinx.cmd.buildTakeshi KOMIYA2019-06-301-16/+7
|
* Merge branch '2.0.2' into 2.0Takeshi KOMIYA2019-06-021-1/+1
|\
| * Fix capitalization to match other messagesjfbu2019-04-171-1/+1
| |
* | code snippet should not be a translation targetTakayuki SHIMIZUKAWA2019-03-251-1/+1
| |
* | Support --keep-going with BuildDoc setup command (#6180)Daniel Hahler2019-03-171-1/+1
|/ | | | | * Support --keep-going with BuildDoc setup command This allows for `tox -e docs -- -n -W --keep-going`.
* refactor: Move terminal_safe() to sphinx.util.consoleTakeshi KOMIYA2019-02-111-2/+1
|
* Merge branch '1.8'Takeshi KOMIYA2019-01-021-1/+1
|\
| * A happy new year!Takeshi KOMIYA2019-01-021-1/+1
| |
* | Replace use of six.text_type with strJon Dufresne2018-12-181-4/+3
| | | | | | | | | | This removes the last use of the six package allowing Sphinx to remove it as a dependency.
* | Merge branch '1.8'Takeshi KOMIYA2018-12-181-1/+1
|\ \ | |/
| * Fix #5724: quickstart: sphinx-quickstart fails when $LC_ALL is emptyTakeshi KOMIYA2018-12-171-1/+1
| |
* | Remove unnecessary encoding cookie from Python source filesJon Dufresne2018-12-161-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In Python 3, the default encoding of source files is utf-8. The encoding cookie is now unnecessary and redundant so remove it. For more details, see the docs: https://docs.python.org/3/howto/unicode.html#the-string-type > The default encoding for Python source code is UTF-8, so you can > simply include a Unicode character in a string literal ... Includes a fix for the flake8 header checks to stop expecting an encoding cookie.
* | Replace all "unicode" type by "str"Takeshi KOMIYA2018-12-151-6/+6
| |
* | Remove print_function featureTakeshi KOMIYA2018-12-151-1/+0
| |
* | Move to py3 mode for mypy (and remove many "type: ignore" comments)Takeshi KOMIYA2018-12-151-1/+1
| |
* | Remove use of six.binary_typeJon Dufresne2018-11-111-18/+2
|/ | | | | | Remove type checks for cases that don't apply to Python 3. For remaining uses, use bytes instead
* Fix #5418: Incorrect default path for sphinx-build -d/doctrees filesTakeshi KOMIYA2018-09-131-1/+1
|