Commit Graph

10054 Commits

Author SHA1 Message Date
adam-azarchs
6a2ec96c97 Fix error reporting for parameterless ImportErrors
In some cases, a module may raise an ImportError without any arguments, e.g.

if not_allowed():
    raise ImportError

In this case, the exception has no args.  This is bad practice, but it happens.

Currently, autodoc will crash with

IndexError: tuple index out of range
2018-02-20 12:22:47 -08:00
Takeshi KOMIYA
56fe1d0414
Merge pull request #4644 from tk0miya/4641_toctree_glob_and_url
Fix #4641: A external link in TOC cannot contain "?" with ``:glob:`` option
2018-02-20 01:50:54 +09:00
Takeshi KOMIYA
63f6603297
Merge pull request #4651 from tk0miya/fix_flake8_violations
Fix flake8 violations
2018-02-19 23:57:00 +09:00
Takeshi KOMIYA
d2b2cefe69
Merge pull request #4642 from tk0miya/4611_epubcheck
test: Run epubcheck as a testing
2018-02-19 23:31:35 +09:00
Takeshi KOMIYA
82c320ac29
Merge pull request #4647 from tk0miya/fix_markup
doc: Fix markup
2018-02-19 23:28:59 +09:00
Takeshi KOMIYA
07de0ed10b Fix #4641: A external link in TOC cannot contain "?" with `:glob:` option 2018-02-19 23:27:57 +09:00
Takeshi KOMIYA
f318cbe1e5
Merge pull request #4639 from tk0miya/4577_nested_enumlist
Fix #4577: Enumerated sublists with explicit start with wrong number
2018-02-19 23:26:52 +09:00
Takeshi KOMIYA
f7027049b1 Fix flake8 violations 2018-02-19 23:20:56 +09:00
Takeshi KOMIYA
e0a74a3f40
Merge branch '1.7' into 4577_nested_enumlist 2018-02-19 22:48:54 +09:00
Takeshi KOMIYA
bce5fe76b5
Merge pull request #4637 from tk0miya/4563_extract_summary
Fix #4563: autosummary: Incorrect end of line punctuation detection
2018-02-19 22:45:21 +09:00
Takeshi KOMIYA
d40db5efa2 Fix #4563: autosummary: Incorrect end of line punctuation detection 2018-02-19 14:42:19 +09:00
Takeshi KOMIYA
20613edc03 refactor: Add extract_summary() for easily testing 2018-02-19 14:40:39 +09:00
Takeshi KOMIYA
9b0bf85c93 Update CHANGES for PR #4634 2018-02-19 10:49:54 +09:00
Takeshi KOMIYA
55f6400d50
Merge pull request #4634 from cocoatomo/detereministic-order-sphinxpot
Fix #4630: Have order on msgids in sphinx.pot deterministic
2018-02-19 10:48:44 +09:00
cocoatomo
f3d13d9ce7 Fix the dirname for testing files 2018-02-19 09:51:30 +09:00
cocoatomo
97463fd07e Suppress a flake8 warning (E501) 2018-02-19 09:20:04 +09:00
cocoatomo
536fee9e83 Fix indentation violation (flake8 E114) 2018-02-19 08:57:19 +09:00
cocoatomo
07d2cdd47b Add a testcase for deterministic msgid order 2018-02-19 08:57:19 +09:00
cocoatomo
582c829fa8 Have order on msgids in sphinx.pot deterministic 2018-02-19 08:57:19 +09:00
Takeshi KOMIYA
2523979d26 test: Run epubcheck as a testing 2018-02-19 00:27:45 +09:00
Takeshi KOMIYA
8e73cbca52 Fix ImportError 2018-02-18 21:15:03 +09:00
Takeshi KOMIYA
f51b644f39 Use typing.TYPE_CHECKING 2018-02-18 18:08:31 +09:00
Takeshi KOMIYA
20e06a2a3d
Merge pull request #4636 from tk0miya/compat_autosummary
autosummary: Fix compatibility of get_documenter() API (refs: #4366)
2018-02-18 18:03:32 +09:00
Takeshi KOMIYA
070c1b294a Adjust .codecov.yml 2018-02-18 17:34:41 +09:00
Takeshi KOMIYA
364c6735e6
Merge branch '1.7' into compat_autosummary 2018-02-18 17:32:37 +09:00
Takeshi KOMIYA
c8dbf60226
Merge pull request #4624 from tk0miya/4623_sphinx.build_main
Fix #4623: sphinx.build_main no longer exists in 1.7.0
2018-02-18 17:31:12 +09:00
Takeshi KOMIYA
6beab9c5a4 Fix #4577: Enumerated sublists with explicit start with wrong number 2018-02-18 17:29:17 +09:00
Takeshi KOMIYA
2d640f99e0
Merge branch '1.7' into 4623_sphinx.build_main 2018-02-18 17:15:32 +09:00
Takeshi KOMIYA
e9003ac07e doc: Fix markup 2018-02-18 12:40:46 +09:00
Takeshi KOMIYA
97a7017d19
Merge pull request #4626 from tk0miya/update_release_checklist
docs: Use literal for commands
2018-02-18 12:25:38 +09:00
Takeshi KOMIYA
a9ecb190a7 autosummary: Fix compatibility of get_documenter() API (refs: #4366) 2018-02-17 23:26:28 +09:00
Takeshi KOMIYA
95381b3889
Merge pull request #4621 from tk0miya/4617_quickstart_argument_required
Fix #4617: quickstart: PROJECT_DIR argument is required
2018-02-17 15:24:07 +09:00
Takeshi KOMIYA
fe96c22f7d
Merge pull request #4616 from tk0miya/use_typing.TYPE_CHECKING
Use typing.type checking
2018-02-17 14:47:22 +09:00
Takeshi KOMIYA
27d51cb406
Merge branch '1.7' into 4617_quickstart_argument_required 2018-02-17 14:45:34 +09:00
Takeshi KOMIYA
4f0a652af1
Merge pull request #4629 from tk0miya/setup_codecov
test: allows to drop 0.05% coverages
2018-02-17 14:44:21 +09:00
Takeshi KOMIYA
08158bf804 Fix CHANGES for PR #4627 2018-02-17 10:07:28 +09:00
Roman Kapl
675b8fe48f Fit graphviz images to page.
Use \sphinxincludegraphics, that's what the core image directives use
and it handles fitting properly.
2018-02-17 10:07:00 +09:00
Takeshi KOMIYA
fd763cb85c Load sub packages lazily on sphinx/__init__.py 2018-02-17 00:42:38 +09:00
Takeshi KOMIYA
ec8226daa7
Merge pull request #4612 from tk0miya/optimize_latex_testcase
Use roots/basic for test_latex_logo_if_not_found
2018-02-17 00:25:32 +09:00
Takeshi KOMIYA
1d311b3b5c test: allows to drop 0.05% coverages 2018-02-17 00:16:42 +09:00
Takeshi KOMIYA
b2e18a08e9 Update CHANGES for PR #4622 2018-02-16 21:42:24 +09:00
Takeshi KOMIYA
bc96017a34
Merge pull request #4622 from turky/master
key changes to 'scheme' in epub3 opf template
2018-02-16 21:41:22 +09:00
Takeshi KOMIYA
a721b32d51 docs: Use literal for commands 2018-02-16 21:40:07 +09:00
Akihiro Takizawa
dc4cb0765c restore deleted id attribute in dc.identifier element 2018-02-16 11:09:06 +09:00
Akihiro Takizawa
8a3f485e59 restore deleted id attribute in dc.identifier element 2018-02-16 10:31:50 +09:00
Akihiro Takizawa
11f543445a fix dc.identifier element using opf:scheme in sphinx/templates/epub3/content.opf_t 2018-02-16 09:37:00 +09:00
Takeshi KOMIYA
b5bae235f2 Fix #4615: The argument of `sphinx.build` has been changed in 1.7.0 2018-02-16 02:08:56 +09:00
Takeshi KOMIYA
911f74f467 Fix #4623: sphinx.build_main no longer exists in 1.7.0 2018-02-16 02:08:39 +09:00
Akihiro Takizawa
3efc8e957a key changes to scheme in epub3 opf template 2018-02-15 14:28:55 +09:00
Takeshi KOMIYA
01da85fbe2 Fix #4617: quickstart: PROJECT_DIR argument is required 2018-02-15 01:57:26 +09:00