Commit Graph

1097 Commits

Author SHA1 Message Date
Takeshi KOMIYA
32b483d5bc Fix #2134 figure caption with reference causes latex build error 2015-12-03 10:33:29 +09:00
shimizukawa
e800fef3d1 merge with 'stable' 2015-12-02 18:38:52 +09:00
Takeshi KOMIYA
47e7b022c2 Fix #2012 exception occurred if `numfig_format` is invalid 2015-11-30 11:38:37 +09:00
shimizukawa
b08ef308b9 Merge branch 'stable' 2015-11-22 00:25:26 +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
Takayuki SHIMIZUKAWA
e4b025c1cb Merge pull request #2033 from lehmannro/config-types-for-real
Allow hinting permissible types for configuration values
2015-11-15 16:39:07 +09:00
Robert Lehmann
8b00f57f4d Fixed #1786: Add configurable type hints.
This adds the option of giving, in addition to the type of the default
value, hints about permissible types for configuration values.
2015-09-11 09:51:14 +02: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
Ignacio Fdez. Galván
c0bc64f9fe Merge remote-tracking branch 'upstream/master' 2015-05-13 10:38:28 +02: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
Takeshi KOMIYA
0b60eafe0e Fix #1790 literalinclude strips empty lines at the head and tail 2015-03-31 11:32:01 +09:00
Takeshi KOMIYA
0215b1fb10 Fix #1789 :pyobject: option of literalinclude directive includes following lines after definitions 2015-03-31 10:21:36 +09:00
Takayuki Hirai
144fb2634d Fix #1793: Add new line before first item of list 2015-03-30 19:55:49 +09:00
Ignacio Fdez. Galván
d86efb9192 Test for alternate stylesheets 2015-03-17 15:57:51 +01: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
Takayuki Shimizukawa
8536b4844e Merged in tk0miya/sphinx (pull request #266)
Rename :filename: option of code-block directive to :caption:
2014-08-24 11:02:36 +09:00
Takayuki Shimizukawa
799ae87ce0 fix fc1901d for py3, again. and add 2 assertions 2014-08-22 13:01:11 +09:00
Takayuki Shimizukawa
e8b870de0c :mod:~sphinx.ext.viewcode support imported function/class aliases. Closes #623 2014-08-22 11:38:56 +09:00
tk0miya
3c8bc8f5fd Merge upstream changes 2014-08-20 10:05:58 +09:00
tk0miya
14107fd5de Fix numbering section at singlehtml mode does not work for nested toctree 2014-08-18 22:06:30 +09:00