Commit Graph

17378 Commits

Author SHA1 Message Date
Takeshi KOMIYA
a31135834b
Merge branch '4.0.x' into 9095_TypeError_on_broken_metaclass 2021-04-20 01:13:05 +09:00
Takeshi KOMIYA
cf4d3da081 CHANGES for PR #9101 2021-04-20 01:12:38 +09:00
Takeshi KOMIYA
ff02add8ef
Merge pull request #9101 from V0lantis/fix/fix_user_selection
Fix `user-selection` in Safari and Internet Explorer
2021-04-20 01:10:15 +09:00
Arthur Volant
75e8862f73 Add div.doctest to snippet 2021-04-19 11:36:53 +02:00
Takeshi KOMIYA
da792470b6 Fix #9095: autodoc: TypeError is raised on processing broken metaclass
The logging module is crashed when the target object is a broken
metaclass that raises a TypeError on `isinstance()`.

This adds a workaround code to avoid the error.
2021-04-19 01:12:00 +09:00
Jakob Lykke Andersen
9105635389
Merge pull request #9113 from jakobandersen/c_cpp_alias_fix
C, C++, alias fix
2021-04-18 17:02:59 +02:00
Jakob Lykke Andersen
025ec263f9 C, C++, fix KeyError due to alias directive 2021-04-18 16:39:58 +02:00
Takeshi KOMIYA
8ec937d4c9
Merge pull request #9050 from tk0miya/8829_whats_parallel_read_safe
Close #8829: doc: Update description of paralle-read-safe
2021-04-18 15:22:19 +09:00
Takeshi KOMIYA
226c70c58b
Merge pull request #9106 from tk0miya/9103_imgconverter_unexpected_conversion
Fix #9103: LaTeX: imgconverter: conversion runs even if not needed
2021-04-18 15:21:04 +09:00
Takeshi KOMIYA
e0ce61d533
Merge branch '4.0.x' into 9103_imgconverter_unexpected_conversion 2021-04-18 15:08:51 +09:00
Takeshi KOMIYA
38c6e95c50
Merge pull request #9107 from tk0miya/8818_nitpicky_for_Any
Fix #8818: autodoc: Super class having ``Any`` arguments causes nit-picky warning
2021-04-18 14:46:18 +09:00
Arthur Volant
b8ac63bc95 Remove link to stackoverflow 2021-04-17 17:46:43 +02:00
Arthur Volant
f12ebdfae4 Add div.highlight 2021-04-17 17:46:40 +02:00
Arthur Volant
0ce7c1f577 Add line numbers 2021-04-17 17:46:36 +02:00
Harmon
31718d78b4 doc: Fix grammar in documentation for autodoc_typehints 2021-04-17 17:46:31 +02:00
Arthur Volant
48afcc4f1e Fix selection for safari/Internet Explorer and Mozilla 2021-04-17 17:46:23 +02:00
Takeshi KOMIYA
c2c2b81f91 Fix #8818: autodoc: Super class having `Any` arguments causes nit-picky warning
On generating the base class information, unexpected nit-picky warning
for ``typing.Any`` was emitted.  This fixes it by using `~` prefix on
generating a cross-reference to make it valid.
2021-04-18 00:25:48 +09:00
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
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
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
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
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