Commit Graph
100 Commits
Author SHA1 Message Date
Adam Turner cc7c6f435a Bump to 9.1.0 final 2025-12-31 15:07:44 +00:00
Adam Turner 8ab960098a Bump to 9.1.0 candidate 2 2025-12-27 03:15:19 +00:00
Adam Turner d59b237594 autodoc: Improve support for non-weakreferencable objects 2025-12-27 03:03:14 +00:00
Adam Turner d68d242305 Fix CHANGES 2025-12-23 09:08:50 +00:00
Adam Turner f297b9d4d0 Fix creating `HTMLThemeFactory` objects in third-party extensions 2025-12-23 08:58:55 +00:00
Adam Turner b062fa9287 Remove incorrect assertions (#14204) 2025-12-20 15:01:19 +00:00
Adam Turner 5c2ab212b4 Bump to 9.1.0 candidate 1 2025-12-19 23:29:18 +00:00
Adam Turner 85b7c7f034 autodoc: Fix default option parsing (#14198) 2025-12-19 23:27:28 +00:00
Adam Turner 93b20c442d Fix tests for Python 3.15 2025-12-19 23:18:58 +00:00
Adam Turner ce3fac94fe Move misplaced CHANGES entry 2025-12-19 23:16:19 +00:00
Adam Turner 5db3a1928c Fix compatibility with MyST-Parser (#14194) 2025-12-19 21:45:32 +00:00
Adam Turner 038fc40dd9 autodoc: Fix duplicate `:no-index-entry:` for modules (#14190) 2025-12-17 16:43:10 +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
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
Adam Turner 0a577b8fcb Move Sphinx 9.0 CHANGES to doc/changes 2025-12-05 21:42:58 +00:00
Adam Turner 867006fd37 Bump version 2025-12-05 21:40:44 +00:00
Adam Turner 8ddba7e4cb Bump to 9.0.4 final 2025-12-04 07:44:01 +00:00
Adam Turner f666208d78 Bump version 2025-12-04 02:19:10 +00:00
Adam Turner df8a9e7e9e Bump to 9.0.3 final 2025-12-04 01:45:43 +00:00
Adam Turner bd89f96c64 Import names from defining module 2025-12-04 01:37:29 +00:00
Adam Turner 7d05936ae1 autodoc: Restore some missing exports 2025-12-04 01:35:53 +00:00
Adam Turner b745a11530 Bump version 2025-12-03 23:06:13 +00:00
Adam Turner 1ac581c733 Bump to 9.0.2 final 2025-12-03 23:00:31 +00:00
Adam Turner 1281a832a8 autodoc: Restore `mock` module for compatibility (#14152) 2025-12-03 22:39:01 +00:00
Adam Turner 547a1d1a60 Bump version 2025-12-02 11:25:18 +00:00
Adam Turner a8373783dc Bump to 9.0.1 final 2025-12-01 16:41:42 +00:00
Adam Turner 48840e6578 Note updated message catalogues in CHANGES 2025-12-01 16:39:45 +00:00
Adam Turner baffcf0935 autodoc: Deprecate mapping interface for options (#14140) 2025-12-01 16:12:47 +00:00
Adam Turner 9a11033489 Bump version 2025-12-01 00:36:57 +00:00
Adam Turner aea90c92aa Bump to 9.0.0 final 2025-11-30 12:38:37 +00:00
Adam Turner 28c31aa576 Fix CHANGES entry for non-decodable bytes 2025-11-30 10:50:35 +00:00
Adam Turner 2d0a416c9b Fix intersphinx file cache (#14130) 2025-11-30 07:08:02 +00:00
Adam Turner 3cd545fad2 Bump version 2025-11-30 06:18:50 +00:00
Adam Turner 17380a536d Bump to 9.0.0 candidate 4 2025-11-30 06:16:59 +00:00
Adam Turner 4f23c99300 Fix .gitattributes for latin-1 encoded files 2025-11-30 05:59:56 +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
Adam Turner f974137ab4 Bump version 2025-11-30 03:05:03 +00:00
Adam Turner dac2d8bc04 Bump to 9.0.0 candidate 3 2025-11-30 03:02:31 +00:00
Adam Turner 42cf2c3b81 autodoc: Use a shared logger (#14124) 2025-11-30 01:15:49 +00:00
Adam Turner b47fa78ec7 Bump pypi-attestations to 0.0.28 2025-11-30 00:06:29 +00:00
Adam Turner 71eb23a6e4 Fix `PicklingError caused by BuildEnvironment._builder_cls` (#14123) 2025-11-30 00:02:53 +00:00
Adam Turner 1e5f2f9913 Improve event manager API documentation (#14122) 2025-11-30 00:02:39 +00:00
Adam Turner 1520f986b5 Clarify a CHANGES entry 2025-11-29 23:13:42 +00:00
Adam Turner 718fae0245 Bump version 2025-11-29 03:04:37 +00:00
Adam Turner 15986f897b Bump to 9.0.0 candidate 2 2025-11-29 02:43:22 +00:00
Adam Turner efe627a00b Ensure that the 'tags' argument is not required until Sphinx 11 (#14118) 2025-11-29 01:58:49 +00:00
Adam Turner 76de0c185b Emend typo in CHANGES.rst 2025-11-28 00:59:48 +00:00
Adam Turner d9cd749583 Bump version 2025-11-28 00:59:28 +00:00
Adam Turner f85eef11bf Bump to 9.0.0 candidate 1 2025-11-28 00:45:01 +00:00
Adam Turner 63f80adeff Reduce pyright exclusions (#14111) 2025-11-28 00:40:38 +00:00
Adam Turner 87c931b05b autodoc: Fix subclassing a MockObject together with `typing.Generic` (#14108) 2025-11-27 22:24:05 +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
Adam Turner 45e1ae646c Remove deprecated API (#14095) 2025-11-25 20:15:39 +00:00
Adam Turner 8256092f14 Retarget to Sphinx 9.0 (#14093) 2025-11-25 08:00:08 +00:00
Adam Turner 4ba30e2835 Restore the legacy implementation of autodoc for compatibility (#14091) 2025-11-25 07:04:14 +00:00
Adam Turner 14694d457f Make `sphinx.ext.autodoc._directive` private (#14090) 2025-11-25 06:42:27 +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
Adam Turner 2ce07daa6a Update translation contribution guidance (#14083) 2025-11-25 03:36:18 +00:00
Adam Turner 22bb79ead7 Update JavaScript dependencies 2025-11-25 00:23:49 +00:00
Adam Turner 235cdd5f5a Bump Ruff to 0.14.2 2025-11-24 23:21:23 +00:00
Adam Turner 5c245c3e66 Bump Ruff to 0.14.1 2025-11-24 23:21:11 +00:00
Adam Turner 0d5fcb82a9 Move pytest configuration settings to `.pytest.toml` (#14082) 2025-11-24 23:20:00 +00:00
Adam Turner 2c3e22e3e8 Use new package name for `roman-numerals` 2025-11-24 22:47:51 +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
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
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