Commit Graph

16358 Commits

Author SHA1 Message Date
Takeshi KOMIYA
8981e84779
Merge pull request #8361 from sphinx-doc/4606_incorrect_location_of_docstring
Fix #4606: autodoc: the location of the warning is incorrect for inherited method
2020-11-08 12:33:30 +09:00
Takeshi KOMIYA
bca35cde15
Merge pull request #8382 from francoisfreitag/34
Drop Python 3.4 compatibility code
2020-11-08 12:32:51 +09:00
François Freitag
fa8bec76e7
Drop Python 3.4 compatibility code
Python 3.4 support was dropped in Sphinx 2.0.
2020-11-07 11:21:34 +01:00
Jakob Lykke Andersen
1193d83166 Update CHANGES 2020-11-07 10:40:30 +01:00
Fabio Utzig
5488bda082 domains: c: fix use of unitialized variable
_fill_empty was not updating the state with the value of line, so in
recursive calls it would fail the assert checking for its own
initialization.

Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
2020-11-07 10:39:25 +01:00
Takeshi KOMIYA
a38ba8670a
Merge pull request #8377 from tk0miya/8375_fix_link
Fix #8375: URL of transifex project page
2020-11-06 00:04:16 +09:00
Takeshi KOMIYA
cad02e62e6 Fix #8375: URL of transifex project page 2020-11-05 23:52:59 +09:00
Takeshi KOMIYA
78e8a703fd
Merge pull request #8363 from tk0miya/tests_with_py39
test: Do test with py39
2020-11-05 02:29:31 +09:00
Takeshi KOMIYA
e70fc22c72
Merge pull request #8373 from tk0miya/update_release_checklist
Update release checklist
2020-11-05 02:25:39 +09:00
Takeshi KOMIYA
f12451f304 test: Do test with py39 2020-11-05 02:19:48 +09:00
Takeshi KOMIYA
ab707be1e1 Merge branch '3.3.x' into 3.x 2020-11-05 02:18:09 +09:00
Takeshi KOMIYA
658f737970 Check GitHub Actions before packaging 2020-11-05 02:17:54 +09:00
Takeshi KOMIYA
daff5066c6
Merge pull request #8371 from tk0miya/do_npm_test_on_gha
test: Do "npm test" on GitHub Actions
2020-11-05 02:17:31 +09:00
Takeshi KOMIYA
6d522c5483 test: Do "npm test" on GitHub Actions 2020-11-05 02:07:52 +09:00
Takeshi KOMIYA
15e6273a12
Merge pull request #8369 from tk0miya/do_coverage_on_gha
test: Send test-coverage data from GitHub Action
2020-11-05 02:06:52 +09:00
Takeshi KOMIYA
6d05b1aeb3 Fix #8105: autodoc: the signature of decorated class is incorrect
In #7651, autodoc stops to undecorate the functions on getting the
signature from the callables.  But some kinds of decorators conceals
the correct signature because they pass through their arguments via
`(*args, **kwargs)`.

This restarts to undecorate the functions again as before #7651.
2020-11-05 01:57:40 +09:00
Takeshi KOMIYA
e1e0106aa4
Merge branch '3.x' into 4606_incorrect_location_of_docstring 2020-11-05 01:54:23 +09:00
Takeshi KOMIYA
0cf1632edf Update CHANGES for PR #8355 2020-11-05 01:53:42 +09:00
Takeshi KOMIYA
f46c14bbca
Merge pull request #8355 from sphinx-doc/7613_class__signature__
Fix #7613: autodoc: autodoc does not respect __signature__ of the class
2020-11-05 01:51:17 +09:00
Takeshi KOMIYA
2be6aaa7a4 Merge branch '3.3.x' into 3.x 2020-11-05 01:20:33 +09:00
Takeshi KOMIYA
c853359417 tox.ini: Clean up 2020-11-05 01:17:41 +09:00
Takeshi KOMIYA
162a0048e5 tox.ini: Do not override $PYTEST_ADDOPTS forcedly 2020-11-05 01:05:36 +09:00
Takeshi KOMIYA
155213c6c9 test: Send test-coverage data from GitHub Action 2020-11-05 00:36:12 +09:00
Takeshi KOMIYA
3171fd709a
Merge pull request #8367 from tk0miya/do_test_for_py35_in_gha
Do testing with python3.5 at GitHub Actions
2020-11-05 00:01:00 +09:00
Takeshi KOMIYA
4478f00c4c Do testing with python3.5 at GitHub Actions 2020-11-04 23:21:52 +09:00
Takeshi KOMIYA
218de39462 Fix testcases for singledispatch are sometimes failed
They are sometimes failed with python3.5 because the order of singledispatch
functions is not stable on python 3.5.  This uses comparision via "in"
keyword to check the signature of singledispatch functions stably.
2020-11-04 23:19:27 +09:00
Takeshi KOMIYA
242c63dc8b Do testing at GitHub Actions 2020-11-04 23:07:54 +09:00
Takeshi KOMIYA
44fbd00585
Merge pull request #8366 from tk0miya/do_test_in_gha
Do testing at GitHub Actions
2020-11-04 23:07:18 +09:00
Takeshi KOMIYA
e84a7ac659 Do testing at GitHub Actions 2020-11-04 22:19:33 +09:00
Takeshi KOMIYA
2da6de6721 Fix #4606: autodoc: the location of the warning is incorrect for inherited method 2020-11-04 01:35:02 +09:00
Takeshi KOMIYA
9f1c89dd9d Update CHANGES for PR #8355 2020-11-03 11:39:44 +09:00
Takeshi KOMIYA
7065dc0157 Merge branch '3.x' into 7613_class__signature__ 2020-11-03 11:39:23 +09:00
Takeshi KOMIYA
c028fb7a40
Merge pull request #8359 from sphinx-doc/8349_sphinx-contrib
doc: Update sphinx-contrib repos' URL (refs: #8349)
2020-11-03 11:29:31 +09:00
Takeshi KOMIYA
8575b434bb
Merge pull request #8075 from tk0miya/6914_detailed_warning_for_missing_ref
Fix #6914: Emit a detailed warning when failed to resolve :ref:
2020-11-03 11:29:02 +09:00
Takeshi KOMIYA
9f0f34cbda Close #8119: autodoc: Control visibility of module member not in __all__
This allows `autodoc-skip-member` handlers to determine whether a member
not included in `__all__` attribute of the module should be documented or
not.
2020-11-03 02:28:32 +09:00
Takeshi KOMIYA
1f88beb2b4 autodoc: Add ObjectMember class
To extend Documenter.get_object_member(), this adds a new class
`ObjectMember` to represent a member of the object.
2020-11-03 02:28:03 +09:00
Takeshi KOMIYA
0e98e9b1a8 Fix #6914: Emit a detailed warning when failed to resolve :ref:
To be clear the ambiguous warning for missing-reference :ref:,
this separates the warning to missing-label and missing-caption.

To emit a warning dynamically, this also adds a new event:
`warn-missing-reference` to customize warning messages via event
handlers.
2020-11-03 02:27:43 +09:00
Takeshi KOMIYA
11edef1a26 doc: Update sphinx-contrib repos' URL (refs: #8349) 2020-11-03 02:13:05 +09:00
Takeshi KOMIYA
487b8436c6 Bump version 2020-11-02 22:24:25 +09:00
Takeshi KOMIYA
17299d1392 Bump version 2020-11-02 22:22:21 +09:00
Takeshi KOMIYA
24848f5a6a Bump to 3.3.0 final 2020-11-02 22:18:45 +09:00
Takeshi KOMIYA
7071631d2b Merge CHANGES of 3.2.2 into 3.0.0 2020-11-02 22:17:10 +09:00
Takeshi KOMIYA
b415b25c09 Merge branch '3.2.x' into 3.x 2020-11-01 20:31:49 +09:00
Takeshi KOMIYA
9a44e45277 Fix #7613: autodoc: autodoc does not respect __signature__ of the class 2020-11-01 18:27:16 +09:00
Takeshi KOMIYA
27b1a693d0 Update CHANGES for PR #8183 2020-11-01 12:28:04 +09:00
Takeshi KOMIYA
0c5de26cfb
Merge pull request #8354 from tk0miya/8183
Don't remove substitution_reference nodes (refined)
2020-11-01 11:53:38 +09:00
Takeshi KOMIYA
87121c3de0 Merge branch '3.x' into 8183 2020-11-01 11:38:39 +09:00
Takeshi KOMIYA
4c2076b220
Merge pull request #8351 from sphinx-doc/cleanup_napoleon
Cleanup napoleon
2020-11-01 11:23:59 +09:00
Takeshi KOMIYA
73f538da0f Update CHANGES for PR #8050 2020-10-30 02:00:53 +09:00
Takeshi KOMIYA
68c89f471c
Merge pull request #8050 from keewis/preprocess-other-sections
Preprocess other sections
2020-10-30 01:54:34 +09:00