Commit Graph

15055 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Takeshi KOMIYA
b19ef9d51e
Merge pull request #7584 from eric-wieser/fix-colon-parsing
ext.napoleon: Do not consume colons within inline code
2020-04-30 22:11:33 +09:00
Takeshi KOMIYA
ca082f6893
Merge pull request #7578 from tk0miya/7570_autosummary_template_option
Fix #7570: autosummary: template option is broken
2020-04-30 21:53:42 +09:00
Takeshi KOMIYA
2377c364a7
Merge pull request #7580 from tk0miya/7469_process-dostring_unexpectedly_cached
Fix #7469: autodoc: The change of autodoc-process-docstring is cached
2020-04-30 21:48:00 +09:00
Eric Wieser
453fe55dc9 ext.napoleon: Do not consume colons within inline code
Fixes gh-7581
2020-04-30 08:57:24 +01:00
Eric Wieser
9d7171899a ext.napoleon: Emit type annotations at the start of .. attribute:: 2020-04-29 19:03:24 +01:00
Takeshi KOMIYA
4a944d4ff2 autodoc: The change of autodoc-process-docstring is cached (refs: #7469) 2020-04-30 01:36:16 +09:00
Takeshi KOMIYA
0bf9011509 Fix #7570: autosummary: template option is broken 2020-04-30 00:14:59 +09:00
Takeshi KOMIYA
155cb87452 doc: Fix examples of doctest extensions are still in py2 (refs: #7575) 2020-04-29 22:46:44 +09:00
Takeshi KOMIYA
d59584f409 Update CHANGES for PR #7572 2020-04-28 23:02:21 +09:00
Takeshi KOMIYA
db4cced99d
Merge pull request #7572 from mgeier/eqno-alignment
Align equation numbers at the right margin
2020-04-28 23:01:24 +09:00