Commit Graph
111 Commits
Author SHA1 Message Date
shimizukawa 0f2e62db24 Fix #2253: `:pyobject: option of literalinclude` directive can't detect indented body block when the block starts with blank or comment lines. 2016-01-20 22:50:59 +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
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
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 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 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