Takeshi KOMIYA
e94944cdd8
Merge pull request #9104 from tk0miya/8127_nitpicky_ellipsis
...
Fix #8127 : py domain: Ellipsis in info-field-list causes nit-picky warning
2021-04-17 22:10:41 +09:00
Takeshi KOMIYA
490c1125be
Update CHANGES for PR #9097
2021-04-17 22:06:53 +09:00
Takeshi KOMIYA
af53987a33
Merge pull request #9097 from peterbell10/parallel-task-sleep
...
Remove unnecesary sleep when submitting parallel tasks
2021-04-17 21:53:25 +09:00
Peter Bell
33b8f4334f
Remove redundant assignment
2021-04-17 13:17:59 +01:00
Takeshi KOMIYA
5f56d4146e
Fix #9103 : LaTeX: imgconverter: conversion runs even if not needed
...
The imgconverter unexpectedly goes to convert even if the given image
is supported by the target builder when the image globbing is not used.
This enables format guess-ing on not globbed.
2021-04-17 16:51:19 +09:00
Takeshi KOMIYA
c7b169c5a9
Fix #8127 : py domain: Ellipsis in info-field-list causes nit-picky warning
...
On parsing the types, the leading dot of the ellipsis (...) is considered
as a reference name. And its first dot is considered as a notation for
relative type reference (ex. ".ClassName"). As a result, it was converted
double dots unexpectedly.
This changes the parsing rule to treat the ellipsis as a symbol, not a
name.
2021-04-17 02:06:57 +09:00
Takeshi KOMIYA
fe64693b2e
Bump version
2021-04-16 23:57:06 +09:00
Takeshi KOMIYA
53e7272884
Bump to 3.5.4 final
2021-04-16 23:57:06 +09:00
Juan Luis Cano Rodríguez
130ed4bb4a
Recommend MyST-Parser for Markdown usage
2021-04-15 20:31:13 +02:00
Takeshi KOMIYA
9f44ee4dd1
Merge pull request #9100 from Harmon758/autodoc_typehints-grammar-fix
...
doc: Fix grammar in documentation for `autodoc_typehints`
2021-04-15 09:08:32 +09:00
Harmon
5af55008b3
doc: Fix grammar in documentation for autodoc_typehints
2021-04-14 16:41:25 -05:00
Peter Bell
48c0c32395
Remove unnecesary sleep when submitting parallel tasks
2021-04-13 20:12:31 +01:00
Jakob Lykke Andersen
8954770f67
Merge pull request #9023 from jakobandersen/decl_styling
...
Flexible declaration styling
2021-04-12 22:02:57 +02:00
Jakob Lykke Andersen
709339ec53
Decl styling, disable smart quoting in sigs
2021-04-12 20:40:08 +02:00
Jakob Lykke Andersen
9b3b8a49fb
Decl styling, fix font size in basic
2021-04-12 20:24:11 +02:00
Jakob Lykke Andersen
cb21eb2283
Decl styling, handle desc_inline in manpage and texinfo
2021-04-12 19:07:51 +02:00
Jakob Lykke Andersen
da5b8e41e3
Decl styling, fixes from review
2021-04-12 19:07:51 +02:00
Jakob Lykke Andersen
a840b9e4d6
C, C++, fix unary op
2021-04-12 19:07:51 +02:00
Jakob Lykke Andersen
f1d9d0aac6
Decl styling, C styling and C++ char literal styling
2021-04-12 19:07:51 +02:00
Jakob Lykke Andersen
9cd9e124ff
Decl styling, convert C
2021-04-12 19:07:51 +02:00
Jakob Lykke Andersen
a1ac0fd1ec
Decl styling, C++, fix alternate spellings of operators
2021-04-12 19:07:51 +02:00
Jakob Lykke Andersen
7126503eeb
Decl styling, update writers
...
Add test objects so all builders gets exposed to the new nodes.
Make the fallback node post-transform change desc_inline as well.
Make the html4, latex, and text writers handle desc_inline.
2021-04-12 19:07:51 +02:00
Jakob Lykke Andersen
c0ef6a9265
Fix isort violation
2021-04-12 19:07:51 +02:00
Jakob Lykke Andersen
f769dde254
Decl styling, fix html test
2021-04-12 19:07:51 +02:00
Jakob Lykke Andersen
3fdc9bcf9f
Fix desc_sig_space
2021-04-12 19:07:51 +02:00
Jakob Lykke Andersen
87414faa92
Decl styling, fix cpp tests
2021-04-12 19:07:51 +02:00
Jakob Lykke Andersen
70708e4b24
Decl styling, add CSS for the C++ domain
2021-04-12 19:07:51 +02:00
Jakob Lykke Andersen
c1da955df2
Decl styling, use a post-transform to get the domain name in the desc_signature nodes
2021-04-12 19:07:51 +02:00
Jakob Lykke Andersen
86eeee5031
Fix flake8 and mypy violations
2021-04-12 19:07:51 +02:00
Jakob Lykke Andersen
b0a2e5cf04
Decl styling, consistent monospace
2021-04-12 19:07:41 +02:00
Jakob Lykke Andersen
98800be904
Decl styling, make desc_inline node
...
Use the new node for cpp:expr
2021-04-12 19:06:44 +02:00
Jakob Lykke Andersen
e012c93f1b
Decl styling, move static classes to addnodes from HTML5 writer
2021-04-12 19:05:58 +02:00
Jakob Lykke Andersen
d131ec7acb
Decl styling, move desc dynamic classes to domain base class
2021-04-12 19:05:58 +02:00
Jakob Lykke Andersen
3c9a74cb0b
Decl styling, docs and restructuring
2021-04-12 19:05:58 +02:00
Jakob Lykke Andersen
14f7d243bd
Decl styling, more nodes and C++ conversion
2021-04-12 19:05:58 +02:00
Takeshi KOMIYA
32337c3ba7
Merge pull request #9084 from tk0miya/8731_docs_for_napoleon_preprocess_types
...
doc: Add docs for napoleon_preprocess_types
2021-04-13 01:15:44 +09:00
Takeshi KOMIYA
8347e248a7
Merge pull request #9086 from tk0miya/8898_docs
...
docs: Add versionchanged tag to extlinks (refs: #8898 )
2021-04-13 01:15:10 +09:00
Takeshi KOMIYA
952866c689
Merge branch '4.0.x' into 4.x
2021-04-12 00:33:10 +09:00
Takeshi KOMIYA
d0d06923eb
Bump version
2021-04-12 00:30:49 +09:00
Takeshi KOMIYA
4a328f41a5
Bump to 4.0.0 beta1
2021-04-12 00:29:49 +09:00
Takeshi KOMIYA
1285e0cabe
Bump version
2021-04-11 22:53:41 +09:00
Takeshi KOMIYA
d59e96c8b4
docs: Add versionchanged tag to extlinks (refs: #8898 )
2021-04-11 22:25:48 +09:00
Takeshi KOMIYA
04565936a9
Update CHANGES for PR #8898
2021-04-11 22:18:01 +09:00
Merry Bass
93cf1a57d9
fixup! sphinx.ext.extlinks: Allow `%s
` in link caption string
...
The old syntax will be deprecated in 4.x and 5.x and removed in Sphinx
6.0.
2021-04-11 22:14:55 +09:00
Merry Bass
75605d437f
fixup! sphinx.ext.extlinks: Clarify escaping of `%
`
2021-04-11 22:14:24 +09:00
Merry Bass
ef1747f03a
sphinx.ext.extlinks: Clarify escaping of `%
`
...
We use Pythons %-formatting, so literal ``%`` must be escaped as ``%%``.
Clarify this behaviour for the caption and base URL strings.
2021-04-11 22:14:17 +09:00
Merry Bass
fb39974486
sphinx.ext.extlinks: Allow `%s
` in link caption string
...
Tweak syntax of extlinks to also allow ``%s`` in the link caption part.
Like for the base URL ``%s`` will be substituted with the content of the
role. This allows configurations like
extlinks = {'quarter': ('https://example.org/quaters/%s ',
'%s. quarter')}
with ``:quarter:`2``` getting replaced by a link titled `2. quarter`.
The requirement for the caption string is to be either None or contain
exactly one ``%s``. If neither is the case, then we emit a warning and
fall back to the old behaviour which is concatenating the caption string
with the role content.
2021-04-11 22:14:01 +09:00
Takeshi KOMIYA
081e717c91
Merge branch '3.x'
2021-04-11 22:13:16 +09:00
Takeshi KOMIYA
1423924923
Merge branch '3.5.x' into 3.x
2021-04-11 22:12:57 +09:00
Takeshi KOMIYA
9238dd89ac
Revert "Merge pull request #8898 from merrybass/feature-extlinks-pattern"
...
This reverts commit cd83daa967
, reversing
changes made to c58cea9afa
.
2021-04-11 22:10:22 +09:00