Commit Graph

9982 Commits

Author SHA1 Message Date
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
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
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
Takeshi KOMIYA
78434992f7
Merge pull request #4488 from tk0miya/workaround_for_py37a4+
test: Add workaround for python 3.7.0a4+
2018-01-25 00:37:23 +09:00
Takeshi KOMIYA
ded638c82b test: Add workaround for python 3.7.0a4+
Since 3.7.0a+, the behavior of typing module has been changed.
As a result, format_annotation() also has been changed.
2018-01-25 00:02:49 +09:00
Takeshi KOMIYA
1591607481 Fix #4477: Build fails after building specific files 2018-01-24 21:28:06 +09:00
Doug Hellmann
83f30712b8 fix ext.apidoc to include "empty" packages that contain modules
Commit 2d99648e99 changed the apidoc
extension to ignore packages if the __init__.py file was empty. That
breaks the toctree structure if those packages do contain submodules
and subpackages. This patch adds a check to ensure that empty
__init__.py modules are only skipped if there are no other python
modules in the same directory.

Addresses bug #654

Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-01-23 14:21:03 -05:00
Takeshi KOMIYA
24a4eab038
Merge pull request #4473 from tk0miya/4472_lost_documentation_options
Fix #4472: DOCUMENTATION_OPTIONS is not defined
2018-01-21 22:11:56 +09:00
Takeshi KOMIYA
0e5934b9ff Fix #4472: DOCUMENTATION_OPTIONS is not defined 2018-01-21 21:02:07 +09:00
Takeshi KOMIYA
91873f09b8 Merge branch 'stable' into 1.7-release 2018-01-21 16:06:14 +09:00
Takeshi KOMIYA
8b0e088711
Merge pull request #4425 from tk0miya/sphinx-build-set-proc-count-to-cpu-count
sphinx-build: Add support for "-j auto"
2018-01-21 16:05:00 +09:00
Takeshi KOMIYA
eaa44779d5
Merge branch '1.7-release' into sphinx-build-set-proc-count-to-cpu-count 2018-01-21 15:43:17 +09:00
Takeshi KOMIYA
a924fc13b4 Update CHANGES for PR #4467 2018-01-21 13:20:16 +09:00
Aaron Carlisle
e77ca75103 Update test file 2018-01-21 13:18:29 +09:00
Aaron Carlisle
ccd70c3b89 Update scrolls theme 2018-01-21 13:18:29 +09:00
Aaron Carlisle
ade1a49ed1 Themes: Rename 'csss' block to 'css'
Was a mistake in 618ef6492c
2018-01-21 13:18:29 +09:00
Takeshi KOMIYA
e114adc53f
Merge pull request #4471 from stephenfin/issue/4470
sphinx: Call 'sphinx.cmd.build.main' function
2018-01-21 12:05:21 +09:00
Stephen Finucane
ecbe08d467 sphinx: Call 'sphinx.cmd.build.main' function
This was missed in commit '89f9c7cab'.

Signed-off-by: Stephen Finucane <stephen@that.guru>
Fixes: #4470
2018-01-20 23:19:38 +00:00
Takeshi KOMIYA
38966ba89d
Merge pull request #4461 from tk0miya/4434_number_label_is_considered_as_invalid
Fix #4434: pure numbers as link targets produce warning
2018-01-20 20:20:21 +09:00
Takeshi KOMIYA
896ab3a2f5 Fix #4434: pure numbers as link targets produce warning 2018-01-20 19:43:43 +09:00
jfbu
d2d31e2e7d Fix failed latex test after merge 2018-01-20 10:48:27 +01:00
jfbu
02ee4ec86b Merge branch 'stable' into 1.7-release 2018-01-20 10:38:03 +01:00
Jean-François B
d3058f462d
Merge pull request #4452 from jfbu/4431_fix
Fix "Undefined control sequence \\hlineSomeText" (#4431; refs: #3435)
2018-01-20 10:23:03 +01:00
Takeshi KOMIYA
fa215ea341
Merge pull request #4184 from skirpichev/fix-2437
autodoc: make full reference for classes, aliased with "alias of"
2018-01-20 17:08:34 +09:00
Takeshi KOMIYA
e8da18d88d
Merge pull request #4458 from tk0miya/refactor_i18n_reader
Drop unused method; LoggingReporter.set_source()
2018-01-20 16:59:19 +09:00
Takeshi KOMIYA
158d98cc1e Fix flake8 violation 2018-01-20 16:18:38 +09:00
Takeshi KOMIYA
a78f66a1d3
Merge branch 'stable' into fix-2437 2018-01-20 16:16:20 +09:00
Takeshi KOMIYA
fda7c88ec3 Drop unused method; LoggingReporter.set_source() 2018-01-20 16:09:15 +09:00