Adam Turner
6d113dc788
Bump version
2025-02-16 06:26:52 +00:00
Adam Turner
657d2c1e67
Bump to 8.2.0 candidate 1
2025-02-16 05:40:50 +00:00
Adam Turner
3353862622
Install pypi-attestations before inspecting attestations
2025-02-16 05:40:21 +00:00
Adam Turner
f3e0de1da0
Avoid using attributes of `app
`
2025-02-16 04:25:08 +00:00
Adam Turner
c68f846edc
Fix error in 'sphinx-last-updated-by-git'
2025-02-16 03:28:52 +00:00
Adam Turner
d95dafa130
Update Trove Classifiers
2025-02-16 02:22:10 +00:00
Adam Turner
6933f40cb5
Synchronise `pytest
` requirements
2025-02-16 02:13:31 +00:00
Adam Turner
a9542e742c
List Adam Turner in package metadata
2025-02-16 02:12:35 +00:00
Adam Turner
0c85adb461
Fix markup in CHANGES
2025-02-16 02:05:31 +00:00
Adam Turner
ad0dd5aa5b
Remove mypy overrides for several test modules
2025-02-16 01:57:09 +00:00
Adam Turner
f1fbbfcbb7
Add annotations to several single-argument ('app') test functions
2025-02-16 01:40:30 +00:00
Adam Turner
a980fbcafa
Add return annotation to several zero-argument test functions
2025-02-15 23:23:56 +00:00
Bénédikt Tran
2364f169ad
Fix parsing of PEP 695 functions ( #13328 )
2025-02-15 22:46:38 +00:00
dependabot[bot]
37b7b54337
Bump pyright to 1.1.394 ( #13336 )
2025-02-15 22:35:19 +00:00
bart
3b2667e591
Use the `misc.highlighting_failure
warning sub-type for
PygmentsBridge.get_lexer()
` ( #13335 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2025-02-15 22:34:55 +00:00
Adam Turner
29a02c64e0
Update commit message recommendations
2025-02-15 22:09:27 +00:00
Adam Turner
783884c0c8
Link to `docs.python.org
instead of
docs.python.jp
`
2025-02-15 21:50:00 +00:00
Adam Turner
139d6b0936
Use full URLs for links to issues and pull requests
2025-02-15 21:47:31 +00:00
Adam Turner
2c46e547f8
Use the full URL for links to Breathe issues
2025-02-15 21:46:00 +00:00
Adam Dangoor
89797c728a
Remove mypy overrides for `tests.test_builders.test_build_text
` ( #13341 )
2025-02-15 20:16:34 +00:00
Adam Dangoor
3f2b211fb7
Remove mypy overrides for `tests.test_util.test_util_uri
` ( #13342 )
2025-02-15 20:12:46 +00:00
Colin Marquardt
1431d44769
Fix typo 'unpickable' -> 'unpickleable' ( #13344 )
...
Normalize other occurrences of '~picklable' to '~pickleable'.
Note, there is no clear winner in the Python docs regarding usage of '~picklable' vs '~pickleable', so we pick the more greppable version.
2025-02-15 15:06:35 +01:00
Adam Turner
c49d925b4d
Remove `productionlist
` hard-coding in writers ( #13326 )
...
The ``productionlist`` directive operates in a line-based context, creating an ``addnodes.productionlist`` container
of ``addnodes.production`` nodes, with one per production in the directive. However, the full state of the abstract
document tree is not included in the produced nodes, with each builder/translator implementing a different way
of appending the fixed separator ``::=`` and justifying the displayed text.
This should not happen in the writer, and hard-coding such details hampers flexibility when documenting different
abstract grammars. We move the specific form of the ``.. productionlist::`` directive to the logic in the directive body
and have the writers apply minimal custom logic.
LaTeX changes written by Jean-François B.
2025-02-13 00:16:26 +00:00
Will Lachance
bb68e72333
Add ability to "skip" adding marked documentation to the search index ( #11280 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2025-02-12 16:47:14 +00:00
Matthias Geier
94563a398b
Un-deprecate `sphinx.util.import_object
` ( #13330 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2025-02-11 19:07:27 +00:00
dependabot[bot]
9069005087
Bump Ruff to 0.9.6 ( #13327 )
2025-02-11 17:55:00 +00:00
Adam Turner
b678d17e00
Fix deprecation warning in `test_ModuleAnalyzer_get_module_source
`
2025-02-11 03:13:46 +00:00
Adam Turner
41277fc7bd
Convert `package_dir
to
_StrPath
`
2025-02-11 02:55:13 +00:00
Adam Turner
1f693448b0
Inline imports in `sphinx.util
`
2025-02-11 02:52:04 +00:00
Adam Turner
288ce2f4cd
Replace uses of `canon_path()
`
2025-02-11 02:34:59 +00:00
Adam Turner
b88edad731
Remove `addnodes.document
`
2025-02-11 02:22:42 +00:00
Adam Turner
47299b8229
Inline function in `get_verifier
`
2025-02-11 01:53:26 +00:00
Adam Turner
b81a7d7477
Improve LaTeX skip decorators
2025-02-11 01:49:14 +00:00
Adam Turner
baddae6611
Move `test_log_no_ansi_colors
`
2025-02-11 01:42:39 +00:00
Adam Turner
bb5716b54a
Split out `test_build_all
`
2025-02-11 01:34:12 +00:00
Adam Turner
c069960e8a
Use blank testroot for `restructuredtext.parse()
`
2025-02-11 01:11:19 +00:00
Adam Turner
ebec42c02b
Move `make_app_with_empty_project()
to
conftest.py
`
2025-02-11 00:53:44 +00:00
Adam Turner
a9534901a2
Fix warning interpolation for multiple patterns matches in `html_sidebars
`
2025-02-10 15:48:12 +00:00
Adam Turner
d160f3179b
Improve whitespace handling in `error_info()
`
2025-02-10 15:19:35 +00:00
Adam Turner
4298c30886
Fix continuation line indentation in productionlists ( #13319 )
2025-02-10 02:00:52 +00:00
Adam Turner
f96904146f
Define valid types for all configuration values ( #13324 )
2025-02-10 01:58:22 +00:00
Adam Turner
b59d1b7513
Fix possible 'no-wrap' KeyError in maths nodes ( #13323 )
2025-02-09 22:30:12 +00:00
Adam Turner
790bee64ce
intersphinx: Resolve implicit self-references ( #13322 )
...
When intersphinx_resolve_self was added, it only applied to the :external:<inv_name>:`blah` role.
This extends the functionality to implicit intersphinx references of the form :ref:`<inv_name>:blah`.
2025-02-09 22:29:04 +00:00
Adam Turner
9eb5097a56
Refactor `ReferencesResolver
` ( #13321 )
...
Split ``ReferencesResolver.run()`` into smaller parts.
2025-02-09 21:38:51 +00:00
Adam Dangoor
03df8119b3
Remove mypy override for `tests.test_builders.test_build_html_copyright
` ( #13317 )
2025-02-09 21:29:38 +00:00
Adam Turner
46b6d55467
Reinstate the signature of `InheritanceGraph.generate_dot()
` ( #13320 )
2025-02-09 21:07:30 +00:00
Adam Turner
c4b3dcbaf9
Convert '0' and '1' to bool for config overrides ( #13318 )
2025-02-07 19:38:33 +00:00
Adam Turner
b11303adb9
Run tests in parallel with `pytest-xdist
` ( #13287 )
2025-02-07 17:17:17 +00:00
Adam Dangoor
cef9d869dd
Remove type check overrides for `tests/test_builders/test_build_gettext.py
` ( #13299 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2025-02-07 15:13:56 +00:00
Adam Dangoor
0782273dec
Remove mypy overrides for two files in `tests/test_writers
` ( #13315 )
2025-02-07 14:49:19 +00:00