Commit Graph

14508 Commits

Author SHA1 Message Date
Daniel Hahler
5955ad47e4 Ignore bdb.BdbQuit when handling exceptions
`bdb.BdbQuit` is used when quitting the debugger.
It should not a) cause the debugger to be started (with `-P` / `--pdb`),
and b) not a "crash" to be logged.

This helps when using `pdb.set_trace()` manually, and quitting it with
`q`.

It gets used in `build_main`, and `BuildDoc.run` (distutils command).
2020-03-10 10:51:56 +01:00
Takeshi KOMIYA
46b4f595ca
Merge pull request #7281 from rffontenelle/improve-strings
Improve strings
2020-03-10 01:51:18 +09:00
Takeshi KOMIYA
42be967b2d Merge branch '2.x' into 3.x 2020-03-10 01:14:39 +09:00
Takeshi KOMIYA
7fa4611887 Merge branch '2.4.x' into 2.x 2020-03-10 01:14:30 +09:00
Takeshi KOMIYA
4a1bf03233
Merge pull request #7288 from tk0miya/disable_codecov
test: Disable codecov
2020-03-10 01:13:45 +09:00
Takeshi KOMIYA
1dba84096d test: Disable codecov
To avoid the error of codecov on CI, this disables it temporarily.
2020-03-10 01:01:54 +09:00
Takeshi KOMIYA
f3c19e6cd7
Merge pull request #7285 from blueyed/intersphinx
Enable intersphinx with Sphinx's documentation
2020-03-10 00:22:39 +09:00
Takeshi KOMIYA
8bfc7f0eda
Merge pull request #7286 from blueyed/ci-codecov
Improve codecov integration
2020-03-09 23:48:49 +09:00
Takeshi KOMIYA
1dbc7f8b06
Merge pull request #7287 from blueyed/unpin-pytest
Unpin pytest
2020-03-09 23:36:41 +09:00
Daniel Hahler
d28b3a2ffe Fix warnings with Travis config
> Build config validation
> root: deprecated key sudo (The key `sudo` has no effect anymore.)
> jobs.include.node_js: unexpected sequence, using the first value (10.7)
> root: missing os, using the default linux
> root: key matrix is an alias for jobs, using jobs
2020-03-09 13:14:46 +01:00
Daniel Hahler
f50144a40b Unpin pytest
Was done in https://github.com/sphinx-doc/sphinx/pull/7037 to work
around a bug in 5.3.3.
2020-03-09 12:56:09 +01:00
Daniel Hahler
f09adc0af8 Enable patch status check for Codecov 2020-03-09 12:21:37 +01:00
Daniel Hahler
fbe48aa339 Disable comments from Codecov on CI
Fixes https://github.com/sphinx-doc/sphinx/issues/7279.
2020-03-09 12:20:45 +01:00
Daniel Hahler
6a396c7eb8 Enable intersphinx with Sphinx's documentation 2020-03-09 11:50:52 +01:00
Rafael Fontenelle
5bee0fc7e1 put comma between sentences 2020-03-08 21:47:11 -03:00
Rafael Fontenelle
e76b507309 build: start description lower-cased 2020-03-08 21:47:08 -03:00
Takeshi KOMIYA
6ef573acb9 Update CHANGES for PR #7278 2020-03-09 01:29:22 +09:00
Takeshi KOMIYA
fdd8955d12
Merge pull request #7278 from rdb/search-use-link-suffix
Fix use of html_file_suffix instead of html_link_suffix in search results
2020-03-09 01:28:22 +09:00
Takeshi KOMIYA
2b6f06b622 Update message catalog 2020-03-08 22:15:50 +09:00
Takeshi KOMIYA
7d46865ce7
Merge pull request #7268 from tk0miya/7079_autodoc_typehints_description
Close #7079: Make autodoc_typehints=description formal
2020-03-08 21:37:28 +09:00
rdb
a717ffec78 Fix use of html_file_suffix instead of html_link_suffix in search results 2020-03-08 09:53:51 +01:00
Takeshi KOMIYA
3f21fd6041
Merge branch '3.x' into 7079_autodoc_typehints_description 2020-03-08 15:08:47 +09:00
Takeshi KOMIYA
a73617c51b
Merge pull request #7275 from tk0miya/refactor_pydecorator
py domain: refactor PyDecoratorFunction and PyDecoratorMethod
2020-03-08 15:07:09 +09:00
Takeshi KOMIYA
d1a838cf81
Merge pull request #7271 from tk0miya/7246_drop_special_xref_helpers
Close #7246: Drop special cross reference helper for exceptions, functions and methods
2020-03-08 15:05:25 +09:00
Takeshi KOMIYA
6ba6f0eeb6
Merge pull request #7274 from tk0miya/7266_update_deprecation_message
Fix #7266: Update deprecation messages for PyClassmember and PyModulelevel
2020-03-08 11:21:20 +09:00
Takeshi KOMIYA
1a17138ef0
Merge pull request #7273 from tk0miya/7267_autodoc_wrong_location
Fix #7267: autodoc: errormsg for invalid directive options has wrong location
2020-03-08 11:19:58 +09:00
Takeshi KOMIYA
8e1934b6a1 Close #7246: Drop special cross reference helper for exceptions, functions and methods 2020-03-07 23:19:54 +09:00
Takeshi KOMIYA
372813a137
Merge pull request #7262 from tk0miya/testcase_for_py
test: Add testcase for special case of PythonDomain.find_obj()
2020-03-07 23:18:07 +09:00
Takeshi KOMIYA
d49bec1c67 py domain: Deprecate PyDecoratorMixin 2020-03-07 23:13:06 +09:00
Takeshi KOMIYA
3cadc82559 py domain: refactor PyDecoratorFunction and PyDecoratorMethod 2020-03-07 23:12:41 +09:00
Takeshi KOMIYA
dd455fe3d3 test: Add testcases for decorators 2020-03-07 23:05:26 +09:00
Takeshi KOMIYA
cfb9f8387b Fix #7266: Update deprecation messages for PyClassmember and PyModulelevel 2020-03-07 22:56:37 +09:00
Takeshi KOMIYA
8b5686d87c Fix #7267: autodoc: errormsg for invalid directive options has wrong location 2020-03-07 18:49:14 +09:00
Takeshi KOMIYA
d0decad04c
Merge pull request #7272 from tk0miya/update_CHANGES
Update CHANGES for #6903
2020-03-07 18:29:14 +09:00
Takeshi KOMIYA
a70da6b36a
Merge pull request #7234 from tk0miya/2815_singledispatch
Close #2815: autodoc: Support singledispatch functions and methods
2020-03-07 18:01:37 +09:00
Takeshi KOMIYA
ea329866b0 Update CHANGES for #6903 2020-03-07 18:01:16 +09:00
Takeshi KOMIYA
8f7cc26b20 autodoc: Support singledispatch methods 2020-03-07 17:50:10 +09:00
Takeshi KOMIYA
961b4d1545 Close #2815: autodoc: Support singledispatch functions 2020-03-07 17:50:10 +09:00
Takeshi KOMIYA
d517aa6c16 Close #7079: Make autodoc_typehints=description formal 2020-03-07 13:19:37 +09:00
Takeshi KOMIYA
0e89979355
Merge pull request #7265 from blueyed/rm-SPHINXPROJ
doc/{Makefile,make.bat}: remove unused SPHINXPROJ
2020-03-07 12:02:52 +09:00
Daniel Hahler
fbd111cfd1 doc/{Makefile,make.bat}: remove unused SPHINXPROJ
Appears to have been forgotten in f101bb661.
2020-03-07 03:43:49 +01:00
Takeshi KOMIYA
c8f81c0150 Merge branch '2.x' into 3.x 2020-03-07 09:57:01 +09:00
Takeshi KOMIYA
91cd2d43f0 Merge branch '2.4.x' into 2.x 2020-03-07 09:56:51 +09:00
Takeshi KOMIYA
5ab6d9e321
Merge pull request #7263 from blueyed/backport-6648
[2.4.x] Specify the target Python version in the mypy configuration
2020-03-07 09:55:32 +09:00
Jon Dufresne
354259ce0b [2.4.x] Specify the target Python version in the mypy configuration
Currently targets Python 3.5.

This caught a bug. The subprocess.run() function only started taking the
'encoding' keyword argument starting with Python 3.6.

(cherry picked from commit acb2eadc8e)

Conflicts:
	setup.cfg
2020-03-06 22:05:21 +01:00
Takeshi KOMIYA
d7cab2ebfa test: Add testcase for special case of PythonDomain.find_obj() 2020-03-07 02:18:10 +09:00
Takeshi KOMIYA
7652052bf8
Merge pull request #7254 from tk0miya/6895_suppress_builtin_nitpicky_warning
Fix #6895: py domain: Do not emit nitpicky warnings for built-in types
2020-03-07 02:12:50 +09:00
Takeshi KOMIYA
f329553a63
Merge pull request #7236 from tk0miya/refactor_py_domain2
py domain: Generate node_id for objects and modules in the right way
2020-03-07 02:08:54 +09:00
Takeshi KOMIYA
f13c546862 doc: Update docs 2020-03-07 02:00:50 +09:00
Takeshi KOMIYA
729efd28b0 py domain: Generate node_id for objects in the right way 2020-03-07 02:00:50 +09:00