Commit Graph

6665 Commits

Author SHA1 Message Date
Takeshi KOMIYA
0db59b677a Merge pull request #2806 from shibukawa/fix/epub3
Fix epub builder
2016-08-09 22:58:39 +09:00
Yoshiki Shibukawa
90b3c79895 fix html entity to fix epub error 2016-08-09 16:58:56 +09:00
Yoshiki Shibukawa
8f162a132e fix epub warning in Sphinx's document 2016-08-09 16:58:56 +09:00
Yoshiki Shibukawa
59ebeb7f1f fix epub3 toc.xhtml, epub date format to satisfy spec 2016-08-09 16:58:56 +09:00
Takeshi KOMIYA
511a0aaef7 Update CHANGES 2016-08-09 12:21:04 +09:00
Takeshi KOMIYA
96b3979d84 Update CHANGES for PR#1911 2016-08-08 00:29:29 +09:00
mulhern
189494c27e Make sure extensions specified with -D override extensions in config file.
Previously, a comma separated list of extensions was read and parsed
correctly. However, the value was then stored in config hashtable,
which was overwritten when the config file was parsed.

Now, the config file is parsed first, and the the entry in the config
hashtable is updated with the overriding extension, if it exists.

Signed-off-by: mulhern <amulhern@redhat.com>
2016-08-08 00:26:42 +09:00
Takeshi KOMIYA
83472acc97 Merge pull request #2833 from joostvanzwieten/fix-instance-annotations
ext.autodoc: fix formatting instance annotations
2016-08-08 00:23:33 +09:00
Joost van Zwieten
099b58f7fe ext.autodoc: fix formatting instance annotations
Currently `format_annotation` fails on instances, because instances don't have
`__module__` and `__qualname__` attributes.  Defer building the
`qualified_name` of an annotation until we have established that the annotation
is a type.
2016-08-07 16:18:22 +02:00
Takeshi KOMIYA
da7e2d9dda Merge pull request #2824 from EricFromCanada/stable
remove extra colons in C++ domain examples
2016-08-04 01:00:55 +09:00
Eric Knibbe
56ee02114a remove extra colons in C++ domain examples 2016-08-02 15:22:50 -04:00
Takeshi KOMIYA
0a03771791 Add Seaborn project to EXAMPLES (ref: #2814) 2016-07-28 11:54:08 +09:00
Takeshi KOMIYA
98ae8b62e9 Merge pull request #2809 from nijel/stable
Support gzip encoding in HEAD requests
2016-07-27 11:32:12 +09:00
Michal Čihař
a66c5811f8 Support any encoding in HEAD requests
Completely support would be more problematic and this already covers
most usual case.

Fixes #2775

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-26 09:30:03 +02:00
Takeshi KOMIYA
ac52486274 travis: Do not run flake8 on py26 (not supported) again 2016-07-26 14:11:05 +09:00
Takeshi KOMIYA
bac6fc6d04 travis: Do not run flake8 on py26 (not supported) 2016-07-26 14:00:38 +09:00
Takeshi KOMIYA
8e397d1334 Fix flake8 violation 2016-07-26 13:53:51 +09:00
Takeshi KOMIYA
15a251ec40 Merge pull request #2794 from shibukawa/fix/epub_dup_toc
Fix duplicated toc in epub3 output
2016-07-22 12:24:18 +09:00
Yoshiki Shibukawa
6e40e33780 Fix duplicated toc in epub3 output 2016-07-22 05:05:33 +09:00
Takeshi KOMIYA
8d1604628a Update CHANGES for PR#2778 2016-07-21 11:14:43 +09:00
Takeshi KOMIYA
ed70c71126 Merge pull request #2778 from LeoHuckvale/fix-abstractproperty-part2
fix inspect: return defargs[0] if obj.__dict__ is a property and raises exception
2016-07-21 11:12:34 +09:00
Takeshi KOMIYA
c698fab338 Merge pull request #2786 from shibukawa/fix/epub
Reduce epub checker warnings/errors for epub3 builder.
2016-07-20 23:30:59 +09:00
Takeshi KOMIYA
8d8e35a043 Merge pull request #2797 from shibukawa/fix/sphinxdoc
fix document download roles. download roles works only on html.
2016-07-20 23:24:38 +09:00
Yoshiki Shibukawa
b7b1ac1c4d add preferred instruction to download role description 2016-07-19 23:35:49 +09:00
Yoshiki Shibukawa
702004acfc fix document download roles. download roles works only on html. 2016-07-19 23:15:35 +09:00
Yoshiki Shibukawa
62ed395f5c suppress search feature on epub result 2016-07-18 22:59:17 +09:00
Leo Huckvale
4ad9d8b7cd Simplify try-except 2016-07-18 12:26:16 +01:00
Yoshiki Shibukawa
06a861703d Reduce epub checker warnings/errors for epub3 builder.
Fix DOCTYPE to html5 and change extension from .html to .xhtml.

Sphinx's documents result:

  before: 95 warnings& 1238 errors
  after: 623 errors
2016-07-17 09:53:04 +09:00
Takeshi KOMIYA
9916518fee Merge pull request #2782 from shibukawa/fix/make_clean
fix make clean abort when build dir contains files like .DS_Store.
2016-07-16 00:53:21 +09:00
Yoshiki Shibukawa
e9f5d96665 fix make clean abort when build dir contains files like .DS_Store. 2016-07-16 00:11:25 +09:00
Leo Huckvale
725599fa96 Refactor try-except clause 2016-07-15 09:21:48 +01:00
Leo Huckvale
fa89582d57 Fix tests for Python 2.6 2016-07-14 16:41:33 +01:00
Takeshi KOMIYA
736615c18c Optimized tests: remove markups for warnings 2016-07-15 00:30:44 +09:00
Leo Huckvale
e9ef60f8e5 Remove unused local variable for flake8 check 2016-07-14 15:32:06 +01:00
Takeshi KOMIYA
6686ebf158 Optimized tests: Add test-warnings 2016-07-14 23:12:57 +09:00
Leo Huckvale
670049c262 inspect: return defargs[0] if obj.__dict__ raises exception
The fallback implemented in #2731 cannot return `obj.__dict__[name]`
if the `__dict__` method has been redefined in such a way that it
raises an exception when trying to access it.

This commit adds a try-except block to work around this.
2016-07-14 14:13:06 +01:00
Takeshi KOMIYA
1dfa1a8d1e nose-timer: show top 25 slower testcases 2016-07-14 21:10:32 +09:00
Takeshi KOMIYA
13c63cb173 Optimize tests: test_get_items_summary 2016-07-14 21:07:33 +09:00
Takeshi KOMIYA
41f77d8152 Use applehelp_disable_external_tools on testing (for non MacOS) 2016-07-14 20:25:10 +09:00
Takeshi KOMIYA
2b6a83599d applehelp: Sphinx crashes if `hiutil or codesign` commands not found 2016-07-14 20:24:00 +09:00
Takeshi KOMIYA
47b33e93e5 Optimize tests: test_applehelp_output 2016-07-14 09:41:46 +09:00
Takeshi KOMIYA
b035094067 Optimize tests: test_ifconfig 2016-07-14 09:16:51 +09:00
Takeshi KOMIYA
f66208e939 Enable nose-timer on Travis CI (again) 2016-07-14 02:27:28 +09:00
Takeshi KOMIYA
d0adc44b90 Enable nose-timer on Travis CI 2016-07-14 02:08:56 +09:00
Takeshi KOMIYA
c23a59b70c Optimize tests: test_searchadapters 2016-07-14 02:02:25 +09:00
Takeshi KOMIYA
5492b9ebc7 Optimize tests: Remove test_i18n (duplicated with test_intl) 2016-07-14 01:45:55 +09:00
Takeshi KOMIYA
b95f450452 Optimize tests: test_jsmath 2016-07-14 01:43:25 +09:00
Takeshi KOMIYA
3fb439c476 Optimize tests: test_imgmath_png, test_imgmath_svg 2016-07-14 01:36:40 +09:00
Takeshi KOMIYA
edacbd56d1 Optimize tests: test_master_doc_not_found 2016-07-14 01:20:55 +09:00
Takeshi KOMIYA
e3fa9b7209 Bump version 2016-07-13 21:26:41 +09:00