Takeshi KOMIYA
7e71b759d7
Merge branch '4.x' into 4.0.x
2021-06-13 17:20:01 +09:00
Justin Mathews
cf8f5fce37
delete redundant test content
2021-06-10 11:46:17 -04:00
Justin Mathews
36c662eca5
positive test assertion
...
Co-authored-by: François Freitag <mail@franek.fr>
2021-06-10 11:43:14 -04:00
Justin Mathews
9b2a1e20e2
explicitly close the connection
...
Co-authored-by: François Freitag <mail@franek.fr>
2021-06-10 11:42:36 -04:00
Justin Mathews
134a8d8f54
reuse existing test link
...
Co-authored-by: François Freitag <mail@franek.fr>
2021-06-10 11:41:47 -04:00
Justin Mathews
a4621fb73e
test with http
...
Co-authored-by: François Freitag <mail@franek.fr>
2021-06-10 11:41:11 -04:00
Justin Mathews
db9adaceaf
Trigger the bad web server behaviour with the http_server context manager instead of relying on an external website.
2021-06-09 23:40:40 -04:00
Justin Mathews
11b4345ff5
Resolves bug #9306
2021-06-07 17:53:42 -04:00
Justin Mathews
57c866caf1
catch ConnectionError on HEAD
2021-06-07 17:53:36 -04:00
Justin Mathews
84d4a5b97a
failing test for linkcheck of US Patent page
2021-06-07 17:53:32 -04:00
Jakob Lykke Andersen
98f827ceee
Refactor C++ tests
2021-06-03 20:01:21 +02:00
Jakob Lykke Andersen
ef68bd4220
Refactor C tests
2021-06-03 19:35:14 +02:00
Jakob Lykke Andersen
92c5ee07be
Merge pull request #9155 from jakobandersen/field_roles
...
Call roles in typed fields
2021-06-03 19:28:19 +02:00
Takeshi KOMIYA
1418e3acbb
Merge pull request #9260 from tk0miya/9016_linkcheck_github_anchors
...
Close #9016 : linkcheck builder failed to check the anchors of github.com
2021-06-04 01:18:22 +09:00
Jakob Lykke Andersen
783314d54d
Field roles, add C++ test
2021-06-03 16:52:38 +02:00
Jakob Lykke Andersen
27d40519c1
Field roles, add C test
2021-06-03 16:42:57 +02:00
Takeshi KOMIYA
69cbf7aa92
Merge pull request #9285 from tk0miya/9283_autodoc_attribute_not_having_comment
...
Fix #9283 : autodoc: failed to build doc for attribute not commented
2021-06-03 21:47:58 +09:00
Takeshi KOMIYA
90470b094e
Close #9268 : python_use_unqualified_type_names supports type field
2021-06-03 00:09:16 +09:00
Takeshi KOMIYA
92335bd6e6
Close #9016 : linkcheck builder failed to check the anchors of github.com
2021-06-01 00:31:15 +09:00
Takeshi KOMIYA
5c275191b6
Merge pull request #9282 from tk0miya/9280_exceptions
...
Fix #9280 : py domain: "exceptions" module is not displayed
2021-05-30 22:09:34 +09:00
Takeshi KOMIYA
9a9433e403
Fix #9283 : autodoc: failed to build doc for attribute not commented
...
Autoattribute directive should check the existence of instance attribute
that is defined inside __init__() but not having comments before
accessing it.
2021-05-30 19:48:11 +09:00
Takeshi KOMIYA
201f61f722
Fix #9280 : py domain: "exceptions" module is not displayed
...
Since v0.2, python domain gives a special treatment for the exceptions
module to suppress its name on documenting exception classes. It had
been worthy on python2 era. But the module has been removed since
python3. Therefore, the special treatment becomes harmful for user
libraries. This removes it to render module names correctly.
Note: Now we've only supported python3. So this is not incompatible.
2021-05-30 03:46:55 +09:00
Takeshi KOMIYA
31ec519d38
Close #9272 : autodoc: Render enum values for the default argument value better
2021-05-30 02:15:28 +09:00
Takeshi KOMIYA
830b3fbe2b
Merge pull request #9261 from tk0miya/9250_inherited_docstring
...
Fix #9250 : autodoc: The inherited method not having docstring is wrongly parsed
2021-05-24 01:24:23 +09:00
Takeshi KOMIYA
2ddc1d0681
Merge pull request #9258 from tk0miya/1874_piped_types_in_info-field-list
...
Close #1874 : py domain: Support union types using `|` in info-field-list
2021-05-23 00:42:56 +09:00
Takeshi KOMIYA
0fb8e33f32
Fix #9250 : autodoc: The inherited method not having docstring is wrongly parsed
...
`sphinx.util.inspect.getdoc()` clean the docstring up if the method is
inherited and not having docstring. That causes indentations are
removed on processing it.
2021-05-23 00:39:05 +09:00
Takeshi KOMIYA
5a8dec457a
refactor: reduce calls of find_pending_xref_conditions (refs: #9240 )
...
After #9246 , `find_pending_xref_conditions()` should be only called from
intended modules. At present, the Python Domain is the only module to
call it intendedly. Therefore, this removes the needless calls of the
utility function from "unintended" modules.
2021-05-22 15:34:30 +09:00
Takeshi KOMIYA
a1b0e55548
Close #1874 : py domain: Support union types using |
in info-field-list
2021-05-22 01:55:43 +09:00
Takeshi KOMIYA
9a132b4f81
Merge branch '4.x' into 9224_type_containing_whitespace
2021-05-19 23:04:48 +09:00
Takeshi KOMIYA
567ff22716
Merge pull request #9231 from tk0miya/9217_manpage_section_directory
...
Fix #9217 : manpage: Dirname of man_make_section_directory is wrong
2021-05-19 23:00:03 +09:00
Takeshi KOMIYA
549f09e048
Merge pull request #9239 from igo95862/https-links
...
Upgrade URLs to use HTTPS
2021-05-19 22:59:19 +09:00
Takeshi KOMIYA
8049cd6925
Merge branch '4.0.x' into 4.x
2021-05-19 22:48:26 +09:00
Takeshi KOMIYA
2d3d668856
Fix #9240 : Unknown node error for pending_xref_condition is raised
...
Unknown node error for pending_xref_condition is raised if an extension
that does not support the node installs a missing-reference handler.
2021-05-18 01:55:36 +09:00
Takeshi KOMIYA
79d9701a00
Fix #9217 : manpage: Dirname of man_make_section_directory is wrong
...
* Correct: man/man1
* Wrong: man/1
2021-05-17 23:18:24 +09:00
Takeshi KOMIYA
d6c19126c5
Merge branch '4.0.x' into 4.x
2021-05-17 23:16:27 +09:00
Takeshi KOMIYA
b19dc365fe
Merge pull request #9233 from tk0miya/3014_autodoc-process-bases
...
Close #3014 : autodoc: Add autodoc-process-bases
2021-05-17 22:50:56 +09:00
Takeshi KOMIYA
bc7087a1a2
Merge branch '4.x' into 3014_autodoc-process-bases
2021-05-17 22:40:27 +09:00
Takeshi KOMIYA
e5f6c77263
refactor: Do config file existence check in Config.read()
2021-05-16 23:48:42 +09:00
igo95862
e67c9e5df1
doc: Upgrade docutils.sourceforge.io links to HTTPS
...
Also change any docutils.sourceforge.net link to io
top level domain.
2021-05-16 15:53:49 +03:00
Takeshi KOMIYA
630e5bd15f
manpage: Stop creating a section directory on build manpage by default
2021-05-16 17:06:58 +09:00
Takeshi KOMIYA
8d87dde43b
Merge pull request #9232 from tk0miya/9217_dont_make_section_directory
...
manpage: Stop creating a section directory on build manpage by default
2021-05-16 17:02:41 +09:00
Takeshi KOMIYA
d048025238
Merge branch '4.x' into 9218_doccomment_for_aliased_class
2021-05-16 13:57:24 +09:00
Takeshi KOMIYA
51ae283a38
Close #4257 : autodoc: Add autodoc_class_signature
...
Add `autodoc_class_signature` to separate the class entry and the
definition of `__init__()` method.
2021-05-16 01:53:48 +09:00
Takeshi KOMIYA
67db20d705
Close #3014 : autodoc: Add autodoc-process-bases
...
Add `autodoc-process-bases` to modify the base classes of the class
definitions. This allows the extensions to insert or modify the list
of the base classes via event-handlers.
2021-05-16 00:46:06 +09:00
Takeshi KOMIYA
fa8117cd2f
manpage: Stop creating a section directory on build manpage by default
2021-05-15 22:23:40 +09:00
Takeshi KOMIYA
d9be8f6d4e
Fix #9224 : info-field-list does not support a type containing space
...
So far, DocFieldTransformer has split the field name for `:type:`
and `:param:` at the first whitespace. Therefore, it does not allow
to use a type containing whitespace (ex. `Dict[str, str]`).
This changes the splitting logic to divide the field name at the last
whitespace (a.k.a `rstrip()`). It allows to use whitespaces on types.
2021-05-15 20:31:09 +09:00
Takeshi KOMIYA
4ceedc102d
Close #8061 , #9218 : autodoc: Support variable comment for alias classes
2021-05-15 16:31:40 +09:00
Takeshi KOMIYA
a8c63f7511
Fix #9222 : Update Underscore.js to 1.13.1
...
underscore.js 1.12.0 has a security announcement (CVE-2021-23358) for
arbitrary code execution. So it should be upgraded to the latest
version.
2021-05-13 02:11:17 +09:00
Takeshi KOMIYA
1513d50774
Merge branch '4.0.x' into 4.x
2021-05-13 01:51:57 +09:00
Takeshi KOMIYA
d18840b38d
Fix test: the result of stringify_signature() has been changed randomly in py36
2021-05-13 01:40:45 +09:00