summaryrefslogtreecommitdiff
path: root/sphinx/cmd
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Support and prefer ``.jinja`` to ``_t`` for static templates ↵James Addison2023-04-231-9/+9
| | | | | (#11165)" (#11329) This reverts commit 5d13215b58f93c6be8255ef2e3e20836508c7d47.
* Support and prefer ``.jinja`` to ``_t`` for static templates (#11165)James Addison2023-04-071-9/+9
| | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* Remove ``sphinx.locale.setlocale``Adam Turner2023-03-242-5/+5
|
* Drop OrderedDictAdam Turner2023-03-051-13/+12
| | | | Since Python 3.7, dicts maintain insertion order.
* Prefer ``contextlib.chdir`` to ``sphinx.util.osutil.cd``Adam Turner2023-03-051-4/+9
|
* 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-182-3/+3
|
* Fix COM812Adam Turner2023-02-182-5/+5
|
* Move exception formatting utilities to ``sphinx.util.exceptions``Adam Turner2023-01-031-3/+4
|
* Address SIM103 lints (#11052)danieleades2023-01-021-4/+1
| | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* Run pyupgrade (#11070)Adam Turner2023-01-022-3/+3
|
* Use PEP 604 typesAdam Turner2023-01-013-11/+10
|
* Use PEP 595 typesAdam Turner2023-01-013-14/+14
|
* Insert ``from __future__ import annotations``Adam Turner2023-01-013-0/+6
|
* Add Pygments version to `sphinx --bug-report`Adam Turner2023-01-011-0/+2
|
* Enable Ruff's flake8-debugger checksAdam Turner2022-12-291-1/+1
|
* remove blanket 'noqas'Daniel Eades2022-12-161-9/+11
|
* Update typing ignores for mypy 0.990Adam Turner2022-11-131-1/+1
|
* Run the ``pyupgrade`` toolAdam Turner2022-10-171-1/+1
|
* Prefer ``raise SystemExit`` to ``sys.exit``Adam Turner2022-10-172-3/+3
|
* Merge branch '5.x'Adam Turner2022-10-161-6/+37
|\ | | | | | | | | | | | | | | # Conflicts: # .github/workflows/main.yml # CHANGES # sphinx/__init__.py # sphinx/domains/c.py
| * Add ``sphinx-build --bug-report``Adam Turner2022-10-141-6/+37
| |
* | Merge branch '5.x'Adam Turner2022-09-302-3/+3
|\ \ | |/ | | | | | | # Conflicts: # sphinx/locale/__init__.py
| * Shrink 'any-generics' whitelist for the `cmd` module (#10847)danieleades2022-09-272-3/+3
| |
* | Merge branch '5.x'Adam Turner2022-09-271-11/+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>
* | Merge branch '5.x'Adam Turner2022-09-093-17/+22
|\ \ | |/ | | | | | | | | | | | | | | # Conflicts: # setup.py # sphinx/application.py # sphinx/environment/__init__.py # sphinx/ext/autodoc/directive.py # tests/test_build_html.py
| * Fix more strict static typing errors (#10681)danieleades2022-08-281-3/+3
| |
| * Further improve type annotations, reduce mypy whitelist (#10770)danieleades2022-08-283-15/+20
| | | | | | Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
* | Merge branch '5.x'Adam Turner2022-07-181-1/+1
|\ \ | |/ | | | | | | | | # Conflicts: # sphinx/ext/autodoc/__init__.py # sphinx/writers/html5.py
| * Improve static typing strictness (#10569)danieleades2022-07-181-1/+1
| |
* | Merge branch '5.x'Adam Turner2022-07-101-1/+2
|\ \ | |/
| * 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.
* | Merge branch '5.x'Adam Turner2022-06-161-1/+4
|\ \ | |/ | | | | | | | | | | # Conflicts: # .github/workflows/builddoc.yml # .github/workflows/lint.yml # sphinx/registry.py
| * Increase static typing strictness (#10530)Adam Turner2022-06-161-1/+4
| |
* | Remove deprecated items for Sphinx 6.0 (#10471)Adam Turner2022-06-161-1/+1
|/
* Specify encodingAdam Turner2022-04-222-2/+2
|
* Collapse single line docstringsAdam Turner2022-02-203-6/+3
|
* Remove copyright and licence fieldsAdam Turner2022-02-204-12/+0
|
* Fix module docstring indentationAdam Turner2022-02-204-12/+12
|
* Fix module docstring first lineAdam Turner2022-02-204-8/+4
|
* Remove module titles in docstringsAdam Turner2022-02-194-12/+0
|
* Close #10055: sphinx-build: Create directories when `-w` option givenTakeshi KOMIYA2022-01-091-0/+4
|
* A happy new year!Takeshi KOMIYA2022-01-014-4/+4
|
* Update Sphinx url: s|https?://sphinx-doc\.org/|https://www.sphinx-doc.org/|gJon Dufresne2021-09-062-2/+2
| | | | | | 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.
* Fix flake8 errorsRaymond Sun2021-06-141-1/+10
|
* Edit messageRaymond Sun2021-06-121-1/+1
|
* Make quickstart just exit without repromptingRaymond Sun2021-06-121-5/+2
|
* Add fixRaymond Sun2021-06-111-1/+1
|
* Close #8326: Rename master_doc to root_docTakeshi KOMIYA2021-02-281-4/+23
| | | | | | To describe the purpose more accurately, the `master_doc` is now renamed to `root_doc`. The old name is still available. But it is recommeneded to use new one from now on.