Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor ``status_iterator``HEADmaster | Adam Turner | 2023-05-15 | 1 | -14/+20 |
| | |||||
* | Don't add colours to messagelog | Adam Turner | 2023-05-15 | 1 | -1/+0 |
| | | | | We need to remove colours later for display, so it is pointless to add them. | ||||
* | Expand the mypy whitelist for 'sphinx.util' (#11406) | danieleades | 2023-05-12 | 5 | -8/+8 |
| | |||||
* | Warn on deprecated Python-specific index types (#11412) | Adam Turner | 2023-05-09 | 1 | -10/+14 |
| | |||||
* | Remove deprecated ``sphinx.util.docutils.is_html5_writer_available()`` ↵ | Adam Turner | 2023-04-28 | 1 | -9/+0 |
| | | | | function (#11378) | ||||
* | Removed deprecated ``sphinx.util.get_matching_files()`` function (#11373) | Adam Turner | 2023-04-28 | 1 | -39/+1 |
| | |||||
* | Remove deprecated ``sphinx.util.stemmer`` module (#11370) | Adam Turner | 2023-04-27 | 1 | -62/+0 |
| | |||||
* | Make ``locale`` required in ``sphinx.util.i18n.format_date()`` (#11366) | Adam Turner | 2023-04-27 | 1 | -13/+1 |
| | |||||
* | Remove support for the ``jsdump`` format in ``sphinx.search`` (#11365) | Adam Turner | 2023-04-27 | 1 | -201/+0 |
| | |||||
* | Revert "Support and prefer ``.jinja`` to ``_t`` for static templates ↵ | James Addison | 2023-04-23 | 1 | -16/+3 |
| | | | | | (#11165)" (#11329) This reverts commit 5d13215b58f93c6be8255ef2e3e20836508c7d47. | ||||
* | Support and prefer ``.jinja`` to ``_t`` for static templates (#11165) | James Addison | 2023-04-07 | 1 | -3/+16 |
| | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> | ||||
* | Improve static typing in ``intersphinx`` et al | Adam Turner | 2023-03-17 | 2 | -4/+9 |
| | |||||
* | Use narrower [method-assign] instead of [assignment] (mypy 1.1.1) | Jean-François B | 2023-03-07 | 1 | -4/+4 |
| | |||||
* | Prefer ``contextlib.chdir`` to ``sphinx.util.osutil.cd`` | Adam Turner | 2023-03-05 | 1 | -7/+21 |
| | |||||
* | Resolve lint errors from Ruff 0.0.254 | Adam Turner | 2023-03-05 | 1 | -22/+19 |
| | |||||
* | Resolve ``flake8-return`` errors | Adam Turner | 2023-02-18 | 2 | -6/+4 |
| | |||||
* | Fix COM812 | Adam Turner | 2023-02-18 | 12 | -31/+33 |
| | |||||
* | Add ``content_offset`` parameter to ``nested_parse_with_titles`` (#11147) | Jeremy Maitin-Shepard | 2023-02-15 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | Previously, ``nested_parse_with_titles`` always passed ``0`` as the input offset when invoking ``nested_parse``. When parsing the content of a directive, as is a common use case for ``nested_parse_with_titles``, this leads to incorrect source file/line number information, as it does not take into account the directive's ``content_offset``, which is always non-zero. This issue affects *all* object descriptions due to GH-10887. It also affects the ``sphinx.ext.ifconfig`` extension. The ``py:module`` and ``js:module`` directives employed a workaround for this issue, by wrapping the calls to ``nested_parse_with_title`` with ``switch_source_input``. That worked, but was more complicated (and likely less efficient) than necessary. This commit adds an optional ``content_offset`` parameter to ``nested_parse_with_titles``, and fixes callers to pass the appropriate content offset when needed. This commit eliminates the now-unnecessary calls to ``switch_source_input`` and instead specifies the correct ``content_offset``. | ||||
* | Refactor ``sphinx.util.images.guess_mimetype`` | Adam Turner | 2023-02-15 | 1 | -42/+64 |
| | |||||
* | Resolve Ruff SIM114 violations | Adam Turner | 2023-02-15 | 4 | -39/+31 |
| | |||||
* | Collapse ``.startswith`` and ``.endswith`` tests | Adam Turner | 2023-02-09 | 1 | -1/+1 |
| | |||||
* | Fix various Ruff errors | Adam Turner | 2023-01-31 | 2 | -2/+3 |
| | |||||
* | Merge branch '6.1.x' | Adam Turner | 2023-01-10 | 1 | -3/+22 |
|\ | | | | | | | | | | | # Conflicts: # CHANGES # sphinx/__init__.py | ||||
| * | Handle exceptions for ``get_node_source`` and ``get_node_line`` | Adam Turner | 2023-01-10 | 1 | -3/+7 |
| | | |||||
| * | Restore Sphinx 5 ``nodes.Element`` copying behaviour | Adam Turner | 2023-01-10 | 1 | -0/+15 |
| | | |||||
* | | Replace deprecation tooling with module level ``__getattr__`` (#11054) | Adam Turner | 2023-01-08 | 3 | -50/+61 |
| | | |||||
* | | Adopt ``profile = "black"`` for ``isort`` | Adam Turner | 2023-01-07 | 2 | -10/+37 |
| | | | | | | | | This allows using Ruff's import sorting fixers | ||||
* | | Call ``hashlib`` functions with ``usedforsecurity=False`` | Adam Turner | 2023-01-06 | 1 | -16/+9 |
|/ | |||||
* | Suppress ``ValueError`` in ``apply_source_workaround`` (#11092) | Adam Turner | 2023-01-05 | 1 | -1/+3 |
| | |||||
* | Fix deprecation warnings | Adam Turner | 2023-01-05 | 1 | -2/+3 |
| | |||||
* | Move XML Name pattern to ``epub3`` | Adam Turner | 2023-01-03 | 1 | -25/+6 |
| | |||||
* | Move exception formatting utilities to ``sphinx.util.exceptions`` | Adam Turner | 2023-01-03 | 2 | -69/+75 |
| | |||||
* | Deprecate ``path_stabilize`` via ``deprecated_alias`` | Adam Turner | 2023-01-03 | 1 | -10/+5 |
| | |||||
* | Move HTTP-date formatting utils to `utils.http_date` | Adam Turner | 2023-01-03 | 2 | -15/+25 |
| | |||||
* | Move console output utilities to ``sphinx.util.display`` | Adam Turner | 2023-01-03 | 2 | -88/+107 |
| | | | | | - Merge `old_status_iterator` into ``status_iterator``. ``old_status_iterator`` was deprecated in version 1.6. | ||||
* | De-glob mypy whitelist for 'sphinx.domains.*' (#11064) | danieleades | 2023-01-02 | 2 | -2/+2 |
| | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> | ||||
* | Shrink mypy whitelist for 'util.nodes' module (#11061) | danieleades | 2023-01-02 | 1 | -4/+4 |
| | |||||
* | Use PEP 604 display for ``typing.Optional`` and ``typing.Union`` (#11072) | Adam Turner | 2023-01-02 | 2 | -70/+85 |
| | |||||
* | Use ``re`` flags | Adam Turner | 2023-01-02 | 2 | -11/+11 |
| | |||||
* | Use ``finally`` to terminate parallel processes (#10952) | Philip Meier | 2023-01-02 | 1 | -2/+1 |
| | |||||
* | Address SIM103 lints (#11052) | danieleades | 2023-01-02 | 3 | -31/+8 |
| | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> | ||||
* | Use ``any`` to find elements in iterable (#11053) | danieleades | 2023-01-02 | 1 | -4/+4 |
| | |||||
* | Run pyupgrade (#11070) | Adam Turner | 2023-01-02 | 17 | -81/+78 |
| | |||||
* | Use PEP 604 types | Adam Turner | 2023-01-01 | 21 | -86/+82 |
| | |||||
* | Use PEP 595 types | Adam Turner | 2023-01-01 | 21 | -179/+182 |
| | |||||
* | Insert ``from __future__ import annotations`` | Adam Turner | 2023-01-01 | 25 | -1/+52 |
| | |||||
* | Factor out HTML 4 translator (#11051) | Adam Turner | 2022-12-30 | 1 | -2/+2 |
| | | | Move the HTML 4 translator into a private module. | ||||
* | Enable Ruff's pylint 'PLC2201' check | Adam Turner | 2022-12-30 | 1 | -1/+1 |
| | | | | Address all cases where the comparison order check is violated | ||||
* | Enable Ruff's pylint checks | Adam Turner | 2022-12-29 | 2 | -4/+2 |
| | | | | | Also fix two PLW0602 warnings (``global`` without assignment) and five PLW0120 warnings (else clause on loop without break). | ||||
* | Enable Ruff's pygrep-hooks checks | Adam Turner | 2022-12-29 | 1 | -1/+1 |
| |