Takeshi KOMIYA
9a8314edcf
Merge pull request #8420 from francoisfreitag/unused-args
...
linkcheck: Remove unused arguments from test_invalid_ssl
2020-11-14 21:08:25 +09:00
Takeshi KOMIYA
78d407cf83
Update CHANGES for PR #8404
2020-11-14 18:55:25 +09:00
Takeshi KOMIYA
614250fec4
Merge pull request #8404 from francoisfreitag/test-ssl-broken
...
linkchecker: Remove dead code is_ssl_error()
2020-11-14 18:54:16 +09:00
Takeshi KOMIYA
88cb385289
Merge pull request #8414 from francoisfreitag/rm-linkcheck-mock
...
linkcheck: Remove requests mocks from tests
2020-11-13 02:28:21 +09:00
Takeshi KOMIYA
249778e7d0
Fix git merging error
2020-11-13 01:08:46 +09:00
Takeshi KOMIYA
a3af1e860b
Merge branch '3.3.x' into 3.x
2020-11-12 23:40:41 +09:00
Takeshi KOMIYA
97c5f63b62
Bump version
2020-11-12 23:23:20 +09:00
Takeshi KOMIYA
c09795c194
Bump to 3.3.1 final
2020-11-12 23:21:14 +09:00
Takeshi KOMIYA
5cabdecb9e
Merge pull request #8412 from tk0miya/8164_autosummary_mock_imports_causes_slowdown
...
Fix #8350 : autosummary_mock_imports causes slow down builds
2020-11-12 23:09:44 +09:00
Takeshi KOMIYA
3b0f0f22d4
Merge pull request #8407 from francoisfreitag/allow-redirects
...
linkcheck: set allow_redirects in requests.head() call
2020-11-12 03:04:22 +09:00
Takeshi KOMIYA
64fb1e5624
Merge pull request #8411 from francoisfreitag/devmode
...
Run tests with Python Development mode
2020-11-12 02:20:43 +09:00
Takeshi KOMIYA
386929ec0f
Merge pull request #8409 from francoisfreitag/linkcheck-tests
...
linkcheck: Remove unused arguments from tests
2020-11-12 02:17:52 +09:00
Takeshi KOMIYA
68cc0f7e94
Merge pull request #8408 from francoisfreitag/isort
...
Sort imports with isort
2020-11-12 02:05:13 +09:00
Takeshi KOMIYA
953a5ec898
Fix #8350 : autosummary_mock_imports causes slow down builds
...
The mock objects set up via `autosummary_mock_imports` causes slow down
of autosummary stub generation because AttributeDocumenter falls into
infinite recursion call to unwrap decorators of mocked objects.
To avoid the trouble, this blocks unwrapping decorators of mocked
objects.
2020-11-12 01:55:42 +09:00
Takeshi KOMIYA
229e11c488
Merge pull request #8376 from tk0miya/test_with_py310
...
Test with py310
2020-11-10 23:20:08 +09:00
Takeshi KOMIYA
1b9099f339
test: Adjust type annotataions in python 3.10
2020-11-10 22:33:03 +09:00
Takeshi KOMIYA
a3c8768afd
Do test with py310-dev again
2020-11-10 22:33:03 +09:00
Takeshi KOMIYA
4664814ed2
Merge pull request #8397 from tk0miya/apply_get_type_hints
...
autodoc: Add Optional[t] to annotation of function and method
2020-11-10 22:31:38 +09:00
Takeshi KOMIYA
de2d2cc6ac
Update CHANGES for PR #8399
2020-11-10 22:20:52 +09:00
Takeshi KOMIYA
52432c7e3e
Merge pull request #8399 from mitya57/fix-system-translation-override
...
Put system locale path after the paths specified by configuration
2020-11-10 22:19:15 +09:00
Takeshi KOMIYA
9154bc5456
Merge branch '3.3.x' into 3.x
2020-11-10 20:40:55 +09:00
Takeshi KOMIYA
e2836c4361
Update CHANGES for PR #8231
2020-11-10 20:40:44 +09:00
Takeshi KOMIYA
6d1cafe7bd
autodoc: Add Optional[t] to annotation of function and method
...
As typing.get_type_hints() doing, this adds Optional[t] to type
annotations if a default value equal to None is set.
Note: this is default behavior of inspect.signature() since Python 3.10.
2020-11-10 02:41:58 +09:00
Takeshi KOMIYA
e2c969c495
Merge pull request #8392 from tk0miya/add_Documenter.config
...
refactor: Add `Documenter.config` as a shortcut to access the config object
2020-11-10 00:51:56 +09:00
Takeshi KOMIYA
51da043791
refactor: Add `Documenter.config` as a shortcut to access the config object
2020-11-10 00:43:23 +09:00
Takeshi KOMIYA
90f6fd90e0
Merge pull request #8390 from sphinx-doc/7727_autosummary_PycodeError
...
Fix #7727 : autosummary raises PycodeError for namespace python package
2020-11-10 00:42:18 +09:00
Takeshi KOMIYA
b4fcd6b9a5
Merge pull request #8394 from francoisfreitag/real-inv
...
Rewrite test_inspect_main_url to avoid mocking
2020-11-10 00:41:55 +09:00
Takeshi KOMIYA
ed5af2461f
Merge branch '3.3.x' into 7727_autosummary_PycodeError
2020-11-10 00:31:44 +09:00
Takeshi KOMIYA
0be0cd606c
Merge pull request #8387 from tk0miya/8372_slow_autoclass
...
Fix #8372 : autodoc: autoclass directive became slower than Sphinx-3.2
2020-11-10 00:30:09 +09:00
Takeshi KOMIYA
7db3633778
Merge pull request #8231 from tk0miya/8219_params_for_base_generic_class_is_not_shown
...
Fix #8219 : autodoc: Parameters for generic base class are not shown
2020-11-09 02:48:55 +09:00
Takeshi KOMIYA
e2bf9166da
Fix #8219 : autodoc: Parameters for generic base class are not shown
2020-11-09 02:34:49 +09:00
Takeshi KOMIYA
5337e3848c
Merge pull request #8125 from tk0miya/8119_control_appearance_of_member_not_in_module.__all__
...
Close #8119 : autodoc: Control visibility of module member not in __all__
2020-11-09 02:14:34 +09:00
Takeshi KOMIYA
787444ff18
Fix #7727 : autosummary raises PycodeError for namespace python package
2020-11-09 02:06:14 +09:00
Takeshi KOMIYA
e3eec9f0e1
Fix #8372 : autodoc: autoclass directive became slower than Sphinx-3.2
...
* The result of ModuleAnalyzer.parse() is not cached
* autodoc tries to search overloaded constructor methods to the root
class even if a definition found
2020-11-08 23:23:32 +09:00
Takeshi KOMIYA
896ecc34d7
Merge branch '3.x' into 8119_control_appearance_of_member_not_in_module.__all__
2020-11-08 17:40:13 +09:00
Takeshi KOMIYA
a163bbe870
Merge pull request #8385 from tk0miya/dont_use_object_to_annotation
...
test: do not use "object" for the type annotation
2020-11-08 13:15:40 +09:00
Takeshi KOMIYA
e31189d970
test: do not use "object" for the type annotation
...
Usually we use "Any" type for the type annotation which takes any kinds
of types, instead of "object" class. So this replaces "object" to "Any"
in our example.
2020-11-08 12:57:54 +09:00
Takeshi KOMIYA
3a37919638
Merge pull request #8362 from tk0miya/8105_incorrect_class_constructor
...
Fix #8105 : autodoc: the signature of decorated class is incorrect
2020-11-08 12:53:22 +09:00
Takeshi KOMIYA
1955a08378
Merge branch '3.x' into 8105_incorrect_class_constructor
2020-11-08 12:34:09 +09:00
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
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
Takeshi KOMIYA
0b200d82fd
napoleon: simplify seealso transformation
2020-10-30 00:53:59 +09:00
Takeshi KOMIYA
078aaf5f13
napoleon: Remove unused function
2020-10-30 00:51:47 +09:00
Takeshi KOMIYA
751b7a0251
Update CHANGES for PR #8051
2020-10-30 00:50:55 +09:00
Takeshi KOMIYA
921f097906
Merge pull request #8051 from keewis/fix-see_also
...
use the obj role for all See Also items
2020-10-30 00:49:59 +09:00
Takeshi KOMIYA
293dced4d4
Merge pull request #8282 from tk0miya/7785_autodoc_typehints_none_for_overloads
...
Fix #7785 : autodoc_typehints=none does not effect to overloads
2020-10-28 11:02:25 +09:00
Takeshi KOMIYA
871f43f778
Merge branch '3.x' into 7785_autodoc_typehints_none_for_overloads
2020-10-28 02:13:49 +09:00
Takeshi KOMIYA
2c2335bbb8
Update CHANGES for PR #8304
2020-10-28 00:04:10 +09:00
Takeshi KOMIYA
95c3aa210d
Merge pull request #8304 from hoefling/master
...
Register public markers in sphinx.testing.fixtures
2020-10-28 00:03:07 +09:00
Takeshi KOMIYA
9fc5c37817
Update CHANGES for PR #8316
2020-10-28 00:02:14 +09:00
Takeshi KOMIYA
0ddfb16666
Update CHANGES for PR #8333
2020-10-28 00:01:45 +09:00
Takeshi KOMIYA
8bd1600070
Merge pull request #8316 from foster999/patch-1
...
Prevent arrow keys changing page when button elements are focused
2020-10-28 00:01:21 +09:00
Takeshi KOMIYA
15d94fcfc1
Merge pull request #8333 from mgeier/theme-css-after-pygments
...
Override Pygments CSS with theme CSS
2020-10-27 23:58:21 +09:00
Takeshi KOMIYA
ca579303e7
Merge pull request #8340 from tk0miya/8298_quickstart_no-sep_option
...
Fix #8298 : sphinx-quickstart: Add `sphinx-quickstart --no-sep` option
2020-10-27 23:55:40 +09:00
Takeshi KOMIYA
d17563987a
Update CHANGES for PR #8343
2020-10-27 23:55:12 +09:00