Commit Graph

19659 Commits

Author SHA1 Message Date
n-peugnet
1553cc3b36 linkcheck: Check the source URL of raw directives
Add raw directives' source URL to the list of links to check with linkcheck.
By the way, refactor HyperlinkCollector by adding `add_uri` function.
Add test for linkcheck raw directives source URL
2022-08-17 14:57:58 +02:00
Jean-François B
8c4865c30d Merge branch '5.1.x' into 5.x 2022-08-15 15:06:51 +02:00
Jean-François B
cb4f06b279 Closes #10760 2022-08-15 15:06:17 +02:00
Jean-François B
abe6a7e76d
Merge pull request #10769 from sphinx-doc/bot/pull-translations
Update message catalogs
2022-08-15 14:55:14 +02:00
danieleades
c3d8a7d50b
Fix some static typing errors (#10745) 2022-08-14 15:27:16 +01:00
tk0miya
91adc90800 Update message catalogs 2022-08-14 00:21:04 +00:00
Jean-François B
ee48589fc0
Merge pull request #10756 from sphinx-doc/bot/pull-translations
Update message catalogs
2022-08-07 15:18:08 +02:00
Jean-François B
caf4357cdc
Merge pull request #10752 from dstansby/patch-1
Fix small typo in extension hello world tutorial
2022-08-07 15:15:29 +02:00
Adam Turner
7ef46150d1
Update doc/development/tutorials/helloworld.rst 2022-08-07 10:16:39 +01:00
tk0miya
712501b6b9 Update message catalogs 2022-08-07 00:25:14 +00:00
Abdur-Rahmaan Janhangeer
59056aa781
Remove extra line (#10749)
Co-authored-by: Jean-François B. <2589111+jfbu@users.noreply.github.com>
2022-08-04 18:42:55 +02:00
David Stansby
26ca57893d
Fix small typo in extension hello world tutorial 2022-08-04 16:48:24 +01:00
ProGamerGov
b2fe07e1a1
Properly support of in docstring type specifiers (#10738)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-08-02 23:43:32 +01:00
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