Commit Graph
22420 Commits
Author SHA1 Message Date
Dimitri Papadopoulos Orfanos 994a062c5f Fix typos found by codespell (#13992) 2025-11-24 23:07:38 +00:00
Adam Turner 2c3e22e3e8 Use new package name for `roman-numerals` 2025-11-24 22:47:51 +00:00
Shengyu Zhang 999627164e Fix code block caption of github workflow file in tutorial (#14019) 2025-11-24 22:45:46 +00:00
Philipp A. 0bdfa74347 Use PEP 654 `ExceptionGroup` for autosummary import errors (#14075) 2025-11-24 22:45:29 +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
Martin Diehl 2ee17b6b38 Add DAMASK as an example using the PyData theme (#14063) 2025-11-24 22:29:04 +00:00
dariomesic aeabc11f84 Implement smarter reference comparison for i18n (#14001) 2025-11-24 22:26:03 +00:00
Harmen StoppelsandAdam Turner 401d81f024 Do not run `window.history.replaceState()` unconditionally (#13918)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-11-24 22:24:23 +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
Jean-François B. 5d0ad16861 Correct CHANGES entry and latex comments from #14060 (#14062)
Thanks to @mitya57
2025-11-15 17:08:06 +01:00
Jean-François B. 5b922b4ba9 Fix #14059 (PDF build crash with French since August 2025 LaTeX) (#14060) 2025-11-15 08:40:09 +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 796a5722e0 Combine type comment utilities into `_type_comments.py` (#14034) 2025-11-04 21:51:20 +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 08c7ee36cf Use `parent_modname and canonical_module_name` (#14017) 2025-11-02 23:55:47 +00:00
Adam Turner bb6b79b671 Inline `_get_doc() into _get_docstring_lines()` (#14016) 2025-11-02 21:59:17 +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
Adam Turner 7993a8b36a Use more type aliases for autodoc event listeners (#14008) 2025-10-29 22:37:33 +00:00
Jean-François B. e347e59ccc Fix #13939: LaTeX: page break after admonition title (#13988) 2025-10-24 08:57:38 +02:00
Adam Turner 465b758a35 Extract `_generate_directives() from Documenter._generate()` (#13985) 2025-10-22 00:23:22 +01:00
Adam Turner fdf5411c1c Remove `DocumenterBridge` (#13984) 2025-10-21 19:06:53 +01:00
Adam Turner 6083b5a550 Move member merging logic from `options to _member_finder` (#13982) 2025-10-21 18:13:12 +01:00
Adam Turner 90192fc763 Use `_load_object_by_name()` directly (#13978) 2025-10-20 17:44:53 +01:00
Adam Turner fd32eb54dc Extract `_prepare_docstrings()` (#13977) 2025-10-20 16:54:45 +01:00
Adam Turner 9203f2ff3e Avoid using `Documenter.name` (#13975) 2025-10-19 22:29:59 +01:00
Adam Turner ce818389eb Simplify `Autosummary.get_items()` (#13974) 2025-10-19 21:07:11 +01:00
Adam Turner 7121e990e4 Use `ModuleSpec.origin` (#13973) 2025-10-19 20:10:52 +01:00
Adam Turner b5870e6904 Extract the `_docstring_source_name()` function (#13972) 2025-10-19 19:31:15 +01:00
Adam Turner 1156555fcc Introduce `_AutodocAttrGetter` type (#13971) 2025-10-19 18:37:12 +01:00
Adam Turner ff3e1d23e3 Use `_AutodocObjType` more consistently (#13970) 2025-10-19 18:23:27 +01:00
Adam Turner a4a8accbd5 Extract `_gather_members()` (#13968) 2025-10-17 17:09:06 +01:00
Adam Turner 3dec8620ae Delete `FakeDirective` in autosummary (#13967) 2025-10-17 16:00:00 +01:00
Adam Turner dcfaa98e80 Remove unused items in `_documenters` (#13963) 2025-10-17 03:07:31 +01:00