Commit Graph

19546 Commits

Author SHA1 Message Date
Jean-François B
f72a25ce76 Merge branch '5.1.x' into 5.x 2022-08-01 21:05:47 +02:00
Jean-François B
50904866b7
Merge pull request #10741 from danieleades/fix-formatting
fix formatting
2022-08-01 21:05:08 +02:00
daniel.eades
964fcb2e07 Fix flake8 5.0.0 reported formatting errors 2022-08-01 20:55:47 +02:00
github-actions[bot]
e47ef710db
Update message catalogs (#10734) 2022-07-31 19:43:11 +01:00
Jakob Lykke Andersen
c2f1f89a87
Merge pull request #10729 from jakobandersen/cpp-template-args-non-specialized
[C++] Ensure consistent non-specialization template argument representation, rebased and updated
2022-07-29 18:29:40 +02:00
Jakob Lykke Andersen
f5c21a118f C++, bump env version due to AST and Symbol changes 2022-07-29 18:21:41 +02:00
Jakob Lykke Andersen
64c1b2be2e C++, restructure tests 2022-07-29 18:21:34 +02:00
Jakob Lykke Andersen
aa43a37865 C++, fix parsing of certain non-type template parameters
Specifically 'template<int (X::*)(bool)...>'
2022-07-29 18:14:45 +02:00
Jakob Lykke Andersen
a95949aa13 C++, add changes entry PR 2022-07-29 18:14:45 +02:00
Jakob Lykke Andersen
66f98957b1 C++, ensure merging case is as assumed 2022-07-29 18:14:45 +02:00
Jeremy Maitin-Shepard
5b97ec522a [C++] Ensure consistent non-specialization template argument representation
Previously, in certain cases the template arguments of
non-specializations were retained, leading to incorrect merging of symbols.
2022-07-29 18:14:41 +02:00
Jean-François B
dd77ed3968 Merge branch '5.1.x' into 5.x 2022-07-29 17:01:58 +02:00
Jean-François B
cdde699188
Merge pull request #10726 from jfbu/latex_10723
Fix #10723: LaTeX verbatimwithframe=false without effect since 5.1.0
2022-07-29 16:19:18 +02:00
Jean-François B
40203bd1a6 Fix #10723: LaTeX verbatimwithframe=false without effect since 5.1.0 2022-07-29 15:56:07 +02:00
Takeshi KOMIYA
3d6d501a43
Merge pull request #10712 from eloyvallinaes/patch-1
Update deploying.rst
2022-07-28 09:23:45 +09:00
Takeshi KOMIYA
86b1384a29
Merge pull request #10708 from danieleades/strict-typing2
incremental adoption of 'strict optional'
2022-07-28 09:19:06 +09:00
Adam Turner
65f548e6ee Merge branch '5.1.x' into 5.x
# Conflicts:
#	CHANGES
#	sphinx/__init__.py
2022-07-26 22:30:40 +01:00
Adam Turner
cd17b277f4 Bump version 2022-07-26 22:19:36 +01:00
Adam Turner
e712eae382 Bump to 5.1.1 final 2022-07-26 22:16:02 +01:00
eloyvallinaes
2800db0b70
Update deploying.rst
Version 0.4 of sphinx-action contains a problem investigated and documented here: https://github.com/ammaraskar/sphinx-action/issues/5. The action throws an error claiming it can't write the log file. The problem is fixed in master and since this is a tutorial, it is more or less expected that it should work off the bat, so I thinking pinning the master version for now and the next release when it comes out, might be the best way to help newbies.
2022-07-26 11:17:53 +02:00
daniel.eades
63edba0388 set up mypy for incremental adoption of 'strict optional' 2022-07-26 08:32:20 +01:00
Antony Lee
0555345ad7 Fix ValueError popping out in sphinx.ext.napoleon (#10709)
There's some parts of the code still expecting a StopIteration instead.
2022-07-25 23:16:01 +01:00
James Knight
9845500ffa
Improve support for deprecated builders without env arg (#10702)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-07-25 23:10:24 +01:00
Antony Lee
f8b84348f3
Fix ValueError popping out in sphinx.ext.napoleon (#10709)
There's some parts of the code still expecting a StopIteration instead.
2022-07-25 23:00:08 +01:00
Jakob Lykke Andersen
b800519357 C++, bump env version because of PR 2022-07-25 13:38:28 +02:00
Jakob Lykke Andersen
e867201cf2
Merge pull request #10703 from jakobandersen/cpp_requires_clause
C++, improve requires clause support (#10286 update)
2022-07-24 22:17:49 +02:00
Jakob Lykke Andersen
feb4ac8a4e C++, update changelog 2022-07-24 21:41:51 +02:00
Jakob Lykke Andersen
92a48c7fc3 C++, refactor requires clause ID handling 2022-07-24 21:41:51 +02:00
Jakob Lykke Andersen
0f09e4e428 C++, PR revision 2022-07-24 21:41:46 +02:00
Jeremy Maitin-Shepard
3bd80e7c54 [C++] Allow template prefix on union declarations 2022-07-24 21:37:56 +02:00
Jeremy Maitin-Shepard
33f5474951 [C++] Allow trailing requires-clause on constructors 2022-07-24 21:37:56 +02:00
Jeremy Maitin-Shepard
9694aa5a26 [C++] Allow trailing-requires-clause on functions without a template prefix 2022-07-24 21:37:56 +02:00
Jeremy Maitin-Shepard
ac1b0d490c [C++] Support requires-clause in more places
Previously a C++20 requires-clause was only supported on `function`
declarations.  However, the C++ standard allows a require-clause on
class/union templates, alias templates, and variable templates, and
also allows a requires clause after each template parameter list, not
just the final one.

This moves the requiresClause to be a property of `ASTTemplateParams`
rather than `ASTDeclaration` to better match the C++ grammar and
allows requires clauses in many places that are supported by C++20 but
were not previously allowed by Sphinx, namely:

- On class templates, alias templates, and variable templates

- After each template parameter list, not just the last one.

- After the template parameter list in template template parameters.

When encoding the id, the requires clause of the last template
parameter list is treated specially in order to preserve compatibility
with existing v4 ids.
2022-07-24 21:37:56 +02:00
Adam Turner
3c469c4258 Bump version 2022-07-24 13:20:14 +01:00
Adam Turner
cc1f6cb9f4 Bump to 5.1.0 final 2022-07-24 13:03:30 +01:00
github-actions[bot]
8effd151b9
Update message catalogs (#10698)
Co-authored-by: tk0miya <tk0miya@users.noreply.github.com>
2022-07-24 01:35:29 +01:00
Adam Turner
e3337c78c6
Update include_patterns implementation (#10680) 2022-07-23 21:19:35 +01:00
Takeshi KOMIYA
89db13d71f
Merge pull request #10676 from AA-Turner/authors
Clarify sorting in AUTHORS; sort and update maintainers list
2022-07-24 03:34:48 +09:00
Jean-François B
40caf0c854
Merge pull request #10696 from jfbu/latex_fix_for_old_latex
Fix #10695: old LaTeX does not allow \@ifpackageloaded usage in body
2022-07-23 13:12:49 +02:00
Jean-François B
d1b4a75f4f LaTeX: fix another incompatibility with old pict2e LaTeX
We need to make sure the \put command arguments will expand to a
(fractional) number, so \strip@pt is added, and the \dimexpr properly
closed with \relax
2022-07-23 13:03:48 +02:00
Jean-François B
faccc21822 Fix #10695: old LaTeX does not allow \@ifpackageloaded usage in body 2022-07-23 12:42:33 +02:00
Takeshi KOMIYA
afac558d09 Merge branch '5.0.x' into 5.x 2022-07-23 15:17:08 +09:00
Takeshi KOMIYA
94f62e7f2b
Merge pull request #10693 from tk0miya/mypy-0.971
Fix mypy violations (with mypy-0.971)
2022-07-23 15:16:33 +09:00
Takeshi KOMIYA
5b89c39f26 Fix mypy violations (with mypy-0.971) 2022-07-23 15:12:48 +09:00
Jean-François B
f45dc5e139
Merge pull request #10684 from marxin/fix-version-indentation
Fix indentation of .. version{changed,added}.
2022-07-20 21:29:47 +02:00
Jean-François B
f20fca9bf1
Merge pull request #10679 from jfbu/update_bindep
Update bindep.txt for LaTeX pict2e.sty optional dependency
2022-07-20 21:17:51 +02:00
marxin
9a30edac7d Fix indentation of .. version{changed,added}. 2022-07-19 15:26:57 +02:00
Adam Turner
61a6b475a4 Tweak headings 2022-07-18 23:05:34 +01:00
Chris Holdgraf
eb0a6c574f
Update documentation structure and theming (#10677)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2022-07-18 22:48:28 +01:00
danieleades
a504ac6100
Improve static typing strictness (#10569) 2022-07-18 22:08:16 +01:00