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
Yoshiki Shibukawa
3cbd84346e
Fix #2634 (Update jquery to latest from 1.x)
2016-07-13 14:58:52 +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
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
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
Takeshi KOMIYA
5991bbe4ac
Add sphinx.config.ENUM to check the config values is in candidates
2016-07-07 23:42:49 +09:00
Ville Skyttä
7cfbc2a702
Fix style checks
2016-07-07 16:48:12 +03:00
Takeshi KOMIYA
02dbf860c2
Refactor: Use copy_asset() to copy html_static_path
2016-07-07 00:06:54 +09:00
Takeshi KOMIYA
bb1e6f9044
Refactor: Replace copy_extra_entry() with copy_asset()
2016-07-07 00:02:57 +09:00
Takeshi KOMIYA
829b5631a3
Add testcase for compile_matchers()
2016-07-06 23:58:46 +09:00
Takeshi KOMIYA
db23797c57
copy_asset_file() does not expand if context not given
2016-07-06 23:58:46 +09:00
Takeshi KOMIYA
07ddff9933
Add sphinx.util.fileutil.copy_asset()
2016-07-06 23:58:46 +09:00
Takeshi KOMIYA
17cd06f237
Add sphinx.util.fileutil.copy_asset_file()
2016-07-06 23:58:46 +09:00
Takeshi KOMIYA
31c6beb578
Merge pull request #2454 from mgeier/html-sourcelink-txt
...
Add option html_sourcelink_suffix
2016-07-06 01:43:18 +09:00
Takeshi KOMIYA
7eca745b5c
Fix #2667 : latex crashes if resized images appeared in section title
2016-07-05 14:33:44 +09:00
Tadej Janež
a9ffcf0d60
Add `--warning-is-error` option to setup.py command
2016-06-30 10:18:49 +02:00
Takeshi KOMIYA
cd093fb0ca
latex writer considers unitless dimensions as px based
2016-06-26 22:56:20 +09:00
Takeshi KOMIYA
fe3f2a4a3f
latex: Do not convert px to float
2016-06-26 22:55:57 +09:00
Takeshi KOMIYA
cb00f51328
latex: Raise error if invalid dimension value
2016-06-26 22:55:54 +09:00
Takeshi KOMIYA
4bc5a242ce
Show warnings if invalid dimension units found
2016-06-26 22:32:34 +09:00
Jakob Lykke Andersen
f64ec1349a
C++, initial support for attributes.
...
Only simple GNU style supported, and only in the decl-specifier-list.
See sphinx-doc/sphinx#2682 .
2016-06-26 10:02:15 +02:00
Takeshi KOMIYA
efd74a9e14
latex, replace `pt by TeX equivalent bp if found in width or height` attribute of an image (ref: #2714 )
2016-06-26 12:03:55 +09:00
Takeshi KOMIYA
7a81169e4c
Fix warning in CHANGES
2016-06-25 10:31:30 +09:00
Takeshi KOMIYA
211fd352ae
Fix #2579 : Could not refer a label including both spaces and colons via sphinx.ext.intersphinx
...
This fixes only the case the label including both spaces and colons as
ad-hoc. There is still a bug if a label having spaces, colons and
numbers like "foo bar:baz 1234".
Note: To support the case, we have to improve the inventory format.
2016-06-24 21:11:31 +09:00
Takeshi KOMIYA
51937f8089
#2597 : Show warning messages as darkred
2016-06-24 14:23:19 +09:00
jfbu
9002966085
Merge branch 'stable'
2016-06-22 18:42:13 +02:00
Jean-François B
0802e5499a
Merge pull request #2672 from jfbu/jfbu_fixincludegraphics
...
Fix #2671 : image directive may lead to inconsistent spacing in pdf
2016-06-22 18:25:46 +02:00
jfbu
01f1696d9b
Remove usage by sphinx.sty of latex package newfloat.sty
2016-06-19 16:22:49 +02:00
jfbu
beeeb56c27
latex `\noindent` for non-inline images, not only if top level
2016-06-19 11:04:45 +02:00
jfbu
4be797ccd3
Merge branch 'stable'
2016-06-18 12:23:20 +02:00
jfbu
b3d8961ca8
Enhance latex text styling customizability
2016-06-17 19:48:52 +02:00
jfbu
664e24cf86
Fix #2671 : image directive may lead to inconsistent spacing in pdf
2016-06-17 10:08:31 +02:00
Jakob Lykke Andersen
65dddfcd69
C++, fix parsing of function types in other types.
...
Let all kinds of function parameters be allowed to have a name.
Fixes michaeljones/breathe#267 .
2016-06-16 10:54:16 +09:00
jfbu
c2d417a032
Rename SphinxVerbatim to sphinxVerbatim for latex output
2016-06-15 18:34:00 +02:00
jfbu
2cec5a25b2
Merge branch 'stable'
...
Conflicts:
sphinx/domains/cpp.py
sphinx/texinputs/sphinx.sty
tests/test_build_latex.py
2016-06-15 18:29:58 +02:00
jfbu
5510653d6e
Fix #2629 . Add new config option `latex_keep_old_macro_names`
...
The cause of the issue was a clash about ``\titleref`` macro being already
defined in memoir class context. To avoid similar problems, this makes
the text styling macros
``\strong``, ``\code``, ``\bfcode``, ``\email``, ``\tablecontinued``,
``\titleref``, ``\menuselection``, ``\accelerator``, ``\crossref``,
``\termref``, ``\optional``,
also available with ``\sphinx`` prefix, with a conf.py boolean option to
let sphinx.sty only define ``\sphinx``-prefixed macros. As default value
is False, backwards compatibility is maintained.
On this occasion, some internal non-public macros have been renamed with
prefix ``\spx@``. The command
find . -name '*.sty' -exec grep -l \\\\spx@ {} \;
has been executed in TeXLive 2015 and 2016 installations to check no
package defines macros starting with ``\spx@``.
Some internal macros having public names (because they are written by
latex.py into the body of the latex document) have been renamed to have
``\sphinx`` prefix. The macros in sphinx.sty starting with \py@, or \DU,
or \PYG have not been modified. Similarly ``\release``, ``\version``,
``\releasename``, etc... have not been renamed.
2016-06-15 08:53:24 +02:00
Jakob Lykke Andersen
5728e5e837
C++, add test for initialized variable concepts
2016-06-14 16:23:57 +09:00