Commit Graph

19862 Commits

Author SHA1 Message Date
Adam Turner
670bcb743b
Documentation reshuffle (#11112) 2023-01-08 13:52:36 +00:00
Adam Turner
67291f414e
Replace deprecation tooling with module level `__getattr__` (#11054) 2023-01-08 00:27:19 +00:00
Adam Turner
f022db3e8a Ignore more checks in Ruff 0.0.214 2023-01-07 22:28:45 +00:00
Adam Turner
a13cf2c24d Adopt `profile = "black" for isort`
This allows using Ruff's import sorting fixers
2023-01-07 18:31:15 +00:00
Adam Turner
8384aa51a7 Merge branch '6.1.x'
# Conflicts:
#	CHANGES
#	sphinx/__init__.py
2023-01-07 17:51:48 +00:00
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
cdb37ee8f3
Update CHANGES to announce LaTeX deprecation of internal \dimen's (#11107) 2023-01-07 13:27:16 +01:00
Jean-François B
c40f4f904f Merge branch '6.1.x' 2023-01-07 00:04:13 +01:00
Jean-François B
6259c2b723 Markup typo in docs 2023-01-07 00:03:52 +01:00
Jean-François B
479833a938 Merge branch '6.1.x'
Conflicts:
	CHANGES
2023-01-06 23:54:27 +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
13a87d8070 Call `hashlib functions with usedforsecurity=False` 2023-01-06 19:00:22 +00:00
Adam Turner
f0dbe8180d Merge branch '6.1.x'
# Conflicts:
#	CHANGES
#	sphinx/__init__.py
2023-01-06 16:30:42 +00: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
6e6b9ad451 Bump version 2023-01-05 13:21:52 +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