Commit Graph

7053 Commits

Author SHA1 Message Date
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
Yoshiki Shibukawa
b600eb64b0 fix #2352 (qthelp builder should have ) and improve qthelp readability
by using new ``nonav`` theme.
2016-07-13 22:56:58 +09:00
Takeshi KOMIYA
1dd249dd8d Merge branch 'stable' 2016-07-13 21:29:47 +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
6ad35e53f6 Merge pull request #2773 from shibukawa/update/jquery
Fix #2634 (Update jquery to latest from 1.x)
2016-07-13 15:15:20 +09:00
Yoshiki Shibukawa
3cbd84346e Fix #2634 (Update jquery to latest from 1.x) 2016-07-13 14:58:52 +09:00
Takeshi KOMIYA
b58b6014c9 Merge pull request #2621 from TimKam/fix-stemming-removes-short-words-from-search-results
Fix: stemming removes short words from search results
2016-07-12 14:05:41 +09:00
Takeshi KOMIYA
1cabc17edb Remove sphinx version from the filename of compiled grammar files
Now sphinx bundles the compiled grammar files.  Then it will be replaced
on upgrading sphinx.  So the sphinx version is not needed on its
filename.
2016-07-12 12:15:46 +09:00
Takeshi KOMIYA
2ccb75c98f Bundle sphinx/pycode/Grammar-*.pickle (ref: #2765)
So far, sphinx generates the grammar files on demand.
It causes uninstallation does not remove whole of files.
With this fix, Sphinx bundles the files in the package.
2016-07-12 12:15:12 +09:00
Takeshi KOMIYA
e1e82e43c9 Load some library lazily on sphinx.util to lessen dependency 2016-07-12 12:03:57 +09:00
Timotheus Kampik
05ad82ffa8 Merge branch 'master' into fix-stemming-removes-short-words-from-search-results 2016-07-10 11:44:35 +02: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
bd715c8155 Remove debug print 2016-07-09 01:05:37 +09:00
Takeshi KOMIYA
4fbcb5bfd6 math: Add hyperlink marker to each equations in HTML output 2016-07-09 00:22:03 +09: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
b21ba65873 Merge pull request #2759 from scop/optimize-images
Optimize images
2016-07-08 22:00:19 +09:00
Takeshi KOMIYA
234955a3ff Merge pull request #2746 from tk0miya/check_config_value_as_enum
Add sphinx.config.ENUM to check the config values is in candidates
2016-07-08 21:55:30 +09:00
Takeshi KOMIYA
e3a17ce125 Merge pull request #2761 from scop/with
Handle more file closing with "with"
2016-07-08 10:10:30 +09:00
Takeshi KOMIYA
d1a427c51e Merge branch 'stable' 2016-07-08 01:09:28 +09: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
Ville Skyttä
e8a8be5788 Handle more file closing with "with" 2016-07-07 18:53:34 +03:00
Ville Skyttä
302c695048 Run *.png through zopflipng -m
Before: 2334583 bytes
After:  2136324 bytes
2016-07-07 18:34:18 +03:00
Ville Skyttä
f1316a0bb3 Run *.jpg through jpegoptim -s
Before: 28408 bytes
After:  25206 bytes
2016-07-07 18:34:18 +03:00
Takeshi KOMIYA
593708a39c Fix importing error 2016-07-08 00:14:13 +09:00
Takeshi KOMIYA
a37106599c Fix typo 2016-07-08 00:12:44 +09:00
Takeshi KOMIYA
3c756e7688 Use SphinxRenderer as a default renderer of copy_asset() 2016-07-07 23:48:39 +09:00
Takeshi KOMIYA
5991bbe4ac Add sphinx.config.ENUM to check the config values is in candidates 2016-07-07 23:42:49 +09:00
Takeshi KOMIYA
d984852908 Fix flake8 violation 2016-07-07 23:41:13 +09:00
Takeshi KOMIYA
8a4b01a2b7 Merge pull request #2754 from tk0miya/2753_smartcopy
``sphinx.util.osutil.filecopy()`` skips copying if the file has not been changed (ref: #2510, #2753)
2016-07-07 23:38:27 +09:00
Takeshi KOMIYA
f120e4afdf Merge pull request #2758 from scop/tests
Fix style checks and run them on Travis
2016-07-07 23:38:01 +09:00
Takeshi KOMIYA
2e83592ae7 Show warnings if deprecated latex options are used 2016-07-07 23:15:51 +09:00
Ville Skyttä
7cfbc2a702 Fix style checks 2016-07-07 16:48:12 +03:00
Ville Skyttä
77f9bbd9cc Travis: Run style-check with Python 3.5
Doing this with 3.5 only, because the PEP 484 annotation examples in
docs won't compile with old Python versions, causing failures.
2016-07-07 16:29:14 +03:00
Takeshi KOMIYA
27fe1cfed5 latex: validate config values on builder-inited event 2016-07-07 22:23:35 +09:00
Takeshi KOMIYA
c06b21725d Fix invalid variable name was used 2016-07-07 22:22:01 +09:00
Takeshi KOMIYA
19abdb0198 Merge pull request #2752 from tk0miya/jinja2ized_latex_template
Jinja2-ize latex writer
2016-07-07 22:16:16 +09:00