Commit Graph
5099 Commits
Author SHA1 Message Date
danieleadesanddaniel.eades ded587ebc6 Shrink mypy whitelist for `tests.test_directives.test_directive_patch` (#14139)
Co-authored-by: daniel.eades <daniel.eades@seebyte.com>
2025-12-01 11:54:20 +00:00
a03556feb4 Shrink mypy whitelist for `tests.test_builders.test_build_latex` (#14138)
Co-authored-by: daniel.eades <daniel.eades@seebyte.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-12-01 10:58:51 +00:00
James Addison 0204145a9a linkcheck: Reduce test duration on Windows (#14133) 2025-12-01 10:58:05 +00:00
Shengyu Zhang 4a3bd13b6a js domain: Remove extra brackets from function arguments and errors (#13569) 2025-11-30 06:15:05 +00:00
Adam Turner 766976f6a8 Run the ty type checker in CI (#14129) 2025-11-30 05:46:41 +00:00
Adam Turner 2ac430c6df Fix autodoc event handler in sphinx.ext.napoleon (#14127) 2025-11-30 04:54:02 +00:00
Adam Turner 2502bfcaf1 autodoc: Improve type hints for events (#14126) 2025-11-30 04:41:39 +00:00
baf359ed99 Don't include HTML content in title search index (#13356)
Co-authored-by: James Addison <55152140+jayaddison@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-11-30 00:28:24 +00:00
aad73efdec intersphinx: Handle string interpolation failures in `_fetch_inventory_group()` (#14101)
Co-authored-by: Matthieu DE CIBEINS <matthieu.decibeins@non.se.com>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2025-11-29 22:21:38 +00:00
Bénédikt TranandAdam Turner cad3c43f4b Fix infinite loop in `sphinx.writers.text.TextWrapper` (#13762)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2025-11-29 02:34:37 +00:00
Akihiro TakizawaandAdam Turner e591423a96 Always use forward slash (`/`) in opf spines (#14067)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2025-11-29 02:16:24 +00:00
Rui PinheiroandAdam Turner dbb4e99d43 Use the `FORWARDREF annotation format with inspect.signature()` (#13946)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2025-11-29 01:24:41 +00:00
Adam Turner 63f80adeff Reduce pyright exclusions (#14111) 2025-11-28 00:40:38 +00:00
James Addison 202a53c0dd Allow directory path separators in slowest-read-duration timing pattern regexes (#14110) 2025-11-27 23:02:04 +00:00
Adam Turner 87c931b05b autodoc: Fix subclassing a MockObject together with `typing.Generic` (#14108) 2025-11-27 22:24:05 +00:00
James Addison 4ea0d9fef4 Revert "Isolate a pair of HTML build 'numfig' test cases (#14100)" (#14106) 2025-11-27 21:49:39 +00:00
Matthias GeierandAdam Turner 483daf722d Use Mathjax v4 by default (#14080)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2025-11-27 21:36:07 +00:00
Adam Turner a82b34feea Remove 'untyped_defs' mypy overrides (#14103) 2025-11-27 21:16:15 +00:00
Adam Turner 227b230be8 Refactor `test_markup.py` (#14102) 2025-11-27 20:49:15 +00:00
user27182andAdam Turner 187a2d269c Add configuration options to the `duration` extension (#13469)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2025-11-27 03:04:13 +00:00
James Addison 828bdca03a Isolate a pair of HTML build 'numfig' test cases (#14100) 2025-11-26 19:32:31 +00:00
Adam Turner 45e1ae646c Remove deprecated API (#14095) 2025-11-25 20:15:39 +00:00
Adam Turner 4ba30e2835 Restore the legacy implementation of autodoc for compatibility (#14091) 2025-11-25 07:04:14 +00:00
Adam Turner 01701485db Introduce `sphinx.ext.autodoc._dynamic` subpackage (#14087) 2025-11-25 04:25:48 +00:00
Adam Turner 0f021c2a3e Introduce `_auto_document_object()` (#14084) 2025-11-25 04:09:43 +00:00
Shengyu ZhangandAdam Turner 9ca942bef6 Support images with non-base64 data URIs (#14006)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2025-11-25 03:04:33 +00:00
Cristian LeandAdam Turner 707f210f65 autodoc: Ensure type statements don't inherit docstrings (#14068)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2025-11-25 02:12:38 +00:00
Adam Dangoor 19acb6f867 Remove mypy overrides for `tests/test_builders/test_build_html_5_output.py` (#14072) 2025-11-24 22:44:58 +00:00
Adam Dangoor edd2bd370f Remove mypy overrides for `tests/test_theming/test_theming.py` (#14071) 2025-11-24 22:44:26 +00:00
Adam DangoorandAdam Turner 95b9b3e0b2 Remove mypy overrides for `tests/test_transforms/test_transforms_post_transforms_images.py` (#14070)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-11-24 22:38:28 +00:00
Adam Dangoor 815f99b5f0 Remove mypy overrides for `tests/test_writers/test_docutilsconf.py` (#14069) 2025-11-24 22:32:46 +00:00
dariomesic aeabc11f84 Implement smarter reference comparison for i18n (#14001) 2025-11-24 22:26:03 +00:00
c06bfceee2 linkcheck: Allow case-insensitive URL comparisons (#14046)
Co-authored-by: James Addison <55152140+jayaddison@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2025-11-24 22:23:31 +00:00
Randolf ScholzandAdam Turner 67762d88a2 Add `mathjax_config_file` to load MathJax configuration from a file (#14025)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-11-24 20:59:21 +00:00
Adam Turner 62619bd5a2 Fix test_command_line for Python 3.15 (#14040) 2025-11-09 00:36:58 +00:00
Adam Turner b9d5d2bacc Reduce autodoc test duration by up to four times (#14039) 2025-11-06 03:18:19 +00:00
Adam Turner 9eb3d7940f Add a shared utilities module for autodoc (#14037) 2025-11-05 01:10:46 +00:00
Tamika NomaraandAdam Turner 245dea0911 Fix `autodoc_type_aliases when appearing in PEP 604 unions (X | Y`) (#14007)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-11-05 00:57:57 +00:00
Adam Turner e3175f4477 Reorganise and rename `sphinx.ext.autodoc._importer` (#14036) 2025-11-04 23:00:02 +00:00
Adam Turner f7b98a03c6 Split autodoc loader functions to a new module (#14035) 2025-11-04 22:38:51 +00:00
Adam Turner 4d2bd1e862 Split autodoc name parsing utilities to a new module (#14033) 2025-11-04 21:32:15 +00:00
Adam Turner 6de23cd95e Split autodoc signature utilities to a new module (#14032) 2025-11-04 20:58:56 +00:00
Adam Turner 6127d76bb4 Integrate autodoc event callbacks into importer (#14031) 2025-11-04 19:03:32 +00:00
Adam Turner 8ca7120987 Split out `test_ext_autodoc_typehints` (#14027) 2025-11-04 12:07:05 +00:00
Adam Turner 83442bee4b Group the type alias cross-referencing test with Python domain tests (#14021) 2025-11-03 19:34:58 +00:00
Adam Turner fcc9ca037d Define and use `TEST_ROOTS_DIR` (#14020) 2025-11-03 16:09:48 +00:00
Adam Turner 8c86bad0ef Remove `env` from autodoc interfaces (#14018) 2025-11-03 00:30:53 +00:00
Adam Turner 54e80f70ae Calculate and use the `docstring_lines` attribute (#14015) 2025-11-02 21:40:48 +00:00
Adam Turner 48f6739838 Accept a sequence of strings in `extract_summary()` (#14014) 2025-11-02 21:11:40 +00:00
Adam Turner de745a9eaa Consolidate option spec processing into `_directive_options.py` (#14009) 2025-10-29 23:53:15 +00:00