Takeshi KOMIYA
954db2bd27
Merge branch '2.0'
2020-02-16 21:42:20 +09:00
Takeshi KOMIYA
e9c165fa55
Merge branch '2.4.2' into 2.0
2020-02-16 21:41:47 +09:00
Takeshi KOMIYA
7e79822355
Remove testscases for getargspec() (deprecated)
2020-02-16 21:22:23 +09:00
Takeshi KOMIYA
39a192be2c
Merge branch '2.4.2' into 7161_autodoc.typhints_parallel_build
2020-02-16 21:20:41 +09:00
Takeshi KOMIYA
9f237445bd
Merge pull request #7158 from tk0miya/7151_env.indexentries_setter
...
Fix #7151 : crashed when extension assigns a value to env.indexentries
2020-02-16 21:19:45 +09:00
Takeshi KOMIYA
79b3aca406
refactor: Update type annotations in sphinx.ext.*
2020-02-16 20:47:08 +09:00
Takeshi KOMIYA
a71c6824e8
Merge branch '2.4.2' into 7151_env.indexentries_setter
2020-02-16 20:45:58 +09:00
Takeshi KOMIYA
0e2e31a612
test: Fix ResourceWarning
2020-02-16 20:44:38 +09:00
Takeshi KOMIYA
ccd7381d38
test: Use Path.read_text() instead
2020-02-16 20:43:51 +09:00
Takeshi KOMIYA
57d63ab50b
test: testcase for add_lexer() should give a Lexer class instead of instance
2020-02-16 20:42:43 +09:00
Takeshi KOMIYA
a70c76c474
Remove a testcase for get_module_source() (deprecated)
2020-02-16 20:40:15 +09:00
Takeshi KOMIYA
301a7e7a81
Update CHANGES for PR #7152
2020-02-16 20:38:05 +09:00
Takeshi KOMIYA
b80c7cd234
Merge pull request #7152 from gpotter2/elipsispatch
...
Fix #7146 : support (...) in type hint comments (V2)
2020-02-16 20:35:40 +09:00
Takeshi KOMIYA
68e248fa73
Fix #7161 : autodoc: typehints extension does not support parallel build
2020-02-16 20:27:51 +09:00
Takeshi KOMIYA
151b4afde2
Fix #7151 : crashed when extension assigns a value to `env.indexentries
`
2020-02-16 20:22:50 +09:00
Takeshi KOMIYA
81964e036b
Merge pull request #7128 from tk0miya/refactor_type_annotation2
...
refactor: Update type annotations in sphinx.util.*
2020-02-16 20:18:34 +09:00
gpotter2
016bdd204c
Mypy fixes
2020-02-16 11:15:23 +00:00
gpotter2
1d95ee936c
Remove unused enumerate
2020-02-16 09:13:30 +00:00
Takeshi KOMIYA
1339948dce
Merge pull request #7157 from tk0miya/7156_kwonlyargs_sep
...
Fix #7156 : autodoc: separator for keyword only arguments is not shown
2020-02-16 18:11:48 +09:00
Takeshi KOMIYA
be608ca231
Merge pull request #7123 from tk0miya/7108_ConfigError_in_conf.py
...
Close #7108 : Allow to show an error message from conf.py via ConfigError
2020-02-16 17:56:46 +09:00
Takeshi KOMIYA
ecae46027a
refactor: Update type annotations in sphinx.util.*
2020-02-16 17:52:23 +09:00
Takeshi KOMIYA
b4b971c76f
Merge pull request #7153 from tk0miya/refactor_js_domain
...
test: Add testcase for js domain
2020-02-16 17:48:48 +09:00
Takeshi KOMIYA
98d24464f1
refactor: Support suppressed type_comment (refs: #7152 )
2020-02-16 17:32:21 +09:00
Takeshi KOMIYA
76b492aa98
py domain: Support lambda functions in function signature
2020-02-16 12:57:14 +09:00
Takeshi KOMIYA
c4d7f4d6c8
py domain: Use AST parser to convert signature to doctree
2020-02-16 01:52:04 +09:00
Takeshi KOMIYA
822625d14c
Add sphinx.util.inspect:signature_from_str()
2020-02-16 01:43:13 +09:00
Takeshi KOMIYA
cd8f3a78d9
Fix #7156 : autodoc: separator for keyword only arguments is not shown
2020-02-16 01:37:23 +09:00
gpotter2
51b80ab121
Fix #7146
2020-02-14 16:12:12 +00:00
Takeshi KOMIYA
9409db0771
Deprecate sphinx.parsers.Parser.app
2020-02-15 00:39:34 +09:00
Takeshi KOMIYA
8576e97e34
Merge pull request #7150 from tk0miya/deprecate_getargspec
...
Deprecate sphinx.util.inspect.getargspec()
2020-02-15 00:35:56 +09:00
Takeshi KOMIYA
dc33b6ef82
test: Add testcase for js domain
2020-02-15 00:35:09 +09:00
Takeshi KOMIYA
baf4c7df23
Deprecate sphinx.util.inspect.getargspec()
2020-02-14 12:08:52 +09:00
Takeshi KOMIYA
2e89b66e7a
Merge pull request #7149 from tk0miya/restart_test_with_nightly
...
Revert "Stop to test with nightly python"
2020-02-14 11:39:25 +09:00
Takeshi KOMIYA
30ff35acc0
Revert "Stop to test with nightly python"
...
This reverts commit 21ea6838d9
.
2020-02-14 10:49:14 +09:00
Takeshi KOMIYA
14e69c21ed
Merge pull request #7148 from simonw/patch-1
...
Update copyright for 2020
2020-02-14 10:47:10 +09:00
Simon Willison
9b38e87468
Update copyright for 2020
2020-02-13 14:59:13 -08:00
Takeshi KOMIYA
67abd960ed
Merge pull request #7141 from tk0miya/7318_typehints_crashed_by_unboundobj
...
Fix #7138 : autodoc: crashed when variable has unbound object
2020-02-14 01:03:08 +09:00
Takeshi KOMIYA
f2ec4bfeb7
Merge pull request #7127 from tk0miya/convert_builders.html_to_package
...
refactor: convert builders.html to a python package
2020-02-14 01:02:37 +09:00
Takeshi KOMIYA
954923fe83
Merge pull request #7140 from tk0miya/7139_code_block_guess
...
Fix #7139 : ``code-block:: guess`` does not work
2020-02-14 01:01:22 +09:00
Septatrix
9e38d3999e
Replace f-strings with percent syntax
2020-02-13 02:38:12 +01:00
Septatrix
5614f6f60a
Fix default value for html_aux_pygments_styles
2020-02-13 02:02:58 +01:00
Septatrix
06a5d6e563
Add option for auxiliary pygments styles
2020-02-12 23:28:34 +01:00
Wes Turner
fd94270f1c
ENH: linkcheck: also write all links to output.json
...
* TST: linkcheck: make tests more flexible
* CLN: linkcheck: flake8, mypy
* REF: linkcheck: docpath->filename, write_jsonline->write_linkstat
* REF: linkcheck: remove redundant call to doc2path
* TST: linkcheck: show JSON obj structure in test
* REF: linkcheck: remove docname from JSON obj because it's redundant (use path2doc(filename) if necessary)
* TST: linkcheck: don't test row[info] output (see comments for examples)
2020-02-12 16:29:26 -05:00
Takeshi KOMIYA
7d7f1958f5
Fix #7138 : autodoc: crashed when variable has unbound object
2020-02-13 00:20:31 +09:00
Takeshi KOMIYA
9702f0ae61
Fix #7139 : `code-block:: guess
` does not work
2020-02-12 23:50:48 +09:00
Takeshi KOMIYA
5018422db3
Merge pull request #7136 from tk0miya/5673_nested_classes
...
Fix incorrect handling of nested class names
2020-02-12 01:58:42 +09:00
Takeshi KOMIYA
bc85f5a12c
Update CHANGES for PR #5673
2020-02-12 01:45:25 +09:00
Takeshi KOMIYA
c5f0025ed9
Merge branch 'master' into 5637
2020-02-12 01:42:05 +09:00
Takeshi KOMIYA
2737691212
pretty style fix
2020-02-12 01:39:13 +09:00
Takeshi KOMIYA
4c56beb5fe
Merge pull request #7129 from westurner/tox_cfg
...
BLD: tox.ini: flake8: add whitelist_externals for latest tox instead of adding dep, pass posargs through
2020-02-12 00:50:06 +09:00