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
Georg Brandl
e5f58d686e
merge with stable
2014-01-17 07:25:31 +01:00
Georg Brandl
24a8b516bf
Remove sphinx.ext.oldcmarkup compatibility extension.
2014-01-17 07:24:23 +01:00
Georg Brandl
de92e3b026
Closes #1285 : Avoid name clashes between C domain objects and section titles.
2014-01-17 07:08:32 +01:00
Georg Brandl
c5b4ff0adc
* add a test for the parsed-literal directive
...
* adapt test to pygments output versus Sphinx-emulated nohighlighting output
2014-01-11 10:25:34 +01:00
Georg Brandl
195050c6c4
Closes #933 : Do not crash if an `:option:
` value is malformed (contains spaces
...
but no option name).
2014-01-10 22:04:03 +01:00
Georg Brandl
04bc952dd9
fix trailing space
2013-12-10 10:23:45 +01:00
Georg Brandl
1a99c74e4b
Merged in RelentlessIdiot/sphinx (pull request #149 )
...
Fix #1203 : Do not append space to unknown field names.
2013-09-16 09:18:47 +02:00
Georg Brandl
8b85355a22
Fix new html_extra_path option for singlehtml builder.
2013-09-16 04:33:02 +02:00
Matthias C. M. Troffaes
e20c82a277
Test that extra entries are in outdir.
2013-08-22 09:24:00 +01:00
Rob Ruana
718f4a6f8c
Fix #1203 : Does not append space to unknown field names.
...
If an unknown field name is encountered, a space is only
appended if the field arguments are not empty. Also,
only the first character of the field name is upper cased,
and the case of the rest of the string remains unchanged.
2013-06-23 16:06:45 -04:00
Takayuki Shimizukawa
9d3bac3b8e
Fix: Citation target missing cause AssertionError. Closes #1160
2013-05-02 10:37:12 +09:00
Takayuki Shimizukawa
59d655c435
Fix: Combination of 'globaltoc.html' and hidden toctree cause exception. Closes #1157
2013-04-30 23:36:27 +09:00
Georg Brandl
1af3e3ea71
tests: replace "from util import *" by explicit imports
2013-04-01 11:39:32 +02:00
Nozomu Kaneko
919ba75483
versionlabels are handled entirely in the versionmodified directive, instead of the writers.
...
Now it returns a versionmodified node with the versionlabel already inserted.
2013-01-06 18:37:21 +09:00
Nozomu Kaneko
7630467f84
fix: paragraphs in versionmodified are ignored when it has no dangling paragraphs.
2013-01-06 18:05:49 +09:00
Takayuki Shimizukawa
9b9c69042e
Divide test_intl target source files for speed-up.
2013-01-06 16:15:49 +09:00
Georg Brandl
151856819c
Copyright update.
2013-01-01 22:13:15 +01:00
Takayuki Shimizukawa
6e044aedbc
Avoid unusable warning in using i18n translation. Closes #1057 .
...
And there is related information at pull request #86
2012-12-16 22:56:38 +09:00
Georg Brandl
4763419db1
Update Sphinx URL to new sphinx-doc.org domain.
2012-11-04 11:28:12 +01:00
Takayuki Shimizukawa
b948dfc7e0
fix for Python3: Python3 open() use 'rt' mode by default, and decoding by locale.getpreferredencoding(). In sphinx test, html output encoded by 'utf-8' but reading with syste-locale-setting-encode that cause UnicodeDecodeError.
2012-05-02 15:55:11 +09:00
Takayuki Shimizukawa
48128c7b9b
* fix test for Windows: test failed by test-code problem depends on os.sep.
2012-05-02 12:05:41 +09:00
Georg Brandl
4ff9c71c91
Closes #810 : fix deprecation warnings with Python 3. What is left over is from nose or docutils.
2012-01-29 12:23:17 +01:00
Georg Brandl
fa100632c3
Closes #695 : When the highlight language "python" is specified explicitly, do not try to parse the code to recognize non-Python snippets.
...
Thanks to Jonas Haag for the patch.
2012-01-29 10:21:01 +01:00
Georg Brandl
4abbe95a9c
Merge with 1.0
2011-09-23 11:03:23 +02:00
Georg Brandl
db87ed440c
Fix #648 : Fix line numbers reported in warnings about undefined references.
2011-09-23 09:46:24 +02:00
Georg Brandl
7cc2b0e46b
Adapt test to removal of <object> tags for SVG images.
2011-09-19 09:19:35 +02:00
Georg Brandl
0e1db6ad90
New year update.
2011-01-04 10:00:51 +01:00
Georg Brandl
5072e74a46
Fix test_build_html after latest docfields fix.
2011-01-04 00:23:27 +01:00
Georg Brandl
69e5b91b2d
Fix strange reportings of line numbers for warnings generated from
...
autodoc-included docstrings, due to different behavior depending
on docutils version.
2011-01-03 15:55:30 +01:00
Georg Brandl
3c2662580a
Cleanup after pull from https://bitbucket.org/timmartin/sphinx
2011-05-15 11:15:20 +02:00