Commit Graph

20375 Commits

Author SHA1 Message Date
Adam Turner
c503c90090
Improve `pathlib` type annotations (#11646) 2023-08-26 10:13:13 +01:00
Adam Turner
bf339b123e Bump version 2023-08-26 09:54:01 +01:00
Adam Turner
2f6ea1422b Bump to 7.2.3 final 2023-08-23 23:17:19 +01:00
Adam Turner
511e4070aa Implement `bool()` for string paths 2023-08-23 22:58:47 +01:00
Adam Turner
494de7327f Implement `hash()` for string paths 2023-08-23 22:52:00 +01:00
Adam Turner
2986aa113c Override special methods for string paths 2023-08-23 22:45:58 +01:00
Adam Turner
07b87e9512 Update CHANGES for 7.2.3 2023-08-23 21:19:34 +01:00
Adam Turner
6b17dd1b28
Support string methods on path objects (#11619) 2023-08-23 19:33:56 +01:00
Adam Turner
a73fb59a71
Support positional-only parameters in classmethods (#11635) 2023-08-23 19:33:16 +01:00
Adam Turner
02cb02ccfb Fix invocation of `python -m sphinx build` 2023-08-22 01:14:18 +01:00
Adam Turner
6183b6abee Require sphinxcontrib-serializinghtml 1.1.9 or later 2023-08-21 00:28:26 +01:00
Zack Cerza
1e16f21019
Fix regression in `autodoc.Documenter.parse_name` (#11613)
If the assert statement added in GH-11523 fails,
the build fails and the user only sees
``assert matched is not None``.
With this change, the user gets a proper warning message
containing the name of the offending module,
and the build will succeed.

Signed-off-by: Zack Cerza <zack@redhat.com>
Co-authored-by: Zack Cerza <zack@redhat.com>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2023-08-20 22:33:36 +00:00
Adam Turner
5d929d9778 Bump version 2023-08-18 18:07:45 +01:00
Adam Turner
ed84d63e6f Bump to 7.2.2 final 2023-08-17 17:56:38 +01:00
github-actions[bot]
ea4a73e148
[bot]: Update message catalogues (#11612)
Co-authored-by: AA-Turner <AA-Turner@users.noreply.github.com>
2023-08-17 17:55:10 +01:00
Adam Turner
e47846a812 Fix `:noindex: for PyModule and JSModule` 2023-08-17 17:54:30 +01:00
Adam Turner
b2fc47fe3d Add CHANGES entry for renaming the `StateMachine.insert_input()` parameter 2023-08-17 17:33:27 +01:00
Adam Turner
0835c3e8ea Fix regression in `SingleFileHTMLBuilder._get_local_toctree` 2023-08-17 17:31:53 +01:00
Adam Turner
49dc0dd399 Fix asset class string interface membership testing 2023-08-17 17:31:53 +01:00
Kyle Sunden
8512855776 Fix signature of docutils include_source monkeypatch (#11610) 2023-08-17 17:31:53 +01:00
Adam Turner
e1d9068c60 Bump version 2023-08-17 17:31:53 +01:00
Adam Turner
441a9e4d62 Bump to 7.2.1 final 2023-08-17 16:00:59 +01:00
Adam Turner
ec31853730 Restore `TocTree.get_toctree_ancestors()` 2023-08-17 15:53:30 +01:00
Adam Turner
0c22d9c9ff Restore hidden pass-through calls when adding asset files 2023-08-17 15:48:43 +01:00
Adam Turner
ab71cc5156 Restore and deprecate the str interface to the asset classes 2023-08-17 15:47:22 +01:00
Adam Turner
ff15b6f3b2 Bump version 2023-08-17 15:26:20 +01:00
Adam Turner
da9f8a5c33 Bump to 7.2.0 final 2023-08-17 04:29:41 +01:00
Adam Turner
794324ac00 Declare support for Python 3.13 2023-08-17 04:28:52 +01:00
github-actions[bot]
03bceac43f
[bot]: Update message catalogues (#11538)
Co-authored-by: AA-Turner <AA-Turner@users.noreply.github.com>
2023-08-17 04:20:15 +01:00
Adam Turner
aecebcea9a Make `_resolve_toctree()` keyword-only 2023-08-17 04:10:53 +01:00
Bénédikt Tran
76658c49a9
Fix `sphinx.ext.autodoc.preserve_defaults` (#11550)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-08-17 01:19:25 +00:00
Lukas Engelter
4dee162990
Fix layout issues in the agogo theme for smaller viewports (#11594)
Co-authored-by: Lukas Engelter <lukas.engelter@netgo.de>
2023-08-17 01:30:56 +01:00
Adam Turner
4ddbee4a7c Fix `console_scripts` entry points 2023-08-17 01:25:15 +01:00
Adam Turner
4add50a5f0 Remove unneeded type annotation 2023-08-16 23:50:43 +01:00
Adam Turner
9d8ef833db Fix `test_inspect_main_noargs` 2023-08-16 23:49:30 +01:00
Adam Turner
ddf8a8e7d4 Add CHANGES entry for GH-11533 2023-08-16 23:27:51 +01:00
Adam Turner
2b9ee41f27 Consolidate `sys.argv` handling 2023-08-16 23:22:14 +01:00
Adam Turner
eab54533a5 Ignore E251 (Unexpected spaces around equals) 2023-08-15 18:36:47 +01:00
Adam Turner
93340a2ae0 Enable E275 (Missing whitespace after keyword) 2023-08-15 18:35:14 +01:00
Adam Turner
dfd91bedf6 Enable E274 (Tab before keyword) 2023-08-15 18:34:54 +01:00
Adam Turner
38e487086a Enable E273 (Tab after keyword) 2023-08-15 18:34:42 +01:00
Adam Turner
030a6a149e Enable E272 (Multiple spaces before keyword) 2023-08-15 18:30:58 +01:00
Adam Turner
6df0278ee8 Enable E271 (Multiple spaces after keyword) 2023-08-15 18:29:53 +01:00
Adam Turner
f7237158ec Enable E266 (Too many leading `#` before block comment) 2023-08-15 18:28:38 +01:00
Adam Turner
b5a6f6b2b0 Enable E265 (Block comment should start with `# `) 2023-08-15 18:27:54 +01:00
Adam Turner
f3c823e5d0 Enable E262 (Inline comment should start with `# `) 2023-08-15 18:27:28 +01:00
Adam Turner
bda65af8ac Enable E261 (Insert at least two spaces before an inline comment) 2023-08-15 18:26:58 +01:00
Adam Turner
2d880babc8 Enable E252 (Missing whitespace around parameter equals) 2023-08-15 18:26:38 +01:00
Adam Turner
0f8c941597 Enable E242 (Tab after comma) 2023-08-15 18:17:05 +01:00
Adam Turner
e3f0342932 Enable E241 (Multiple spaces after comma) 2023-08-15 18:16:27 +01:00