Commit Graph
5111 Commits
Author SHA1 Message Date
Jared DillardandAdam Turner b127b9478a Add `app.add_static_dir()` for copying extension static files (#14219)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-12-31 14:58:12 +00:00
Tim Nordell 20f1c46790 LaTeX: Inhibit breaks for rows with merged vertical cells (#14227) 2025-12-30 23:46:12 +01:00
Adam Turner 93b20c442d Fix tests for Python 3.15 2025-12-19 23:18:58 +00:00
Adam Turner ce19a75e3c Ignore fewer Ty rules (#14184) 2025-12-15 21:31:10 +00:00
Adam Turner b9650d5d26 Remove some entries from the mypy whitelist (#14182) 2025-12-15 19:55:28 +00:00
9257a4f1bb Improve type annotations with an 'extract_node' test utility (#14151)
Co-authored-by: daniel.eades <daniel.eades@seebyte.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-12-15 18:40:34 +00:00
Maciej Olko eb4d0da2d0 Always ignore order in `_NodeUpdater.compare_references()` (#14172) 2025-12-15 16:19:50 +00:00
71cc5d8479 Bump types-docutils to 0.22.3.20251115 (#13634)
Co-authored-by: Adam Dangoor <adamdangoor@gmail.com>
Co-authored-by: danieleades <33452915+danieleades@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: daniel.eades <daniel.eades@seebyte.com>
2025-12-10 15:41:41 +00:00
Adam Turner a5e373ce51 Require Docutils 0.21 or greater (#14154) 2025-12-05 22:37:44 +00:00
Adam Turner ad0497b89d Drop support for Python 3.11 (#14153) 2025-12-05 22:12:06 +00:00
W. H. WangandAdam Turner 88a4a97873 Allow reordered refs and translated display text in pending_xref (#14144)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-12-04 07:24:14 +00:00
c043841398 Shrink mypy whitelist for `tests.test_transforms.test_transforms_post_transforms` (#14141)
Co-authored-by: daniel.eades <daniel.eades@seebyte.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-12-02 12:10:20 +00:00
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