Adam Turner
9d1dcae373
Deprecate old-style Makefiles in sphinx-quickstart ( #11693 )
2023-09-21 10:25:00 +01:00
Bénédikt Tran
5fe0bd41eb
Strip ANSI control codes when writing to the warnings file ( #11624 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2023-09-21 10:01:07 +01:00
Adam Turner
b935915c57
Improve make-mode documentation ( #11692 )
2023-09-21 09:39:39 +01:00
Adam Turner
de6d3665ef
Allow warnings within the coverage job
2023-09-21 09:27:04 +01:00
Adam Turner
40e1ae143f
Name the coverage job
2023-09-21 09:21:50 +01:00
Adam Turner
c843b31686
Run fewer test jobs
...
Only test with the newest and oldest supported versions of Docutils
on all but the latest supported version of Python.
2023-09-21 09:19:33 +01:00
Adam Turner
58fdd344d3
Use the correct path to the JavaScript tests workflow
2023-09-21 09:17:41 +01:00
Adam Turner
22741540f3
Do not install graphviz on the LaTeX container image
...
graphviz is pre-installed, so there's no point installing it.
2023-09-21 09:16:11 +01:00
Adam Turner
b7d348418d
Mark `utils/bump_docker.py
` as executable
2023-09-21 09:14:38 +01:00
Adam Turner
9298de548f
Update CI configuration
...
- Merge LaTeX and Coverage into the main CI file
- Only run tests when a relevant file changes
- Update ``actions/checkout``
- Set ``-Werror`` only on pytest steps
- Reduce verbosity on the documentation workflow
2023-09-21 09:08:29 +01:00
Adam Turner
3ac143c8bf
Enable nit-picky mode in `conf.py
`
2023-09-21 09:02:58 +01:00
Adam Turner
ec44db49ca
Resolve whitespace complaints
2023-09-21 00:45:08 +01:00
Adam Turner
04a1ee07dd
Split `_parse_arguments
` into parts
2023-09-21 00:20:26 +01:00
Adam Turner
cb0c6a359b
Add `sphinx.util._strip_escape_sequences
`
2023-09-20 23:55:00 +01:00
Adam Turner
bf620e9623
Add `sphinx.util._io
`
2023-09-20 23:48:03 +01:00
Pietro Albini
8e768e6c23
Make `searchindex.js
deterministic ( #11665 )
2023-09-16 04:36:51 +01:00
Vinay Sajip
f0c25a0ada
Raise a useful error if `theme.conf
` doesn't exist ( #11671 )
2023-09-14 11:49:41 +01:00
Adam Turner
655bd15749
Adorn top-level files with a '.rst' suffix
2023-09-14 11:08:17 +01:00
Adam Turner
42f2c9fe98
Emend various problems in CHANGES
...
- Ensure the line-length constraint is met
- Consistently capitalise Sphinx and Docutils
- Ensure ``True``, ``False``, and ``None`` are marked-up as literal text
- Mark up various code snippets as literal text
2023-09-14 10:37:36 +01:00
Nikita Sobolev
1bd261c3a0
Fix a typo in the `:final:
` option for methods ( #11670 )
2023-09-14 09:50:49 +01:00
Hugo van Kemenade
359edc34fc
Use the Python 3 `print()
` function in the documentation ( #11683 )
2023-09-14 09:45:20 +01:00
Adam Turner
024347c285
Bump version
2023-09-14 09:24:55 +01:00
Adam Turner
cf7d2759af
Bump to 7.2.6 final
2023-09-13 23:57:27 +01:00
Matt Wozniski
43d69755df
Leverage `importlib.reload
` for reloading modules ( #11679 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2023-09-13 22:58:35 +01:00
Adam Turner
13da5d7b2f
Inline makecmd in make mode
2023-09-13 03:30:14 +01:00
Adam Turner
3d0110a95a
Enable test_cython on Python 3.12
2023-09-13 03:07:19 +01:00
Adam Turner
22759fb945
Bump version
2023-09-13 02:09:27 +01:00
Adam Turner
fcc38997f1
Bump to 7.2.5 final
2023-08-30 22:55:02 +01:00
Adam Turner
2a631f97ef
Restore support for YYYY copyright lines
2023-08-30 22:51:23 +01:00
Adam Turner
2730cc3353
Remove double spaces in CHANGES
2023-08-30 22:24:09 +01:00
Adam Turner
ff18318613
Add an `'include-read'
` event ( #11657 )
2023-08-30 22:21:16 +01:00
James Braza
74329d9c51
Fail better in `ExceptionDocumenter.can_document_member
` ( #11660 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2023-08-30 18:49:27 +00:00
Adam Turner
7d046a862f
Allow `?config=...
in
mathjax_path
` ( #11659 )
2023-08-30 19:35:29 +01:00
Albert Y. Shih
4692208fde
Fix two relative link bugs in inheritance diagrams ( #11634 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2023-08-30 18:44:37 +01:00
Adam Turner
ca0fc7aa86
Add git .mailmap file
2023-08-29 21:14:42 +01:00
Matt Wozniski
8248be31db
autodoc: Reset `sys.modules
` on partial import failure ( #11645 )
...
If importing with ``TYPE_CHECKING is True`` fails, reset the state of ``sys.modules``
so that the attempt with ``TYPE_CHECKING is False`` may succeed.
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2023-08-29 20:05:41 +01:00
Benjamin Cabé
e494baa9dd
Recommend correct replacement names for deprecated APIs ( #11655 )
2023-08-29 17:07:27 +01:00
Adam Turner
123690abd0
Rephrase the CHANGES entry for GH-11649
2023-08-28 12:37:06 +01:00
Dmitry Shachnev
3e943d9e79
Resolve all paths in the include directive ( #11650 )
...
Because pytest's base tmp_path is also in /tmp, ``source`` here is relative path,
and thus is not properly converted to doc name.
So the test fails because `sources_reported` dict has a key like
``../../../pytest/pytest-0/directive-include/baz/baz``,
and ``assert "baz/baz" in sources_reported`` fails.
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2023-08-28 04:33:42 +00:00
Adam Turner
3037f8599c
Bump version
2023-08-28 05:16:01 +01:00
Adam Turner
3256f1f220
Bump to 7.2.4 final
2023-08-28 05:16:00 +01:00
Dmitry Shachnev
2f025a4b22
linkcheck: Fix conversion from UTC time to the UNIX epoch ( #11649 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-08-28 03:39:13 +00:00
Adam Turner
1567281287
autodoc: Fix UnboundLocalError in `filter_members
` ( #11651 )
2023-08-28 04:35:26 +01:00
Adam Turner
5e88b9f886
Fix the MoveModuleTargets transform ( #11647 )
...
This resolves a regression introduced in GH-10478
(commit 97d2c5da2f
).
2023-08-26 09:30:28 +00:00
Shengyu Zhang
694fcee13d
Fix markup in CHANGES ( #11639 )
2023-08-26 10:15:17 +01:00
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