Takeshi KOMIYA
bba3f388e9
Fix #2229 : No warning is given for unknown options
2016-01-11 23:31:28 +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
7894f0bd9c
Fix #2225 : If the option does not begin with dash, linking is not performed
2016-01-09 19:57:23 +09:00
shimizukawa
91fe0b6ceb
Fix #2185 : Use with syntax to open files on testing.
2015-12-20 08:13:02 +09:00
Takeshi KOMIYA
47e7b022c2
Fix #2012 exception occurred if `numfig_format
` is invalid
2015-11-30 11:38:37 +09:00
Takeshi KOMIYA
12396a71d9
Fix #2140 : footnotes in table has broken in LaTeX
2015-11-29 21:47:55 +09:00
shimizukawa
ea25342acc
Support PEP-440 version spec for developers.
2015-03-14 16:46:24 +09:00
Georg Brandl
ad612fb03d
Change the source parsers feature a bit:
...
* parsers -> source_parsers
* add docs
* require fully qualified name or class
* add test for it
2015-03-08 13:12:50 +01:00
Takeshi KOMIYA
5e48ac9b4f
Role `numref
uses
%s
as special character instead
#` symbol
2015-03-08 08:30:16 +09:00
shimizukawa
9ba0a51555
refs #1658 , #1750 : add test and small tweak.
2015-03-03 08:13:14 +09:00
Georg Brandl
8a273d139b
Fix generating emphasis nodes without semantic reason
...
Roles ``ref``, ``term`` and ``menusel`` now don't generate :durole:`emphasis`
nodes anymore. If you want to keep italic style, adapt your stylesheet.
2015-02-25 15:51:47 +01:00
Takeshi KOMIYA
62e0490b81
Closes #1718 . :numref: does not work with capital letters in the label
2015-02-22 11:28:21 +09:00
Georg Brandl
a23903d8d5
Merge branch 'stable'
2015-01-03 21:41:14 +01:00
Georg Brandl
567d52f199
all: update copyright
2015-01-03 21:36:32 +01:00
Takayuki Shimizukawa
edf63e1406
Fix again. Sections which depth are lower than :tocdepth: should not be shown on localtoc sidebar. Closes #1251
2014-12-05 16:42:30 +09:00
Georg Brandl
4d5b20de38
merge with stable
2014-11-17 19:36:34 +01:00
Georg Brandl
571cae87a5
Closes #1372 : use https URL for PEPs and RFCs
2014-11-17 19:33:59 +01:00
Georg Brandl
6c194ad56f
Closes #1623 : Return types specified with `:rtype:
` are now turned into links if possible.
2014-11-12 11:32:21 +01: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
d289870f48
rename numfig_prefix
to numfig_format
. later is better for the purpose.
2014-10-10 00:19:17 +09:00
Takayuki Shimizukawa
da651089e7
fix trailing space and long line
2014-10-09 23:53:33 +09:00
tk0miya
cdc244428d
Merge with default
2014-10-06 23:57:16 +09:00
Georg Brandl
65296334e0
test fix
2014-10-06 15:49:15 +02:00
Georg Brandl
105122be43
Fix up default labels for figures and listings.
2014-10-06 15:19:42 +02:00
tk0miya
a5606976b6
Fix flake8 violations
2014-10-06 13:56:51 +09:00
tk0miya
777218580a
Surround fignum and caption with <span> tag
2014-10-05 20:55:46 +09:00
tk0miya
8270575a9c
Update testcases for :numref:
2014-10-02 11:17:34 +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
Takayuki Shimizukawa
88540e9a3b
workaround for testing: \xbb
will be replaced with /xbb
by replace(os.sep, '/')
process on Windows environment.
2014-09-24 01:41:01 +09:00
Georg Brandl
cdaf4b0a52
remove a few unused imports
2014-09-21 20:28:37 +02:00
Georg Brandl
b637f0a728
No need to insist on fresh builds with test_build_*
2014-09-21 18:41:08 +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
Georg Brandl
e21d669089
Test suite adapted after :option: changes.
2014-09-20 20:54:23 +02:00
Georg Brandl
6c3789a353
Add tests for "any" role and default-role setting. Fix some minor bugs with "any".
2014-09-19 14:17:36 +02:00
tk0miya
dd8a02d5e1
Fix #1381 :rfc: and :pep: roles support custom link text
2014-08-20 12:27:08 +09:00
Takayuki Shimizukawa
4be8071639
Merged in tk0miya/sphinx (pull request #269 )
...
Fix #1476 replace <tt> tag by <code>
2014-08-20 06:45:18 +09:00
tk0miya
7db168416b
Set its URL as a default title value if URL appears in toctree
2014-08-20 01:00:29 +09:00
tk0miya
14107fd5de
Fix numbering section at singlehtml mode does not work for nested toctree
2014-08-18 22:06:30 +09:00
tk0miya
0943375069
Fix #1476 replace <tt> tag by <code>
2014-08-12 12:12:10 +09:00
tk0miya
5725ee0e82
Fix numbering section does not work at singlehtml mode (adhoc)
2014-08-12 11:22:34 +09:00
Takayuki Shimizukawa
da4c67e2a3
When specifying toctree :numbered: option and :tocdepth: metadata, sub section number that is larger depth than :tocdepth:
is shrinked. Closes #1251 .
2014-08-02 18:10:41 +09:00
Takayuki Shimizukawa
6ae3b68859
replace ur'' prefix with r'' to support py2/py3 in one source. refs #1350
2014-04-30 23:04:21 +09:00
Takayuki Shimizukawa
1e58062692
remove 'six' name except importing line.
2014-04-30 21:30:46 +09:00
Takayuki Shimizukawa
f31d9113ff
use six privided functions/classes to support py2/py3 in one source. refs #1350
2014-04-30 20:39:26 +09:00
Takayuki Shimizukawa
ce4d342e20
use six privided iteritems(),itervalues() to support py2/py3 in one source. refs #1350 .
2014-04-29 21:20:56 +09:00
Takayuki Shimizukawa
68290a266c
introduce the six module and reduce sphinx.util.pycompat implementation. refs #1350 .
2014-04-29 11:46:47 +09:00
Georg Brandl
ac92719ac3
Update copyright year.
2014-03-01 08:18:23 +01:00
Georg Brandl
e030031321
Update copyright year.
2014-03-01 08:18:16 +01:00