Commit Graph

1094 Commits

Author SHA1 Message Date
Takeshi KOMIYA
04a8c26eab Fix #2235: `needs_sphinx` supports micro version comparison 2016-01-21 13:51:17 +09:00
Hong Xu
a75bf5af3c Refactor the tests of math extensions. 2016-01-18 23:47:01 -08:00
Takeshi KOMIYA
4c4450d958 Fix #656: Add `graphviz_dot option to graphviz directives to switch the dot` command 2016-01-18 23:56:05 +09:00
Takeshi KOMIYA
92e4b0cac6 Merge branch 'stable' 2016-01-18 18:46:30 +09:00
Takeshi KOMIYA
0329edc510 Fix #1565: Show warning if Pygments throws an ErrorToken 2016-01-18 15:31:44 +09:00
Takeshi KOMIYA
5574aba60e Fix tests are broken with pygments-2.1 2016-01-18 12:38:02 +09:00
Takeshi KOMIYA
34cbf3bad7 Fix #2247: #2205 breaks make html for definition list with classifiers that contains regular-expression like string 2016-01-18 11:31:48 +09:00
Takeshi KOMIYA
50426a711c Fix #2060: `:manpage:` role uses incorrect style (node)
It should be use bold style to reference man pages in man format.
On other formats, it is still represented as emphasis.
2016-01-17 19:50:06 +09:00
Takeshi KOMIYA
f44fd9f994 Fix broken test by 14f58e6619 2016-01-17 19:38:05 +09:00
Takeshi KOMIYA
14f58e6619 `sphinx.ext.graphviz`: show graph image in inline by default
To support subsutituion syntax, make graphviz node inline (ref: #1149).
Now graphviz directive behaves like ``image`` directive when no captions.
If specified, it generates ``figure`` node and ``caption`` node like
``figure`` directive.
2016-01-17 19:23:55 +09:00
Takeshi KOMIYA
738bb589d9 Merge pull request #2209 from tk0miya/2162_add_source_parser_API
Fix #2162: Add Sphinx.add_source_parser() to add source_suffix and source_parsers from extension
2016-01-17 19:07:18 +09:00
Takeshi KOMIYA
121fc4a326 Fix #1030: Make page reference names for latex_show_pagerefs translatable 2016-01-16 23:59:13 +09:00
Takeshi KOMIYA
350d8aade0 Fix broken LaTeX code is generated if unknown language is given 2016-01-16 23:59:13 +09:00
Hong Xu
875e6a503b Run LaTeX in testing: don't skip the test unless all latexes do not exist
Until now when one of the 3 latexes (pdflatex, xelatex, lualatex) does
not exist, the test was skipped. This commit changes the behavior to
"unless none of the 3 latexes exists, don't skip the test".
2016-01-15 11:39:17 -08:00
Hong Xu
afcc7f4626 Move the testing code which spawns pdflatex to a function
There are currently two locations in the testing code running the same
code to spawn pdflatex. This commit puts these code into one single
function to reduce redundancy.
2016-01-15 01:48:49 -08:00
Georg Brandl
6b7b51a55a Obligatory copyright update. 2016-01-14 22:55:22 +01:00
Georg Brandl
4f72bdb722 Merge branch 'stable' 2016-01-14 22:54:08 +01:00
Georg Brandl
46d7e8558e Obligatory copyright update. 2016-01-14 22:54:04 +01:00
Takeshi KOMIYA
3f998a0096 Fix line numbers was not shown on warnings of indecies 2016-01-13 11:37:07 +09:00
Takeshi KOMIYA
7898c64cf4 Fix line numbers were not show on warnings of numfigs 2016-01-13 00:38:38 +09:00
Takeshi KOMIYA
4c8b575dcc Fix filenames were not shown on warnings of citations 2016-01-13 00:37:28 +09:00
Takeshi KOMIYA
6dc7ca0234 Fix line numbers were not shown on warnings in LaTeX and texinfo builder 2016-01-13 00:36:51 +09:00
shimizukawa
f824539119 merge with stable 2016-01-13 00:13:35 +09:00
shimizukawa
d33b32323f 95 chars in line. It was warned by make check. 2016-01-12 23:53:45 +09:00
Takeshi KOMIYA
ca896755a9 Fix #2229, any-role and `-W` option are conflicted 2016-01-12 13:35:52 +09:00
Takeshi KOMIYA
b1715eb0b5 Fix broken test by bba3f388e9 2016-01-12 01:09:23 +09:00
Takeshi KOMIYA
bba3f388e9 Fix #2229: No warning is given for unknown options 2016-01-11 23:31:28 +09:00
Takeshi KOMIYA
e4b9eb51f6 Merge branch 'stable' 2016-01-11 00:27:26 +09:00
shimizukawa
e5860fd75c Merge with '87998df9cbef2380345d436121e6bca43345d2bd' on stable
Conflicts:
	tests/test_build_latex.py
2016-01-10 10:21:27 +09:00
Takeshi KOMIYA
c8c6dc1fe9 Fix #2226: Math is not HTML-encoded when :nowrap: is given (jsmath, mathjax) 2016-01-10 02:20:39 +09:00
Takeshi KOMIYA
053d7806fe Refactoring testcases to reduce ResourceWarning (refs: #1409) 2016-01-10 01:04:38 +09:00
Takeshi KOMIYA
7894f0bd9c Fix #2225: If the option does not begin with dash, linking is not performed 2016-01-09 19:57:23 +09:00
shimizukawa
e85ea7ed83 Fix #2062: Escape characters in doctests are treated incorrectly with Python 2
In my current environment with Win10+Py2.7.10, SpoofOut result string doesn't necessary to decode. This commit might cause regression in older python versions....
2016-01-09 17:22:30 +09:00
shimizukawa
39e403b8ac fix testing for text builder that generate _build/text/_build/text/_build/... recursive directories because *.txt in _build/text previously generated was detected as source file. 2016-01-09 15:35:56 +09:00
shimizukawa
ac28f9b271 Fix #2198,#2205: `make gettext` generate broken msgid for definition lists. It's a regression by #1855. 2016-01-09 15:33:43 +09:00
Takeshi KOMIYA
e68b488907 Merge pull request #2160 from misery/toc
Fix broken TOC of PDFs if section includes an image
2016-01-08 21:41:11 +09:00
André Klitzing
62c49763f8 Fix broken TOC of PDFs if section includes an image
If someone adds an image to a section it will be added to the sidebar
TOC of a PDF, too. A PDF viewer will show the "width and height"
data instead of an image. So we need to filter out images for this with
the optional "short title" of latex sections.
2016-01-08 10:15:39 +01:00
Takeshi KOMIYA
23eb0e24fc Add testcase for #1860 2016-01-08 16:00:26 +09:00
Takeshi KOMIYA
0ea518d563 Add sphinx.ext.githubpages to publish the docs on GitHub Pages 2016-01-06 22:14:57 +09:00
Takeshi KOMIYA
e03dc8d27e Fix #2072: Footnotes in chapter-titles do not appear in PDF output 2016-01-06 11:13:30 +09:00
Takeshi KOMIYA
26e29de904 Fix broken testcase; Split test-toctree-maxdepth from test-tocdepth 2016-01-06 09:54:48 +09:00
Takeshi KOMIYA
b0a5a1339e Fix #771: latex output doesn't set tocdepth 2016-01-06 01:34:29 +09:00
Takeshi KOMIYA
d0576cd012 Fix #1408: Check latex_logo validity before copying 2016-01-05 16:48:22 +09:00
Maximilian Köhl
65ad78daec [tests] beautify collapsed grouped field 2016-01-05 00:19:36 +09:00
Takeshi KOMIYA
f81ab1e8b9 Fix #2162: Add Sphinx.add_source_parser() to add source_suffix and source_parsers from extension 2016-01-04 10:23:17 +09:00
Takeshi KOMIYA
26c43643d3 Fix broken tests by 7bb685bbe9 2016-01-03 20:52:39 +09:00
Takeshi KOMIYA
7bb685bbe9 Fix #2197: Slightly cryptic error message for missing index.rst file 2016-01-03 20:26:38 +09:00
Hong Xu
01c381363e Run xelatex and lualatex as well in latex tests. 2016-01-02 17:58:41 +09:00
Takeshi KOMIYA
b0f376fdb8 Fix #2201: wrong table caption for tables with over 30 rows 2016-01-01 19:31:36 +09:00
Takeshi KOMIYA
584f05154b Fix #2206: Sphinx latex doc build failed if footnotes in caption of figure
At same time, refactored around pending footnotes (tables, terms and
figures). They are all controled as ``pending_footnotes``.
2016-01-01 19:07:43 +09:00