Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Prefer ``contextlib.chdir`` to ``sphinx.util.osutil.cd`` | Adam Turner | 2023-03-05 | 8 | -21/+67 | |
| | ||||||
* | Make ``--jobs`` a synonym for ``-j`` (#11210) | Hugo van Kemenade | 2023-03-05 | 2 | -2/+6 | |
| | | | Make --jobs a synonym for -j | |||||
* | Update tests for Babel 2.12 (CLDR 42) | Adam Turner | 2023-03-05 | 1 | -2/+11 | |
| | ||||||
* | Resolve lint errors from Ruff 0.0.254 | Adam Turner | 2023-03-05 | 4 | -25/+25 | |
| | ||||||
* | Explicitly select all linter checks | Adam Turner | 2023-02-18 | 1 | -48/+1 | |
| | ||||||
* | Update Ruff configuration | Adam Turner | 2023-02-18 | 1 | -5/+109 | |
| | ||||||
* | Resolve ``flake8-return`` errors | Adam Turner | 2023-02-18 | 29 | -174/+135 | |
| | ||||||
* | Unescape quotation marks where possible | Adam Turner | 2023-02-18 | 15 | -19/+19 | |
| | ||||||
* | Fix pytest style issues | Adam Turner | 2023-02-18 | 21 | -77/+51 | |
| | ||||||
* | Avoid ``unittest.TestCase`` methods | Adam Turner | 2023-02-18 | 4 | -294/+295 | |
| | ||||||
* | Prefer ``@pytest.fixture()`` | Adam Turner | 2023-02-18 | 8 | -22/+22 | |
| | ||||||
* | Fix COM812 | Adam Turner | 2023-02-18 | 101 | -402/+405 | |
| | ||||||
* | Add ``content_offset`` parameter to ``nested_parse_with_titles`` (#11147) | Jeremy Maitin-Shepard | 2023-02-15 | 11 | -16/+72 | |
| | | | | | | | | | | | | | | | | | | | | | | | 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``. | |||||
* | Restore correct parallel search index building (#11192) | Jeremy Maitin-Shepard | 2023-02-15 | 2 | -4/+10 | |
| | | | | | | | | | | | | Revert b32841e153431ec02de31e9ec32e79ab3ac7d1c2 to fix parallel search index building The image-related changes were already reverted in 2a7c40d07f4b0e0fd2a4bc942e74634c2df24dee, but the search index changes also need to be reverted. It would be nice to support parallel search index building, but the necessary support for merging the search indices produced by each process needs to be added first. | |||||
* | Simplify coverage workflow reporting | Adam Turner | 2023-02-15 | 1 | -5/+1 | |
| | | | | | ``PYTHONDEVMODE`` and ``PYTHONWARNDEFAULTENCODING`` are used in the main tests, remove from the coverage workflow. | |||||
* | Ignore ``coverage.py`` warnings | Adam Turner | 2023-02-15 | 1 | -1/+1 | |
| | ||||||
* | Remove ``smartypants`` from LICENSE (#11152) | Karolina Surma | 2023-02-15 | 1 | -73/+0 | |
| | | | | smartypants was removed from Sphinx in commit ce31e1c0c7b32f6be93186e0fef076ef65ff0b05 | |||||
* | Remove unicode prefix (``u``) from strings (#11158) | Mike Taves | 2023-02-15 | 2 | -11/+11 | |
| | ||||||
* | Treat Python warnings as errors during testing | Adam Turner | 2023-02-15 | 6 | -6/+21 | |
| | ||||||
* | Refactor ``sphinx.util.images.guess_mimetype`` | Adam Turner | 2023-02-15 | 1 | -42/+64 | |
| | ||||||
* | Always cancel in-progress workflows on new commits | Adam Turner | 2023-02-15 | 5 | -5/+5 | |
| | | | | | | | | | The current ``github.head_ref || github.run_id`` syntax only cancels in-progress GitHub Actions runs triggered by pull requests, as ``head_ref`` is only defined for pull requests, and ``run_id`` is always unique. This changes to using ``ref``, which is the name of the branch or tag linked to the commit, meaning that in-progress jobs will be cancelled on pushes to a branch. | |||||
* | Update GitHub Actions workflows | Adam Turner | 2023-02-15 | 10 | -135/+193 | |
| | ||||||
* | Resolve Ruff SIM114 violations | Adam Turner | 2023-02-15 | 25 | -138/+107 | |
| | ||||||
* | LaTeX: workaround to help users of luatex-ja LaTeX classes (#11191) | Jean-François B | 2023-02-11 | 1 | -4/+6 | |
| | | | Close #11179 | |||||
* | Define ``sphinx.builders.gettext.LocalTimeZone.tzname()`` | Adam Turner | 2023-02-11 | 1 | -0/+3 | |
| | ||||||
* | Ensure Ruff creates logs in colour for GitHub Actions (#11190) | Hugo van Kemenade | 2023-02-11 | 1 | -0/+3 | |
| | ||||||
* | Correct the Python Developer Guide markup style advice link (#11189) | Hugo van Kemenade | 2023-02-11 | 1 | -2/+2 | |
| | ||||||
* | Fix Ruff bidirectional text errors | Adam Turner | 2023-02-11 | 1 | -2/+5 | |
| | ||||||
* | Ignore some pylint checks in Ruff | Adam Turner | 2023-02-09 | 1 | -0/+3 | |
| | ||||||
* | Collapse ``.startswith`` and ``.endswith`` tests | Adam Turner | 2023-02-09 | 5 | -10/+7 | |
| | ||||||
* | Skip sphinx.locale.init_console when running tests (#11159) | Jean Abou-Samra | 2023-01-31 | 1 | -0/+14 | |
| | | | | | | | Tests for Sphinx's CLIs, like test_apidoc, indirectly init_console to initialize translations for Sphinx's console domain, the one with Sphinx's log messages. This bleeds over subsequent tests by making warnings translated. Fix this by skipping init_console when running Sphinx's test suite. | |||||
* | Fix various Ruff errors | Adam Turner | 2023-01-31 | 10 | -18/+30 | |
| | ||||||
* | Ignore various lint checks in Ruff | Adam Turner | 2023-01-31 | 1 | -0/+7 | |
| | ||||||
* | Ruff code TYP renamed to TCH | Adam Turner | 2023-01-31 | 1 | -1/+1 | |
| | ||||||
* | Update LaTeX docs | Jean-François B | 2023-01-24 | 1 | -33/+56 | |
| | ||||||
* | LaTeX: ``\emph`` replaced by ``\sphinxparam`` and ``\sphinxsamedocref`` | Jean-François B | 2023-01-24 | 3 | -2/+10 | |
| | ||||||
* | Remove unneeded typing imports | Adam Turner | 2023-01-23 | 2 | -11/+4 | |
| | ||||||
* | Enable more Ruff checks | Adam Turner | 2023-01-23 | 1 | -0/+12 | |
| | ||||||
* | Detect import sorting problems with Ruff | Adam Turner | 2023-01-23 | 1 | -0/+1 | |
| | ||||||
* | Sort imports with Ruff's convention | Adam Turner | 2023-01-23 | 2 | -4/+9 | |
| | ||||||
* | Ignore ``S701`` in Ruff | Adam Turner | 2023-01-23 | 1 | -0/+1 | |
| | ||||||
* | Ignore ``SIM115`` in Ruff | Adam Turner | 2023-01-23 | 1 | -0/+1 | |
| | ||||||
* | Update ``PL`` code ignores in Ruff | Adam Turner | 2023-01-23 | 1 | -4/+3 | |
| | ||||||
* | Doc of html_file_suffix (closes #11141) (#11144) | Jean-François B | 2023-01-22 | 1 | -2/+2 | |
| | ||||||
* | Ignore UP031 check with Ruff 0.0.229 | Jean-François B | 2023-01-22 | 1 | -0/+2 | |
| | ||||||
* | Merge pull request #11146 from jfbu/update_test_needs_sphinx | Jean-François B | 2023-01-22 | 1 | -7/+7 | |
|\ | | | | | Update test_config.py::test_needs_sphinx for Alabaster 0.7.13 compat | |||||
| * | Update test_config.py::test_needs_sphinx for Alabaster 0.7.13 compat | Jean-François B | 2023-01-21 | 1 | -7/+7 | |
|/ | | | | Relates #11145 | |||||
* | Merge branch '6.1.x' | Adam Turner | 2023-01-10 | 13 | -61/+67 | |
|\ | | | | | | | | | | | # Conflicts: # CHANGES # sphinx/__init__.py | |||||
| * | Bump version | Adam Turner | 2023-01-10 | 2 | -3/+24 | |
| | | ||||||
| * | Bump to 6.1.3 finalv6.1.3 | Adam Turner | 2023-01-10 | 2 | -19/+4 | |
| | |