Commit Graph

14444 Commits

Author SHA1 Message Date
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
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
Takeshi KOMIYA
d1a24a329d Merge branch '2.0' 2020-02-11 23:13:09 +09:00
Takeshi KOMIYA
64f7dd2379 Merge branch '2.4.1' into 2.0 2020-02-11 23:12:07 +09:00
Takeshi KOMIYA
0457e2e161 Bump version 2020-02-11 23:11:30 +09:00
Takeshi KOMIYA
5b47df9ebf Bump to 2.4.1 final 2020-02-11 23:09:36 +09:00
Takeshi KOMIYA
34da0e4539
Merge pull request #7130 from tk0miya/7126_autodoc_TypeError
Fix #7126: autodoc: TypeError: getset_descriptor object is not iterable
2020-02-11 19:58:31 +09:00
Takeshi KOMIYA
b9076da050
Merge pull request #7132 from tk0miya/stop_testing_with_nightly
Stop to test with nightly python
2020-02-11 19:57:58 +09:00
Takeshi KOMIYA
21ea6838d9 Stop to test with nightly python
It seems nightly python image on Travis CI has broken now.  This
stops to test with it temporarily to make our development keep going.
https://travis-ci.community/t/python-development-versions-no-longer-include-pip/7180
2020-02-11 19:47:59 +09:00
Takeshi KOMIYA
5679620253 Fix #7126: autodoc: TypeError: getset_descriptor object is not iterable 2020-02-11 11:08:36 +09:00
Takeshi KOMIYA
0eb3d65e47
Merge pull request #7122 from tk0miya/7120_scaling_svg
Fix #7120: html: crashed when on scaling SVG images which have float dimentions
2020-02-11 11:07:20 +09:00
Wes Turner
b2b6d240a7 BLD: tox.ini: flake8: add whitelist_externals for latest tox instead of adding dep, pass posargs through 2020-02-10 17:25:54 -05:00
Takeshi KOMIYA
76b747962c refactor: convert builders.html to a python package 2020-02-11 01:21:40 +09:00
Takeshi KOMIYA
0adf058916
Merge pull request #7125 from nealmcb/patch-1
Clarify documentation on use of doctest extension
2020-02-11 00:48:52 +09:00
Neal McBurnett
b620a8a6cc
Fix typos
bad quoting, better word usage.
2020-02-09 19:12:52 -07:00
Neal McBurnett
9b125cf8e9
Clarify documentation on use of doctest extension
When I first read this section, I was mightily confused due to lack of context and the use of the passive voice.
I think this phrasing clarifies the context and indicates more clearly what the documentation author does
vs what the doctest extension and builder do.
But I'm a newbie here, so please ensure that I got this right....
2020-02-09 16:59:39 -07:00
Takeshi KOMIYA
da64e5bdfa Close #7108: Allow to show an error message from conf.py via ConfigError 2020-02-10 01:14:45 +09:00
Sviatoslav Sydorenko
a85e9234d2 Replace question issue placeholder with a button
Ref: https://help.github.com/en/github/building-a-strong-community/configuring-issue-templates-for-your-repository#configuring-the-template-chooser
2020-02-10 00:43:41 +09:00
Takeshi KOMIYA
6cdc09272e Fix #7120: html: crashed when on scaling SVG images which have float dimentions 2020-02-09 22:22:27 +09:00
Takeshi KOMIYA
f8eb830450 Renaming stable branch to A.x 2020-02-09 20:28:23 +09:00
Takeshi KOMIYA
6e0119526a Merge branch '2.0' 2020-02-09 16:21:32 +09:00
Takeshi KOMIYA
c86e17d4be Bump version 2020-02-09 16:19:50 +09:00
Takeshi KOMIYA
a72135c454 Bump to 2.4.0 final 2020-02-09 16:17:10 +09:00
Takeshi KOMIYA
5aaf3749f1 Update CHANGES: merge 2.3.2 changes into 2.4.0 2020-02-09 15:30:15 +09:00
Takeshi KOMIYA
a17ad5cd39 Merge branch '2.3.2' into 2.0 2020-02-09 15:29:10 +09:00
Takeshi KOMIYA
d07985ed85
Merge pull request #7114 from tk0miya/7112_svg_not_floated
Fix #7112: html: SVG image is not layouted as float even if aligned
2020-02-09 15:26:49 +09:00
Takeshi KOMIYA
89e316997b
Merge pull request #7116 from tk0miya/7115_override_LATEXMKOPTS
Close #7115: LaTeX: Allow to override LATEXOPTS and LATEXMKOPTS via envvars
2020-02-09 15:19:15 +09:00