Takeshi KOMIYA
1c33824aea
Merge branch '3.x'
2020-05-04 02:02:48 +09:00
Takeshi KOMIYA
c13ecd2437
Merge pull request #7606 from tk0miya/deprecation
...
refactor: Catch ImportError for lib2to3 to support future python
2020-05-04 01:58:00 +09:00
Takeshi KOMIYA
3fee5a1ad8
refactor: Catch ImportError for lib2to3 to support future python
2020-05-04 01:47:42 +09:00
Takeshi KOMIYA
a5036270c8
Merge pull request #7605 from tk0miya/refactor_tests
...
Refactor tests
2020-05-04 01:27:54 +09:00
Takeshi KOMIYA
3407143023
refactor: Suppress DeprecationWarning for pyximport
2020-05-04 00:27:38 +09:00
Takeshi KOMIYA
54bb1f3e62
refactor: test: Pass language_level to cython explicitly
2020-05-04 00:23:06 +09:00
Takeshi KOMIYA
75203967d8
Merge branch '3.x'
2020-05-04 00:15:20 +09:00
Takeshi KOMIYA
787fda8e49
Merge pull request #7602 from tk0miya/stacklevel
...
Add stacklevel parameter to warnings.warn() call
2020-05-03 23:57:08 +09:00
Takeshi KOMIYA
f01ea79092
refactor: Pass a theme instance to LaTeXTranslator
2020-05-03 23:56:59 +09:00
Takeshi KOMIYA
f93e5a59b6
Merge pull request #7603 from eric-wieser/warning-as-error-traceback
...
Preserve exception info in raised SphinxWarning objects
2020-05-03 23:52:55 +09:00
Takeshi KOMIYA
2799d1d727
refactor: Do not pass deprecated parameter in testcase
2020-05-03 23:47:09 +09:00
Takeshi KOMIYA
e7e9b4cbd0
Merge pull request #7604 from tk0miya/allow_to_build_in_rtd
...
Allow to build docs in readthedocs.org
2020-05-03 23:45:45 +09:00
Takeshi KOMIYA
5bf997c55a
refactor: Do not pass deprecated parameter in testcase
2020-05-03 23:41:54 +09:00
Takeshi KOMIYA
41b4a77dea
Add stacklevel parameter to warnings.warn() call
2020-05-03 23:34:35 +09:00
Takeshi KOMIYA
08f25d39af
Allow to build docs in readthedocs.org
...
At present, readthedocs_ext expects that DirectoryHTMLBuilder and
SingleFileHTMLBuilder are placed at sphinx.builders.html module.
But they were deprecated since Sphinx-2.0 and will be removed at
Sphinx-4.0.
This revives them temporarily to build our document successfully on
RTD until readthedocs_ext supports the new structure of Sphinx
components.
refs: https://github.com/readthedocs/readthedocs-sphinx-ext/pull/86
2020-05-03 23:23:25 +09:00
Eric Wieser
5ed31be51f
Preserve exception info in raised SphinxWarning objects
2020-05-03 14:58:19 +01:00
Takeshi KOMIYA
b82687ecc1
Merge pull request #7601 from eric-wieser/show-traceback-in-warning
...
autodoc: Show full traceback and exception type in warnings
2020-05-03 22:25:54 +09:00
Eric Wieser
8268d38d51
Apply suggestions from code review
2020-05-03 14:18:22 +01:00
Eric Wieser
b787e4ab8d
Update sphinx/ext/autodoc/__init__.py
2020-05-03 14:02:11 +01:00
Takeshi KOMIYA
e23f52b7f9
Merge pull request #7599 from eric-wieser/report-xml
...
Report junit pytest failures to CircleCI
2020-05-03 21:31:24 +09:00
Eric Wieser
f3dd6c0bfa
autodoc: Show full traceback and exception type in warnings
2020-05-03 12:50:28 +01:00
Eric Wieser
ae57962b98
Report junit pytest results to CircleCI
2020-05-03 12:38:07 +01:00
Takeshi KOMIYA
f6b6d753d7
Merge pull request #7593 from tk0miya/7530_kbd
...
Close #7530 : html: Support nested <kbd> elements
2020-05-03 18:41:53 +09:00
Takeshi KOMIYA
a5cba8cdbb
Merge pull request #7598 from tk0miya/deprecate_ignore
...
Deprecate ignore parameter for Documenter.get_doc()
2020-05-03 11:53:36 +09:00
Takeshi KOMIYA
1ba671a677
Deprecate ignore parameter for Documenter.get_doc()
2020-05-03 01:59:47 +09:00
Takeshi KOMIYA
ee549e43f2
Merge pull request #7595 from tk0miya/refactor_type_annotations_autodoc
...
refactor: autodoc: Update type annotations
2020-05-03 01:11:45 +09:00
Takeshi KOMIYA
daed2ec1ae
Update CHANGES for PR #7562
2020-05-02 23:16:38 +09:00
Takeshi KOMIYA
257550a547
Merge pull request #7562 from afflux/fix-typehints-with-space
...
always use separate fields for param and type in ext.autodoc.typehints
2020-05-02 23:13:08 +09:00
Takeshi KOMIYA
c7a63b455c
refactor: autodoc: Update type annotations
2020-05-02 22:54:12 +09:00
Takeshi KOMIYA
a148a8e7cb
Close #7530 : html: Support nested <kbd> elements
2020-05-02 22:48:57 +09:00
Takeshi KOMIYA
911a3b9809
refactor: Rename parameter to avoid conflict
2020-05-02 22:48:57 +09:00
Kjell Braden
4712980641
add testcase for complex typehintsext.autodoc.typehints
2020-05-02 08:57:54 +02:00
Takeshi KOMIYA
373c923a2e
Merge pull request #7592 from tk0miya/refactor_type_annotation_Optional
...
refactor: Update type annotations
2020-05-02 15:08:40 +09:00
Takeshi KOMIYA
b8e41aa15f
refactor: Update type annotations
2020-05-02 14:32:16 +09:00
Takeshi KOMIYA
56772395bb
Update CHANGES for PR #7583
2020-05-02 12:35:55 +09:00
Takeshi KOMIYA
1c3179300a
Merge pull request #7583 from eric-wieser/fix-napoleon
...
ext.napoleon: Emit type annotations at the start of `.. attribute::`
2020-05-02 12:33:59 +09:00
Takeshi KOMIYA
690447d48f
Merge pull request #7586 from tk0miya/6857_enum_classmethod
...
Fix #6857 : autodoc: failed to detect a classmethod on Enum class
2020-05-02 12:30:32 +09:00
Takeshi KOMIYA
f82151bda5
Merge branch '3.x'
2020-05-02 10:43:10 +09:00
Takeshi KOMIYA
d184859ccd
Merge pull request #7589 from tk0miya/7588_autosummary_template_suffix
...
Fix #7588 : autosummary: allow any template suffix
2020-05-02 10:42:35 +09:00
Jakob Lykke Andersen
78491b1244
Merge pull request #7591 from jakobandersen/cpp_trailing_return
...
C++, parse trailing return types
2020-05-01 22:28:52 +02:00
Jakob Lykke Andersen
284738227c
C++, parse trailing return types
2020-05-01 22:01:46 +02:00
Jakob Lykke Andersen
919e6716cf
Merge pull request #7590 from jakobandersen/cpp_udl
...
C++, parse expressions with user-defined literals
2020-05-01 20:48:18 +02:00
Jakob Lykke Andersen
bfc3200295
C++, parse expressions with user-defined literals
...
Fixes sphinx-doc/sphinx#7294
2020-05-01 20:38:51 +02:00
Takeshi KOMIYA
9256daaa77
Merge branch '3.x' into 6857_enum_classmethod
2020-05-02 01:48:01 +09:00
Takeshi KOMIYA
2e506c5ab4
Merge pull request #7571 from tk0miya/7559_misdetects_async
...
Fix #7559 : autodoc: misdetects a sync function is async
2020-05-02 01:46:02 +09:00
Takeshi KOMIYA
b5b9ddc201
Fix #7588 : autosummary: allow any template suffix
2020-05-02 01:43:40 +09:00
Takeshi KOMIYA
25fc47e6b7
Fix #7559 : autodoc: misdetects a sync function is async
2020-05-01 22:05:45 +09:00
Takeshi KOMIYA
017af4ce2e
Merge pull request #7577 from tk0miya/7575_doctest_print
...
doc: Fix examples of doctest extensions are still in py2 (refs: #7575 )
2020-05-01 21:03:06 +09:00
Takeshi KOMIYA
d612ef8f0b
Fix #6857 : autodoc: failed to detect a classmethod on Enum class
2020-04-30 22:54:49 +09:00
Takeshi KOMIYA
5460ad6925
Update CHANGES for PR #7581
2020-04-30 22:12:24 +09:00