Commit Graph

6193 Commits

Author SHA1 Message Date
Takeshi KOMIYA
825e8bca57 Merge pull request #2342 from tk0miya/2326_improve_str_type_hinting
Fix the confval type checker emits warnings if unicode is given to confvals which expects string value
2016-02-23 12:09:13 +09:00
Takeshi KOMIYA
606daeda18 Fix the confval type checker emits warnings if unicode is given to confvals which expects string value 2016-02-23 11:14:58 +09:00
Takeshi KOMIYA
041aa6055f Fix #2331: code-blocks are filled by block in dvi; remove `xcdraw` option from xcolor package 2016-02-23 00:18:08 +09:00
Takeshi KOMIYA
84fb1b7617 Fix #2245: Add `latex_elements["passoptionstopackages"]` option to call PassOptionsToPackages in early stage of preambles 2016-02-23 00:14:03 +09:00
Takeshi KOMIYA
968f072c42 Fix CHANGES for #2276 2016-02-23 00:11:23 +09:00
Takeshi KOMIYA
904163f5b6 Merge pull request #2276 from tk0miya/1921_figure_substitutions
Fix #1921: Support figure substitutions by locale
2016-02-22 23:55:53 +09:00
Takeshi KOMIYA
0636d54f6f `sphinx.ext.graphviz` supports graph substituions by locale 2016-02-22 21:32:06 +09:00
Takeshi KOMIYA
3f0843bca0 Add figure_language_filename to customize filename pattern for figure substitutions 2016-02-22 21:32:05 +09:00
Takeshi KOMIYA
1f5aa28db0 Fix #1921: Support figure substitutions by locale 2016-02-22 21:32:05 +09:00
Takeshi KOMIYA
46138ca605 Select an image by similarity if multiple images are globbed by `.. image:: filename.*`
Until this point, it is used the last image returned from glob.glob().
The order of glob.glob() is determined by filesystem.
After this, Sphinx uses filename similarity to determine the image.
2016-02-22 17:06:35 +09:00
Takeshi KOMIYA
208eb6e052 Refactor: guess_mimetype() 2016-02-22 16:30:41 +09:00
Takeshi KOMIYA
7d1b0ec7a1 Refactor tests: Add @skip_if_graphviz_not_found decorator 2016-02-22 16:30:41 +09:00
shimizukawa
cea8c85bf0 remove a part of description that mentioned about epub3 internal formating. 2016-02-22 10:36:39 +09:00
shimizukawa
905cbd09ed Fix: ambiguous description for epub3_page_progression_direction conf value. 2016-02-22 10:20:28 +09:00
Takeshi KOMIYA
d38b3ff2a0 Merge branch 'stable' 2016-02-20 21:19:51 +09:00
Takeshi KOMIYA
f6af2af9a4 Don't show option-role warnings in 1.3.x too 2016-02-20 19:43:39 +09:00
Takeshi KOMIYA
39bef55fd5 Fix #2329: Refresh environment forcely if source directory has changed 2016-02-20 17:40:31 +09:00
Takeshi KOMIYA
3ce737335e Fix #2329: Refresh environment forcely if source directory has changed 2016-02-20 17:11:33 +09:00
Takeshi KOMIYA
889f77343c Merge pull request #2339 from tk0miya/2332_highlighting_fallback_by_default
Highlighting fallbacks by default
2016-02-20 01:25:11 +09:00
Takeshi KOMIYA
2b93e09c0a Highlighting fallbacks by default
In 423bf7b, I tried to add fallback mechanism to ``python3``. But it breaks
the python3 highlighting on python2 environment.

This adds ``'default'`` to highlighting languages; it works like
``'python3'``, but fallbacks if failed Highlighting. And this removes
try-parse step from ``'python3'`` language. Now, it highlights regardless of
runtime environments.  Thanks to Yoshiki SHIBUKAWA.
2016-02-20 00:44:28 +09:00
Georg Brandl
6101cb4ab6 fix tests 2016-02-19 09:25:48 +01:00
Georg Brandl
e310de0786 Dont show highlighting warning in 1.3.x. This is a "feature-like" change. 2016-02-19 08:53:07 +01:00
Takeshi KOMIYA
ae8cbec29a Fix unpack warning is shown when the directives generated from `Sphinx.add_crossref_type` is used 2016-02-17 11:58:19 +09:00
Georg Brandl
b60e96f47a Merge branch 'stable' 2016-02-16 19:20:09 +01:00
Georg Brandl
4cc2d0114c Closes #2324: Print a hint how to increase the recursion limit when it is hit. 2016-02-16 19:19:54 +01:00
Takeshi KOMIYA
b780d2207a Fix ValueError is raised if LANGUAGE is empty string 2016-02-17 01:13:00 +09:00
Takeshi KOMIYA
423bf7b5e3 Fix code-block literals raises highlighting warnings by default 2016-02-17 01:07:18 +09:00
Takeshi KOMIYA
881e086e50 Remove `image/gif` from supported_image_types of LaTeX writer (ref #2272) 2016-02-16 12:52:50 +09:00
Takeshi KOMIYA
d9be95a6d3 Fix #2308: Define `\tablecontinued` macro to redefine the style of continued label for longtables 2016-02-16 12:42:35 +09:00
Georg Brandl
774927c90c Minor addition to changelog. 2016-02-15 23:36:53 +01:00
Takeshi KOMIYA
532e99c96b Fix #2290: `sphinx.ext.mathbase` use of amsfonts may break user choice of math fonts 2016-02-15 17:36:51 +09:00
Takeshi KOMIYA
ae283bc1da Merge branch 'stable' 2016-02-15 11:51:45 +09:00
Takeshi KOMIYA
50f4862b06 Fix some testcase get error with pygments-2.1.1 2016-02-15 11:46:30 +09:00
shimizukawa
a7ae5e39d9 fix wrong documentation 2016-02-15 09:45:04 +09:00
shimizukawa
da85b47e93 Bump version 2016-02-14 22:42:59 +09:00
shimizukawa
8c018d31aa Bump to 1.4 alpha1 2016-02-14 22:22:38 +09:00
shimizukawa
17cecd9ce6 update message catalogs 2016-02-14 22:22:36 +09:00
shimizukawa
03f061f898 fix for make style-check 2016-02-14 22:06:41 +09:00
shimizukawa
d7bebce5e6 make check is renamed as make style-check 2016-02-14 22:06:39 +09:00
Takeshi KOMIYA
3e6f608778 Merge pull request #2322 from tk0miya/794_babel_format_date
Fix #794: Date formatting in latex output is not localized
2016-02-14 22:01:05 +09:00
Takeshi KOMIYA
4452cc3d2e Fix #794: Date formatting in latex output is not localized 2016-02-14 21:48:24 +09:00
Takeshi KOMIYA
77e3246fb1 Fix warnings on CHANGES 2016-02-14 21:13:31 +09:00
Takayuki SHIMIZUKAWA
c49ecfe341 Merge pull request #2320 from sphinx-doc/glossary-term-with-index
classifier of glossary terms can be used for index entries grouping key.
2016-02-14 20:31:24 +09:00
shimizukawa
e6a5a3a92e classifier of glossary terms can be used for index entries grouping key. The classifier also be used for translation. See also :ref:glossary-directive. 2016-02-14 19:28:58 +09:00
shimizukawa
358a13ee72 Merge wiht 'stable' 2016-02-14 19:27:18 +09:00
shimizukawa
0992ce542b Closes #1853: support custom text splitter on html search with language='ja'. 2016-02-14 19:23:51 +09:00
Takayuki SHIMIZUKAWA
e1394b5427 Merge pull request #2321 from sphinx-doc/py-3-highlighting
The default highlight language is now Python 3. Use it in viewcode as well.
2016-02-14 19:10:05 +09:00
Georg Brandl
d59f23b2c8 Fix highlight languages in docs. 2016-02-14 09:37:55 +01:00
Georg Brandl
23431eaf4e viewcode: default to python3 highlighting if highlight_language is python3 2016-02-14 09:36:42 +01:00
Georg Brandl
c1b7b6f369 The default highlight language is now Python 3.
References: #2279.

This means that source code is highlighted as Python 3 (which is mostly
a superset of Python 2), and no parsing is attempted to distinguish
valid code.
2016-02-14 09:21:35 +01:00