Commit Graph

102 Commits

Author SHA1 Message Date
Takeshi KOMIYA
26c43643d3 Fix broken tests by 7bb685bbe9 2016-01-03 20:52:39 +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
Takeshi KOMIYA
07cc02a512 Fix #2178: Unparseable C++ cross-reference when referencing a function with :cpp:any: 2015-12-27 16:29:07 +09:00
Takeshi KOMIYA
8a763feb6b Fix #2189: previous sibling link has broken if previous doc is under nested toctree 2015-12-26 23:57:09 +09:00
Takeshi KOMIYA
222a51e0cf Fix #2189: next sibling link has broken if the file was appeared twice or more 2015-12-26 21:43:54 +09:00
Takeshi KOMIYA
0719611d54 Fix #2071: Same footnote in more than two section titles => LaTeX/PDF Bug 2015-12-25 10:43:41 +09:00
Takeshi KOMIYA
9f96bbaf35 Move testcases for footnotes to roots/test-footnote 2015-12-19 16:45:23 +09:00
Takeshi KOMIYA
5983d02787 Fix #1237 footnotes not working in definition list in LaTeX 2015-12-19 16:45:23 +09:00
Takeshi KOMIYA
9fec96d327 Refactor latex_show_urls processor to Transform class 2015-12-19 16:44:45 +09:00
Takeshi KOMIYA
885b997a25 Add testcases for latex_show_urls 2015-12-19 16:40:10 +09:00
Takeshi KOMIYA
8648bdeec1 Fix #2094 rubric with reference not working in Latex 2015-12-03 14:48:00 +09:00
Takeshi KOMIYA
c8837338d3 Fix section and table titles with reference cause latex build error 2015-12-03 11:39:25 +09:00
Takeshi KOMIYA
32b483d5bc Fix #2134 figure caption with reference causes latex build error 2015-12-03 10:33:29 +09:00
Takeshi KOMIYA
47e7b022c2 Fix #2012 exception occurred if `numfig_format` is invalid 2015-11-30 11:38:37 +09:00
shimizukawa
9d0ce7a6c1 Fixes #1884: plug-in html themes cannot inherit another plug-in theme
Closes #1885: A part of code for this fix is from pull requeest #1885.
refs #1794
2015-11-22 00:13:42 +09:00
Takeshi KOMIYA
20d992cdf5 Close #1990: Use caption of toctree to title of \tableofcontents in LaTeX 2015-08-21 14:15:30 +09:00
shimizukawa
a3109f6976 Fixes #1983: i18n translation feature breaks references which uses section name. 2015-08-09 23:44:14 +09:00
shimizukawa
82e05e7a9c Fixes #1725: On py2 environment, doctest with using non-ASCII characters causes 'ascii' codec can't decode byte exception. 2015-08-02 00:07:23 +09:00
shimizukawa
d3375761d2 Fixed #1855: make gettext generates broken po file for definition lists with classifier. 2015-07-25 17:41:07 +02:00
Takayuki SHIMIZUKAWA
219b5aac9e Merge pull request #1819 from pjxiao/feature-1793
Fix #1793: Add new line before first item of list
2015-07-11 15:15:01 +09:00
Takeshi KOMIYA
65663912a4 Add testcase for graphviz 2015-06-26 21:23:03 +09:00
Takeshi KOMIYA
64d2f22eb4 Fix #1790 literalinclude strips empty lines at the head and tail 2015-04-02 14:48:14 +09:00
Takeshi KOMIYA
aa66e7860b Fix #1789 :pyobject: option of literalinclude directive includes following lines after definitions 2015-04-02 14:47:51 +09:00
Takayuki Hirai
144fb2634d Fix #1793: Add new line before first item of list 2015-03-30 19:55:49 +09:00
shimizukawa
6b7a2c8b6a refs #1777: fix testing. first time testing always failed it means testing on travis.ci will never be succeeded. 2015-03-15 01:13:57 +09:00
shimizukawa
1628eebfb5 refs #1777: add test for loading theme plugins 2015-03-15 00:47:43 +09:00
Takeshi KOMIYA
5e48ac9b4f Role `numref uses %s as special character instead #` symbol 2015-03-08 08:30:16 +09:00
shimizukawa
d23f3e75dd Closes #1748: SyntaxError in sphinx/ext/ifconfig.py with Python 2.6. 2015-03-02 22:43:14 +09:00
shimizukawa
06944af540 refs #1346, fix missing test requires, fix tests (need html_theme='classic') 2015-02-24 01:20:05 +09:00
shimizukawa
bb85c1c87f refs #1235: i18n: 'uri' and 'alt' attribute on 'image' and 'figure' nodes can be translated if gettext_additional_targets has 'image'. 2015-02-22 19:35:49 +09:00
shimizukawa
0ad1c154c0 refs #1235: i18n: 'doctest-block' and 'raw' node can be translated if gettext_additional_targets has that string. 2015-02-22 15:40:01 +09:00
shimizukawa
c53fa4b369 refs #1235: i18n: 'literal-block' node can be translated if 'literal-block' is set to gettext_additional_targets. 2015-02-22 13:51:02 +09:00
shimizukawa
d5dca56ff8 The `gettext_enables config value has been renamed to gettext_additional_targets`. 2015-02-22 13:31:28 +09:00
Takeshi KOMIYA
62e0490b81 Closes #1718. :numref: does not work with capital letters in the label 2015-02-22 11:28:21 +09:00
tk0miya
88103c112a Fix #1603 :numref: doesn't work correctly when label contain underscore
If label contains underscore, the underscores are replaced with hyphens on normalization.
:numref: confuses the normalization with explicit notation.
This fix uses `target` variable insted of labelid to check the role is explicit or not.
2014-10-27 11:02:54 +09:00
Takayuki Shimizukawa
da651089e7 fix trailing space and long line 2014-10-09 23:53:33 +09:00
Takayuki Shimizukawa
2826af738d Merged in tk0miya/sphinx (pull request #303)
Add :numref: role to refer figures, tables and code-blocks by its fignum
2014-10-09 19:45:50 +09:00
Jeppe Pihl
0b0cf82a75 fixed bugs, and extended unit test to catch them again if they reappear 2014-10-06 10:58:03 +02:00
Jeppe Pihl
dc3d0b6ca1 added test .rst files 2014-10-04 17:49:37 +02:00
tk0miya
8270575a9c Update testcases for :numref: 2014-10-02 11:17:34 +09:00
Takayuki Shimizukawa
9d1225a35b add :confval:gettext_enables to enable extracting 'index' to gettext catalog output / applying translation catalog to generated documentation. Closes #1344 2014-09-28 21:19:54 +09:00
tk0miya
0c5b460dc6 Separate numfig testcase from toctree's 2014-09-27 16:49:28 +09:00
tk0miya
7cd470f59a Assign fignum to tables and code-blocks 2014-09-27 00:47:44 +09:00
tk0miya
cffec13355 Add testcases for numfig 2014-09-26 00:36:38 +09:00
tk0miya
3ad1f1c164 Merge with default 2014-09-24 00:43:47 +09:00
Georg Brandl
24d303706f Fixup windows newlines. 2014-09-21 20:23:24 +02:00
Georg Brandl
a73ab32bc5 Split viewcode and linkcode tests out of main test root. 2014-09-21 17:34:16 +02:00
Georg Brandl
d47a7587f9 Complete test suite overhaul.
* rename a few test modules to make the names more consistent

* do not copy/use Sphinx from build/ (unnecessary without 2to3)

* use a temporary dir for *all* test projects, the source tree
  will stay pristine that way  (default is tests/build)

* speed up tests by ~3x by splitting up test projects and avoiding
  rebuilds
2014-09-21 17:17:02 +02:00
tk0miya
d076452199 do nested_parse() :caption: of code-block directive 2014-09-19 12:04:25 +09:00