Commit Graph

  • 3f13b5a323 Match type-checked files in pyright and mypy Adam Turner 2025-01-23 01:02:31 +00:00
  • 0a1af1faea Expand the `disallow_untyped_defs` whitelist Adam Turner 2025-01-23 01:00:43 +00:00
  • 5921199189 Remove `sphinx.domains.{c,cpp}` from the no-any-generics whitelist Adam Turner 2025-01-23 00:48:43 +00:00
  • 2bf08d6da4 Remove `sphinx.domains` from the no-any-generics whitelist Adam Turner 2025-01-23 00:18:03 +00:00
  • f071dc1b5b Remove `sphinx.util.parallel` from the no-any-generics whitelist Adam Turner 2025-01-23 00:13:34 +00:00
  • 2a411dcb53 Remove `sphinx.util.logging` from the no-any-generics whitelist Adam Turner 2025-01-22 23:48:43 +00:00
  • 3927b9e211 Remove `sphinx.util.inspect` from the no-any-generics whitelist Adam Turner 2025-01-22 20:36:15 +00:00
  • 7446a883c2 Remove `sphinx.util.docutils` from the no-any-generics whitelist Adam Turner 2025-01-22 20:29:32 +00:00
  • 705cf7fcf5 Remove `sphinx.util.docfields` from the no-any-generics whitelist Adam Turner 2025-01-22 20:13:44 +00:00
  • 14db5ffba1 Remove `sphinx.ext.autodoc` from the no-any-generics whitelist Adam Turner 2025-01-22 02:51:59 +00:00
  • 6128f2b406 Remove `sphinx.ext.inheritance_diagram` from the no-any-generics whitelist Adam Turner 2025-01-22 02:42:14 +00:00
  • 3258179099 Remove `sphinx.ext.graphviz` from the no-any-generics whitelist Adam Turner 2025-01-22 02:42:01 +00:00
  • 2d41d43ce8 Remove `sphinx.ext.doctest` from the no-any-generics whitelist Adam Turner 2025-01-22 02:41:47 +00:00
  • 1b607502d5 Remove top-level modules from the no-any-generics whitelist Adam Turner 2025-01-22 02:24:55 +00:00
  • 7154672c2e Replace `colorize() with functions from _cli.util.colour` (#13259) Adam Turner 2025-01-21 20:38:10 +00:00
  • df962a4b03 Remove `markupsafe._speedups` patch in free-threaded tests (#13260) Adam Turner 2025-01-21 20:31:41 +00:00
  • 1418339eb9 Allow configuration of trailing commas in multi-line signatures (#12975) Thomas Louf 2025-01-21 21:08:18 +01:00
  • fe06909e32 autodoc: Use type stub files when documenting native modules (#13253) Adam Turner 2025-01-21 19:36:55 +00:00
  • e18155fa10 Note when `.. confval::` was added Adam Turner 2025-01-21 08:08:29 +00:00
  • 5b3f98ed80 Sort the `suppress_warnings` list and add missing entries Adam Turner 2025-01-21 08:06:19 +00:00
  • 68cbf4ee11 Add missing re-exports to `sphinx.util.console` Adam Turner 2025-01-21 07:00:07 +00:00
  • 5b9fb9e060 autodoc: fix ordering of class and static methods for groupwise order (#13201) Bénédikt Tran 2025-01-20 16:19:05 +01:00
  • f4a802cce7 Add required sphinx.configuration to .readthedocs.yml (#13255) Bénédikt Tran 2025-01-20 11:16:46 +01:00
  • 34037aa4ad Allow users to suppress `autodoc.mocked_object` warnings (#9732) CyrilRoelandteNovance 2025-01-20 00:12:40 +01:00
  • fc62472a03 Replace `os.path.join` with pathlib (#13252) Adam Turner 2025-01-18 22:42:47 +00:00
  • 4b1d64d1e5 Use `app.build(force_all=True)` Adam Turner 2025-01-18 18:38:59 +00:00
  • 7227b09a2d Replace `path with os.path` Adam Turner 2025-01-18 18:38:40 +00:00
  • b005b815ae Define `__repr__ for ENUM` (#13251) Adam Turner 2025-01-18 16:20:55 +00:00
  • 31de02cc52 Bump Ruff to 0.9.2 (#13250) Adam Turner 2025-01-18 00:35:09 +00:00
  • e5131ba1bd intersphinx: Create an `_InventoryItem` type (#13248) Adam Turner 2025-01-17 00:41:11 +00:00
  • cfb47865d6 autosummary: Respect empty module `__all__` (#13187) Valentin Pratz 2025-01-17 00:36:31 +01:00
  • a0cd666906 intersphinx: Simplify domain detection in `IntersphinxRole.run()` Adam Turner 2025-01-16 21:23:20 +00:00
  • f1ffe22fc9 intersphinx: Simplify `IntersphinxRole.is_existent_role()` Adam Turner 2025-01-16 21:10:37 +00:00
  • 4a1efef211 intersphinx: Avoid passing the full `BuildEnvironment` object Adam Turner 2025-01-16 21:09:10 +00:00
  • d19eedf51d intersphinx: Simplify to `domain_name` where possible Adam Turner 2025-01-16 21:07:13 +00:00
  • 1a6672cb78 intersphinx: Use non-streaming `requests.get()` Adam Turner 2025-01-16 21:04:57 +00:00
  • 121181ae88 intersphinx: Specify types for config values Adam Turner 2025-01-16 20:55:44 +00:00
  • ac5f51d570 intersphinx: Sort `__all__` Adam Turner 2025-01-16 20:54:25 +00:00
  • 67f6154be3 Allow suppressing warnings for non-matching `toctree` glob patterns (#13230) Slawomir Figiel 2025-01-16 19:17:21 +01:00
  • 099b91a9d9 Bump `ENV_VERSION for _CurrentDocument` (#13246) Takayuki SHIMIZUKAWA 2025-01-17 02:53:40 +09:00
  • a56fdad70b Use `sphinx._cli.util.colour in sphinx.util.console` (#13241) Adam Turner 2025-01-16 16:57:28 +00:00
  • dd7a00dfb5 Bump pyright to 1.1.392.post0 (#13245) dependabot[bot] 2025-01-16 12:37:24 +00:00
  • 4fbcc2098e intersphinx: Import names from proper places (#13244) Adam Turner 2025-01-15 21:41:34 +00:00
  • 182c831c7d Disambiguate `:type:` as a directive option or info-field-list item (#13242) Adam Turner 2025-01-15 00:20:42 +00:00
  • 2431c665d6 Enable colour by default in when running on CI (#13240) Adam Turner 2025-01-14 19:57:07 +00:00
  • 501b8258fc Unconditionally copy static assets in `Builder` (#13236) Adam Turner 2025-01-14 17:39:10 +00:00
  • b064ef3879 Enable the entire DOC category in Ruff Adam Turner 2025-01-14 16:04:18 +00:00
  • c4daa95c09 Enable the entire D category in Ruff Adam Turner 2025-01-14 15:55:02 +00:00
  • dbf62cd503 Enable the entire RET category in Ruff Adam Turner 2025-01-14 14:56:30 +00:00
  • c66d3e85d1 Enable 11 more categories in Ruff Adam Turner 2025-01-14 14:43:02 +00:00
  • 3521cb60cf Enable the entire TD category in Ruff Adam Turner 2025-01-14 12:52:43 +00:00
  • d102e62bc7 Format code blocks in docstrings Adam Turner 2025-01-14 12:17:46 +00:00
  • cc8161a066 Move `sphinx.util re-exports to module __getattr__` Adam Turner 2025-01-14 01:01:52 +00:00
  • b52ac5c71b Review, reduce, and sort per-file ignores in Ruff Adam Turner 2025-01-13 23:59:11 +00:00
  • fd8ce84582 Enable the RUF001 lint in Ruff Adam Turner 2025-01-13 23:40:26 +00:00
  • 477401c4e4 Enable the G003 lint in Ruff Adam Turner 2025-01-13 23:21:30 +00:00
  • 66905d24e1 Use strict flake8-type-checking settings in Ruff Adam Turner 2025-01-13 21:56:36 +00:00
  • f6d1665f84 Use frozensets for permitted types in `app.add_config_value()` Adam Turner 2025-01-13 21:18:17 +00:00
  • e7dd42ea91 Bump Ruff to 0.9.1 (#13235) dependabot[bot] 2025-01-13 07:09:06 +00:00
  • 2a19d293b6 autodoc: fix detection of class methods implemented by extension modules (#13200) Bénédikt Tran 2025-01-12 12:07:30 +01:00
  • 72ce43619c Remove unneeded runtime typing imports (#13233) Adam Turner 2025-01-12 01:04:14 +00:00
  • d29c2c1ff3 Implement key splitting in the `:kbd: role and remove KeyboardTransform` (#13227) Adam Turner 2025-01-10 19:51:17 +00:00
  • fdb1b0cdad Update documentation for the `:no-search:` file-wide metadata option Adam Turner 2025-01-10 16:56:21 +00:00
  • 404e4ffbed Consolidate both `handle_exception()` implementations Adam Turner 2025-01-10 14:54:24 +00:00
  • dec45eaf28 Bump Ruff to 0.9.0 Adam Turner 2025-01-10 13:25:32 +00:00
  • bd864d6858 Define `__slots__ in sphinx.builders.gettext` classes Adam Turner 2025-01-10 12:09:58 +00:00
  • 267fe9afa8 Tests: explicitly unset SOURCE_DATE_EPOCH during 'test_html_multi_line_copyright' (#13224) James Addison 2025-01-10 11:21:11 +00:00
  • 95df419f49 apidoc: Move ApidocOptions to `sphinx.ext.apidoc._shared` Adam Turner 2025-01-10 02:10:40 +00:00
  • d42cfa702f Further minor copyediting of the 'extension metadata' section Adam Turner 2025-01-10 01:26:17 +00:00
  • daade2715a Rewrite the 'extension metadata' section Adam Turner 2025-01-10 00:54:19 +00:00
  • 74ec220479 apidoc: Rename test roots Adam Turner 2025-01-07 10:57:09 +00:00
  • 8e6883f8a0 apidoc: Rename `CliOptions to ApidocOptions` Adam Turner 2025-01-07 10:49:40 +00:00
  • 2c117bbbf0 Split out `sphinx.ext.apidoc._shared` Adam Turner 2025-01-07 10:41:40 +00:00
  • 5176a8f33a apidoc: Split `main()` into funtions Adam Turner 2025-01-07 09:35:23 +00:00
  • fd3e7d3902 Convert CliOptions to a dataclass Adam Turner 2025-01-07 09:05:03 +00:00
  • 8732b2324a Split out `sphinx.ext.apidoc._generate` Adam Turner 2025-01-07 08:23:51 +00:00
  • 2bd70193b7 Split out `sphinx.ext.apidoc._cli` Adam Turner 2025-01-07 08:20:31 +00:00
  • 3a6111f141 Move `sphinx.ext.apidoc` into a package Adam Turner 2025-01-07 07:57:08 +00:00
  • d1b49a12ef apidoc: Miscellaneous refactoring Adam Turner 2025-01-07 07:26:37 +00:00
  • 47599df1bc apidoc: Add `--automodule-options` Adam Turner 2025-01-07 07:11:53 +00:00
  • 76c4e9173e Bump types-pygments to 2.19.0.20250107 (#13219) dependabot[bot] 2025-01-07 05:05:02 +00:00
  • 44aced1ab7 Add types and defaults to confval directives (#13218) Adam Turner 2025-01-07 03:55:27 +00:00
  • 9b7205b65e Improve mathematics domain performance (#13044) Adam Turner 2025-01-07 01:34:18 +00:00
  • df06e6d628 Add `InventoryFile.loads()` (#13215) Adam Turner 2025-01-07 00:40:57 +00:00
  • b3035c7d22 Convert set-like containers to `frozenset` Adam Turner 2025-01-07 00:16:02 +00:00
  • b852618c1b Avoid using camelCase names Adam Turner 2025-01-07 00:15:11 +00:00
  • 91bae649c1 Remove shebang from test-apidoc-toc test root Adam Turner 2025-01-06 21:51:15 +00:00
  • a69d79bf67 Add .gitattributes Adam Turner 2025-01-06 21:49:57 +00:00
  • 5ff3740063 Adapt tests for Pygments 2.19 Adam Turner 2025-01-06 06:56:10 +00:00
  • d59084a1fa Bump Ruff to 0.8.6 Adam Turner 2025-01-06 06:05:55 +00:00
  • 717dcc531a Napoleon: Define confval types and defaults (#13094) Firefly 2025-01-05 19:05:12 +08:00
  • fec4d7c2f1 Viewcode: Fix issue with import paths that differ from the directory structure (#13195) ProGamerGov 2025-01-05 03:43:57 -07:00
  • 83bf866059 Avoid attribute indirection with `env` (#13212) Adam Turner 2025-01-05 09:10:55 +00:00
  • 56c9e32fbc Inline `sphinx_domains.lookup_domain_element` (#13211) Adam Turner 2025-01-05 06:57:49 +00:00
  • 531436b794 Remove redundant 'fmt: skip' comments Adam Turner 2025-01-05 05:42:39 +00:00
  • 0e8bff8e63 Napoleon: Use f-strings Adam Turner 2025-01-05 02:20:45 +00:00
  • 849d309db4 Napoleon: Use `:py:{...}` in type preprocessing Adam Turner 2025-01-05 02:13:15 +00:00
  • 872d270f10 linkcheck: support ignored-URIs for redirects (#13127) James Addison 2025-01-05 01:20:15 +00:00
  • 182f621cad Record the change to Napoleon type preprocessing in CHANGES.rst Adam Turner 2025-01-05 01:16:23 +00:00
  • 8d75ae2d6b Napoleon: Unify the type preprocessing logic Chris Barrick 2024-11-19 20:33:19 -05:00