Commit Graph

10250 Commits

Author SHA1 Message Date
Takeshi KOMIYA
91315ab354 Update CHANGES for PR #4508 2018-01-28 21:05:27 +09:00
Takeshi KOMIYA
4b89d5900a
Merge pull request #4510 from tk0miya/4275_update_strftime
Fix #4275: Formats accepted by sphinx.util.i18n.format_date are limite
2018-01-28 21:04:23 +09:00
Takeshi KOMIYA
3cdb3da2df
Merge branch '1.7-release' into 4275_update_strftime 2018-01-28 20:13:35 +09:00
Takeshi KOMIYA
ee928efb62
Merge pull request #4511 from tk0miya/3952_rst_too_escaped
Fix #3952: apidoc: module header is too escaped
2018-01-28 20:12:24 +09:00
Takeshi KOMIYA
6ae256bd97
Merge pull request #4463 from tk0miya/drop_rst2pdf_support
Drop special support for rst2pdf
2018-01-28 20:10:58 +09:00
Takeshi KOMIYA
922d0df286
Merge branch '1.7-release' into 3952_rst_too_escaped 2018-01-28 19:24:06 +09:00
Takeshi KOMIYA
686de7dfff
Merge branch 'master' into drop_rst2pdf_support 2018-01-28 19:23:18 +09:00
Takeshi KOMIYA
fbae0ad3f7
Merge pull request #4509 from tk0miya/give_paths_option_to_flake8
Give local-plugins.paths option to flake8
2018-01-28 19:04:15 +09:00
Takeshi KOMIYA
fa5d9f21e2
Merge pull request #4508 from tk0miya/stop_utils_package_leak
Stop utils package leak
2018-01-28 19:03:56 +09:00
Takeshi KOMIYA
6926a3ed91
Merge branch '1.7-release' into use_flake8-import-order 2018-01-28 19:03:31 +09:00
Takeshi KOMIYA
321b3d49cb Fix #3952: apidoc: module header is too escaped 2018-01-28 18:58:58 +09:00
Takeshi KOMIYA
f3812b0d18 Fix #4275: Formats accepted by sphinx.util.i18n.format_date are limite 2018-01-28 17:22:41 +09:00
Takeshi KOMIYA
41d99d3627 Give local-plugins.paths option to flake8
It will be available on flake8-3.5.0+.
(see https://gitlab.com/pycqa/flake8/issues/379)
2018-01-28 15:22:11 +09:00
Takeshi KOMIYA
d60ef2d6b2 Fix utils package is installed 2018-01-28 15:11:59 +09:00
Takeshi KOMIYA
01caa52355
Merge pull request #4498 from stephenfin/issue/4492
Don't install flake8 plugin globally
2018-01-28 13:23:51 +09:00
Takeshi KOMIYA
f43d8afade
Merge pull request #4502 from tk0miya/4490_format_annotation_for_py37
Fix #4490: autodoc: type annotation is broken with python 3.7.0a4+
2018-01-28 02:10:05 +09:00
Takeshi KOMIYA
10ad257780
Merge branch '1.7-release' into 4490_format_annotation_for_py37 2018-01-28 02:09:57 +09:00
Takeshi KOMIYA
dcbebb1286
Merge pull request #4504 from tk0miya/3917_smartquotes_for_citation_labels
Fix #3917: citation labels are tranformed to ellipsis
2018-01-28 02:08:32 +09:00
Takeshi KOMIYA
9f5c676322 Use flake8-import-order 2018-01-28 01:52:16 +09:00
Takeshi KOMIYA
8f2540d4d2 Merge branch '1.7-release' 2018-01-28 00:18:48 +09:00
Takeshi KOMIYA
af25fa123d Merge branch 'stable' into 1.7-release 2018-01-28 00:18:33 +09:00
Takeshi KOMIYA
3fde14929b Fix #3917: citation labels are tranformed to ellipsis 2018-01-27 23:23:59 +09:00
Takeshi KOMIYA
6897b80fc4 Update CHANGES for PR #4491 2018-01-27 22:08:54 +09:00
Takeshi KOMIYA
6a0e83904a
Merge pull request #4491 from Emantor/fix/autodoc_mock_importer
autodoc: prefer _MockImporter over other importers in sys.meta_path
2018-01-27 22:05:30 +09:00
Rouven Czerwinski
bcdea4da5c autodoc: prefer _MockImporter over other importers in sys.path
In case we want to mock modules which are actually available in the current
environment, we need to add the _MockImporter before other importers. We ran
into this problem in our application, where importing the existing modules
caused side effects which were not fixed by autodoc_mock_imports.
2018-01-27 13:51:00 +01:00
Takeshi KOMIYA
fd2425238e Fix #4490: autodoc: type annotation is broken with python 3.7.0a4+ 2018-01-27 12:26:53 +09:00
Stephen Finucane
f3074d1747 setup: Configure flake8 extension as a local plugin
We don't want to install this as a system plugin. Now that flake8 3.5.0
is in the wild, we can use this.

Signed-off-by: Stephen Finucane <stephen@that.guru>
Fixes: #4492
2018-01-26 09:41:50 +00:00
Takeshi KOMIYA
53096a35d8 doc: Fix typo 2018-01-26 01:29:52 +09:00
Takeshi KOMIYA
5cdec60c26 Fix KeysView object does not support indexing in py3 2018-01-25 10:53:44 +09:00
Takeshi KOMIYA
2be87e4851 Fix mypy violation 2018-01-25 10:51:04 +09:00
Takeshi KOMIYA
2b56d70423
Merge pull request #4485 from tk0miya/drop_hack_for_py31
Drop a hack for py31
2018-01-25 10:45:49 +09:00
Takeshi KOMIYA
32c5e8346f Close #4460: extensions should return the version of data structure as metadata 2018-01-25 02:04:22 +09:00
Takeshi KOMIYA
ae294d39d1 Add register.add_source_suffix() 2018-01-25 02:03:56 +09:00
Takeshi KOMIYA
3047fdbbf4 Move get_filetype() to sphinx.io 2018-01-25 02:03:56 +09:00
Takeshi KOMIYA
2b6c8b33be Fix all files are treated as reST if old styled source_suffix used 2018-01-25 02:03:56 +09:00
Takeshi KOMIYA
0cdd9ee72a Integrate source_suffix and source_parsers (refs: #4474) 2018-01-25 02:03:56 +09:00
Takeshi KOMIYA
69f69628ed :confval:source_suffix allows a mapping fileext to file types 2018-01-25 02:03:56 +09:00
Takeshi KOMIYA
bece0484e5 source_parsers should fill Parser.supported attribute to let Sphinx know supported formats 2018-01-25 02:03:56 +09:00
Takeshi KOMIYA
dc45877d3c Deprecate config value: source_parsers 2018-01-25 02:03:56 +09:00
Takeshi KOMIYA
3b42c8e06c Drop a hack for py31 2018-01-25 02:02:54 +09:00
Takeshi KOMIYA
f886f08cb2 Merge branch '1.7-release' 2018-01-25 02:02:15 +09:00
Takeshi KOMIYA
376b6a597d
Merge pull request #4489 from tk0miya/1.7-release
workaround for typing module in py370a4+
2018-01-25 02:02:04 +09:00
Takeshi KOMIYA
0a82ba00b5 Fix packaging module can't handle 3.7.0a4+ correctly 2018-01-25 01:44:24 +09:00
Takeshi KOMIYA
b6efff7990 Update CHANGS for PR #4449 2018-01-25 01:18:02 +09:00
Takeshi KOMIYA
068bbb1b8a
Merge pull request #4449 from dhellmann/stable-fix-autodoc-for-empty-packages
fix ext.apidoc to include "empty" packages that contain modules
2018-01-25 01:15:36 +09:00
Takeshi KOMIYA
af96f79456
Merge pull request #4480 from tk0miya/4477_invalid_buildinfo_file
Fix #4477: Build fails after building specific files
2018-01-25 01:14:26 +09:00
Takeshi KOMIYA
e01d076443 Fix Signature does not work correctly with py37a4+ 2018-01-25 00:56:26 +09:00
Takeshi KOMIYA
9340a45393 test: Don't use os.errno. Use errno directly 2018-01-25 00:48:37 +09:00
Takeshi KOMIYA
f779fa7ad6 Merge branch 'stable' into 1.7-release 2018-01-25 00:40:21 +09:00
Takeshi KOMIYA
467c2d7cb7 Merge branch 'stable' into 4477_invalid_buildinfo_file 2018-01-25 00:38:03 +09:00