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
Takeshi KOMIYA
effc597cb5
Bump to 1.4.5 final
2016-07-13 21:20:14 +09:00
Takeshi KOMIYA
6e059fe697
Merge pull request #2767 from mixmastamyk/stable
...
Add default alt attribute for img tags in SVG format.
2016-07-09 11:49:27 +09:00
mixmastamyk
cd09b6c609
Fix #2763 , add default alt attribute to svg images
2016-07-08 18:30:41 -07:00
mixmastamyk
edfdd3ec78
Fix #2763 , add default alt attribute to svg images
...
Add uri as default alt attribute to images in svg format
2016-07-08 18:26:42 -07:00
Takeshi KOMIYA
3807eda6df
Merge pull request #2766 from silviot/stable
...
Make javascript search work in python 3
2016-07-08 23:08:35 +09:00
Silvio Tomatis
45473b3334
Make javascript search work in more contexts
...
The meaning of `\w` changed from python 2 to python 3.
> $ python3.5 -c "import re; print(re.compile(r'[a-zA-Z]\w*$').match(u'a\xe8'));"
> <_sre.SRE_Match object; span=(0, 2), match='aè'>
> python -c "import re; print(re.compile(r'[a-zA-Z]\w*$').match(u'a\xe8'));"
> None
but the definition of what's an acceptable javascript identifier should not vary from case to case.
2016-07-08 15:27:48 +02:00
Takeshi KOMIYA
11b0602769
Merge pull request #2742 from tk0miya/2667_WIDTH
...
Fix #2667 : latex crashes if resized images appeared in section title
2016-07-08 01:05:49 +09:00
Takeshi KOMIYA
7eca745b5c
Fix #2667 : latex crashes if resized images appeared in section title
2016-07-05 14:33:44 +09:00