summaryrefslogtreecommitdiff
path: root/sphinx/application.py
Commit message (Collapse)AuthorAgeFilesLines
* Accept a version tuple in ``app.require_sphinx()``Adam Turner2023-05-111-4/+12
|
* Make the ``env`` argument to ``Builder`` subclasses required (#11379)Adam Turner2023-04-281-2/+0
|
* Harmonise references to Sphinx versions (#11361)Adam Turner2023-04-271-2/+3
|
* Enable 'nit-picky mode' for Sphinx's documentationAdam Turner2023-04-061-8/+8
| | | | | Fix several reference errors throughout the documentation and set ``nitpick_ignore`` in ``doc/conf.py``.
* Resolve lint errors from Ruff 0.0.260Adam Turner2023-03-311-1/+1
|
* Fix typos found by codespellDimitri Papadopoulos2023-03-271-2/+2
|
* Remove ``sphinx.locale.setlocale``Adam Turner2023-03-241-1/+1
|
* Split ``sphinx.application.builtin_extensions`` into groupsAdam Turner2023-03-171-4/+10
| | | | | This is a preparatory step for when eventually the ``sphinxcontrib`` extensions are no longer loaded by default.
* Fix COM812Adam Turner2023-02-181-6/+6
|
* Move console output utilities to ``sphinx.util.display``Adam Turner2023-01-031-1/+2
| | | | | - Merge `old_status_iterator` into ``status_iterator``. ``old_status_iterator`` was deprecated in version 1.6.
* Run pyupgrade (#11070)Adam Turner2023-01-021-3/+3
|
* Use PEP 604 typesAdam Turner2023-01-011-19/+19
|
* Use PEP 595 typesAdam Turner2023-01-011-32/+32
|
* Insert ``from __future__ import annotations``Adam Turner2023-01-011-0/+2
|
* remove blanket 'noqas'Daniel Eades2022-12-161-2/+2
|
* Update typing ignores for mypy 0.990Adam Turner2022-11-131-2/+2
|
* Merge branch '5.x'Adam Turner2022-09-271-3/+0
|\
| * Combine 'compile_xxx' and 'build_xxx' functionsStephen Finucane2022-09-261-3/+0
| | | | | | | | | | | | | | | | | | These are only called from the one location and we already use 'build' to do both building and writing. Given that we intend to simplify the handling of the 'filenames' argument, this makes our lives there much easier. Signed-off-by: Stephen Finucane <stephen@that.guru>
* | Merge branch '5.x'Adam Turner2022-09-251-38/+52
|\ \ | |/ | | | | | | | | | | | | | | | | # Conflicts: # CHANGES # doc/conf.py # sphinx/__init__.py # sphinx/builders/html/__init__.py # sphinx/domains/python.py # tests/test_build_html.py
| * Docstring clarifications (#9877)Arthur Milchior2022-09-241-38/+52
| | | | | | | | | | Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com> Co-authored-by: Takeshi KOMIYA <i.tkomiya@gmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* | Merge branch '5.x'Adam Turner2022-09-091-8/+15
|\ \ | |/ | | | | | | | | | | | | | | # 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-10/+18
| |
* | 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/+3
|\ \ | |/
| * Make `-P` (pdb) work better with exceptions triggered from eventsJeremy Maitin-Shepard2022-07-041-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Remove more deprecated items in Sphinx 6.0 (#10562)Adam Turner2022-06-261-1/+0
| |
* | Merge branch '5.x'Adam Turner2022-06-161-22/+42
|\ \ | |/ | | | | | | | | | | # Conflicts: # .github/workflows/builddoc.yml # .github/workflows/lint.yml # sphinx/registry.py
| * Increase static typing strictness (#10530)Adam Turner2022-06-161-22/+42
| |
* | Remove deprecated items for Sphinx 6.0 (#10471)Adam Turner2022-06-161-28/+0
|/
* Close #10483: Fix type annotations for Sphinx.__init__()Takeshi KOMIYA2022-05-301-1/+1
|
* Fix #10110: sphinx-build: Emit builder-finished before shutdownTakeshi KOMIYA2022-05-151-28/+29
| | | | | | The error on the builder-finished event has been ignored for the calculation of the exit code. This emits the event earilier step to be calculated correctly.
* Merge branch '4.x'Takeshi KOMIYA2022-03-191-9/+2
|\
| * Remove copyright and licence fieldsAdam Turner2022-02-201-3/+0
| |
| * Fix module docstring indentationAdam Turner2022-02-201-3/+3
| |
| * Fix module docstring first lineAdam Turner2022-02-201-2/+1
| |
| * Remove module titles in docstringsAdam Turner2022-02-191-3/+0
| |
* | Close #10062: Change the default language to 'en'Takeshi KOMIYA2022-01-121-3/+2
|/ | | | | Change the default language to `'en'` if any language is not set in `conf.py`.
* Merge branch '4.3.x' into 4.xTakeshi KOMIYA2022-01-011-1/+1
|\
| * A happy new year!Takeshi KOMIYA2022-01-011-1/+1
| |
* | Close #10013: html: Allow to change the loading method of JavaScriptTakeshi KOMIYA2021-12-251-2/+13
| |
* | refactor: docs: Use :param: fields for add_js_file() and add_css_file()Takeshi KOMIYA2021-12-251-14/+20
|/
* Merge pull request #9793 from samdoran/enable-parallel-on-macosTakeshi KOMIYA2021-12-111-7/+0
|\ | | | | Set multiprocessing start method to `fork`
| * Set multiprocessing start method to forkSam Doran2021-10-281-7/+0
| | | | | | | | | | Since the current code requires forking, set it explicitly rather than disabling parallelization on macOS.
* | Close #9618: i18n: Add gettext_allow_fuzzy_translationsTakeshi KOMIYA2021-11-101-1/+2
|/
* Close #9683: Revert the removal of ``add_stylesheet()`` APITakeshi KOMIYA2021-10-031-0/+20
| | | | | | | It will be kept until the Sphinx-6.0 release. Note: Now it emits a warning instead of DeprecationWarning to let the users know the deprecation.
* Address flake8 errors in whitespace lintingLouis Maddox2021-07-231-3/+3
|
* Improvements to sphinx.application docstringsLouis Maddox2021-07-181-31/+31
|
* Merge branch '4.x' into humitos/add-html-assets-in-all-pagesManuel Kaufmann2021-06-141-26/+25
|\
| * fix: Fix typo in add_directive docstringJames McKinney2021-06-051-1/+1
| |