Adam Turner
ddbc5b57f4
Bump version
2023-01-07 17:45:46 +00:00
Adam Turner
393b408252
Bump to 6.1.2 final
2023-01-07 17:38:13 +00:00
Adam Turner
d8a5dd8364
Add note to CHANGES for PR 11100
2023-01-07 17:37:41 +00:00
Adam Turner
a1cd19e601
Fix copying images under parallel execution ( #11100 )
2023-01-07 17:35:21 +00:00
Adam Turner
5008291b3d
Ignore more checks in Ruff 0.0.213
2023-01-07 15:08:21 +00:00
Jean-François B
6259c2b723
Markup typo in docs
2023-01-07 00:03:52 +01:00
Jean-François B
7945aeb22d
LaTeX: fix 5.1.0 bugs related to topic and contents boxes ( #11102 )
...
* Fix #11095 (PDF wrong placement of shadow of topic boxes since 5.1.0)
* Fix #11096 (LaTeX shadowsize regression at 5.1.0)
* Fix #11099 (shadowrule legacy sphinxsetup key vanished at 5.1.0)
* Fix #11101 (LaTeX div.topic_padding of sphinxsetup had wrong name)
* Add some checks that various sphinxsetup keys do not break PDF build
* Update LaTeX docs
* Update CHANGES
* Can not use :dudir:`contents` has it links to wrong place
2023-01-06 23:52:19 +01:00
Adam Turner
77aaa8696a
Bump to 6.1.1 final
2023-01-05 16:58:09 +00:00
Adam Turner
476c115b0e
Suppress `ValueError
in
apply_source_workaround
` ( #11092 )
2023-01-05 16:56:27 +00:00
Adam Turner
c80d656caf
Bump version
2023-01-05 16:42:49 +00:00
Adam Turner
4e1004a9c5
Bump to 6.1.0 final
2023-01-05 12:23:09 +00:00
Adam Turner
a2176d47b5
Fix deprecation warnings
2023-01-05 12:17:54 +00:00
Adam Turner
2c104e9838
Merge branch '6.0.x'
...
# Conflicts:
# CHANGES
2023-01-05 12:07:18 +00:00
Adam Turner
a27d262ffe
Bump to 6.0.1 final
2023-01-05 11:58:30 +00:00
Adam Turner
821569ea8a
Add note for Pygments
2023-01-05 11:56:41 +00:00
Julien Schueller
222d366ead
imgmath: Fix relative file path ( #10965 )
2023-01-05 11:54:32 +00:00
danieleades
c499f66012
Add SIM113 lint ( #11057 )
...
SIM113: Use ``enumerate``
2023-01-05 11:45:29 +00:00
jgart
0fbd8afc05
Add missing default arguments in sphinx-apidoc.rst ( #11084 )
...
Add the missing default arguments to two CLI flags, ``-l`` and ``-d``
2023-01-05 11:44:02 +00:00
danieleades
f89f94354e
Remove flake8 plugins in favour of Ruff ( #11085 )
...
Remove flake8-comprehensions and flake8-bugbear in favour of Ruff.
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-01-05 11:40:52 +00:00
danieleades
04791156db
Suppress lint failures from Ruff 0.0.211 ( #11086 )
...
Ruff has added new SIM lints which sphinx has not implemented.
This suppresses those lints (matching the flake8-simplify config).
2023-01-05 11:38:29 +00:00
Adam Turner
223bb317a7
Updated CHANGES for Sphinx 6.1.0
2023-01-04 17:10:33 +00:00
Adam Turner
463a69664c
Cache doctrees between reading and writing phases
2023-01-04 14:39:40 +00:00
Adam Turner
a9b0f2708b
Cache doctrees more efficiently
2023-01-04 05:46:23 +00:00
Adam Turner
f4ab9adf77
Move XML Name pattern to `epub3
`
2023-01-03 22:36:54 +00:00
Adam Turner
5eb79c126a
Move exception formatting utilities to `sphinx.util.exceptions
`
2023-01-03 22:09:30 +00:00
Adam Turner
081d72b2f7
Deprecate `path_stabilize
via
deprecated_alias
`
2023-01-03 21:40:29 +00:00
Jean-François B
2b2c62aa78
Fix #11074 : Can't change sphinxnote to use sphinxheavybox
2023-01-03 20:19:32 +01:00
Adam Turner
3b3ce9cf7b
Move HTTP-date formatting utils to utils.http_date
2023-01-03 19:02:38 +00:00
Adam Turner
8c5e7013ea
Move console output utilities to `sphinx.util.display
`
...
- Merge `old_status_iterator` into ``status_iterator``.
``old_status_iterator`` was deprecated in version 1.6.
2023-01-03 18:37:20 +00:00
Adam Turner
1b887e4c5c
Update ruff configuration
2023-01-03 18:37:20 +00:00
Jean-François B
27cf496eaf
Trim duplicate in sphinxlatexadmonitions.sty latex code
2023-01-03 19:34:52 +01:00
Jean-François B
bfd95dadf2
Fix #6744 : support for seealso directive should be via an environment
2023-01-03 18:58:39 +01:00
Jean-François B
08ca934fff
Add 6.1.0 section to CHANGES
2023-01-03 17:29:14 +01:00
Adam Turner
29e12ec4db
Document `typing.NewType
` as a class ( #10700 )
2023-01-02 18:57:04 +00:00
Tim Hoffmann
ec26c2f874
Document autosummary template variable "objtype" ( #11044 )
2023-01-02 18:38:17 +00:00
danieleades
94e6e3917f
De-glob mypy whitelist for 'sphinx.domains.*' ( #11064 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-01-02 18:32:44 +00:00
danieleades
256e521807
Shrink mypy whitelist for 'util.nodes' module ( #11061 )
2023-01-02 17:55:53 +00:00
Adam Turner
77a02cf696
Use PEP 604 display for `typing.Optional
and
typing.Union
` ( #11072 )
2023-01-02 17:49:18 +00:00
Adam Turner
dc3f22a370
Make MyPy happy
2023-01-02 17:41:28 +00:00
Adam Turner
b32841e153
Move tasks into parallel writing
2023-01-02 17:41:13 +00:00
Adam Turner
087522cf79
Rewrite IndexBuilder loading
2023-01-02 17:40:38 +00:00
Adam Turner
4c44f22009
Use `re
` flags
2023-01-02 17:39:35 +00:00
Adam Turner
bc262cc8f1
Cosmetic refactor of `_entries_from_toctree
`
2023-01-02 17:39:17 +00:00
Adam Turner
085a293357
Don't re-read doctrees from disk unnecessarily
...
Cache the loaded doctree and deepcopy on return
2023-01-02 17:38:19 +00:00
hofmandl1
b26b9ba971
Add faster `TocTree._toctree_copy
` method ( #10988 )
...
As in the standalone html builder the navigation is flattened out for
every single html page, the code needs to create a specialised
toctree for every html page. Previously this was done by deep-copying
the complete navigation toctree and then stripping out the parts not
needed on the particular page. With this change the code only
(deep)-copies the needed parts of the toctree avoiding unnecessary
copying and throwing-away. The performance improvements seems to be
smaller for smaller page counts and get bigger the more pages are
involved.
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-01-02 10:46:56 +00:00
Philip Meier
6037ec3b9b
Use `finally
` to terminate parallel processes ( #10952 )
2023-01-02 09:22:45 +00:00
danieleades
cc8f697a9b
Address SIM103 lints ( #11052 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-01-02 09:21:32 +00:00
danieleades
dbf36f8b37
Shrink 'any-generics' whitelist for 'writers' module ( #10867 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2023-01-02 05:29:46 +00:00
danieleades
c2e278520e
Add SIM905 lint ( #11055 )
...
This lints for use of a list of strings instead of splitting a constant string on whitespace
2023-01-02 05:02:42 +00:00
danieleades
2759c2c76b
Use `any
` to find elements in iterable ( #11053 )
2023-01-02 04:52:46 +00:00