Commit Graph

17643 Commits

Author SHA1 Message Date
Takeshi KOMIYA
aeb00d8186 doc: Fix typo 2021-04-20 01:13:48 +09:00
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
Takeshi KOMIYA
58ec5c4089 Fix #9110: autodoc: metadata of GenericAlias is not rendered as a reference in py37+
GenericAliasMixin should use `restify()` to render the metadata of
GenericAlias as py36 does.
2021-04-19 01:11:08 +09:00
Takeshi KOMIYA
668bc9eec9 Merge branch '4.0.x' into 4.x 2021-04-19 01:08:54 +09:00
Takeshi KOMIYA
c75ad02973
Merge pull request #9112 from astrojuanlu/markdown-myst
Recommend MyST-Parser for Markdown usage
2021-04-19 01:08:18 +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
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