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
Georg Brandl
7e5ff71c40
#513 : Allow giving non-local URIs for JavaScript files, e.g. in the JSMath extension.
2010-08-25 10:26:15 +00:00
Georg Brandl
a78e477bf7
Fix long line and test failure.
2010-08-23 16:48:51 +00:00
Georg Brandl
a484c6f793
#490 : Fix cross-references to objects of types added by the :func:~.Sphinx.add_object_type
API function.
2010-08-14 16:51:04 +02:00
Georg Brandl
df107e70f8
Allow breaking long signatures, continuing with backlash-escaped newlines.
2010-08-05 16:03:36 +02:00
Georg Brandl
8c91fb78ce
#484 : Fix crash when duplicating a parameter in an info field list.
...
Problem was that the :type: info nodes were inserted twice into the
doctree, which led to inconsistencies when reference nodes were resolved.
2010-08-05 12:53:05 +02:00
Georg Brandl
5a28ae4686
Add some tests for docfields.
2010-07-27 19:19:29 +02:00
Georg Brandl
3b64ec2a2e
Now that the expected warnings are regexes, diffing them with the actual output makes no sense anymore.
2010-07-27 19:07:51 +02:00
Georg Brandl
4a400034d9
This apparently fixes a failing test in Gentoo.
2010-07-27 17:52:57 +02:00
Georg Brandl
23971336b7
Fix :guilabel: unescaping, and make some tests actually run.
2010-07-21 11:33:24 +01:00
Daniel Neuhäuser
2cbaded701
Add test for oldcmarkup warning
2010-07-02 16:44:05 +02:00
Georg Brandl
bf767d5222
#454 : Add more index markup capabilities: marking see/seealso entries, and main entries for a given key.
2011-01-07 19:00:29 +01:00
Georg Brandl
17efae5622
merge with 1.0
2011-01-04 11:29:09 +01:00
Georg Brandl
3642b521ed
merge with 1.0
2011-01-04 00:35:27 +01:00
Georg Brandl
6c7aa8bb6d
merge with 1.0
2011-01-03 15:55:56 +01:00
Georg Brandl
3ddd7d9075
merge with 1.0
2010-08-25 12:02:59 +00:00
Georg Brandl
22b5751eb5
Fix test.
2010-08-25 11:33:25 +00:00
Georg Brandl
1778803e95
merge with 1.0
2010-08-23 16:49:05 +00:00
Georg Brandl
bafc3ee84d
merge with 1.0
2010-08-14 17:08:17 +02:00
Georg Brandl
861941e5f1
merge with 1.0
2010-08-05 16:20:12 +02:00
Georg Brandl
c683c6ed83
Add some changes not picked up in the transplantation process.
2010-07-28 19:49:06 +02:00
Georg Brandl
dd4f973221
merge with 0.6
2010-06-03 17:25:16 +02:00
Georg Brandl
f3c706edae
The `include
` directive now supports absolute paths, which are interpreted as relative to the source directory.
2010-05-30 12:59:42 +02:00
Georg Brandl
3bd9e4617e
Add a test for absolute image filenames.
2010-05-30 12:47:17 +02:00
Daniel Neuhäuser
6f982283ed
Fixed a testcase in response to issue #415 which is failing as of revision a854e3d2ca07
2010-05-30 04:47:28 +02:00
Georg Brandl
4d0facf1e1
Add the "oldcmarkup" extension, to help migrating to 1.0.
2010-05-24 15:12:27 +02:00
Georg Brandl
0238e83013
Merge with http://bitbucket.org/tpowers/sphinx/ (rewriting the external/internal distinction code)
...
In HTML output, references now get the class ``internal`` if they are internal to the whole project, as opposed to internal to the current page.
The ``menuselection`` and ``guilabel`` roles now support ampersand accelerators.
2010-05-24 12:57:07 +02:00
Daniel Neuhäuser
ddeb627cef
Don't use (in this case) unnecessary python2 unicode literals
2010-07-11 12:24:50 +02:00
Daniel Neuhäuser
839cc5aaeb
Revert changes from the last commit which caused problems with 2.x
2010-07-11 00:57:08 +02:00
Daniel Neuhäuser
a7ca488a8e
Removed XMLParser._fixtext which fixes several errors in the test suite
2010-07-10 19:47:32 +02:00
Daniel Neuhäuser
98b6073a7e
Fixed warnings in python3
2010-06-20 22:39:38 +02:00
Georg Brandl
454ecf80a4
Make the concept of "module index" generalized to domains. As a side-effect, the latex modindex is no longer generated by LaTeX.
2010-02-20 01:13:23 +01:00
Georg Brandl
03d5917a53
Split out test_build_latex.
2010-01-17 12:29:00 +01:00
Georg Brandl
2a2a66a923
merge with trunk
2010-01-08 18:55:35 +01:00
Georg Brandl
c80f52dfbf
Added `tab-width
option to
literalinclude
` directive.
2010-01-08 18:36:58 +01:00
Georg Brandl
b1c937f0d9
merge with trunk (not working perfectly yet)
2010-01-07 21:41:03 +01:00
Georg Brandl
2f09d24472
The `html_sidebars
` config value can now contain patterns as keys, and the values can be lists that explicitly select which sidebar templates should be rendered.
...
That means that the builtin sidebar contents can be included only selectively.
2010-01-07 17:56:09 +01:00
Georg Brandl
5cb64a7228
Apply static path exclusion patterns again.
...
Refactor exclusion stuff a bit, so that matchers only have to be compiled once.
2010-01-07 16:39:59 +01:00
Georg Brandl
c9345b33b2
`html_static_path
` can now contain single file entries.
...
Exclusion of static path files is not yet implemented.
HG: Bitte gib eine Versions-Meldung ein. Zeilen beginnend mit 'HG:' werden entfernt.
HG: Leere Versionsmeldung wird das Übernehmen abbrechen.
HG: --
HG: Benutzer: Georg Brandl <georg@python.org>
HG: branch 'default'
HG: added tests/root/_static/excluded.css
HG: added tests/root/_static/subdir/foo.css
HG: added tests/root/templated.css_t
HG: Geändert CHANGES
HG: Geändert doc/config.rst
HG: Geändert sphinx/builders/html.py
HG: Geändert sphinx/util/__init__.py
HG: Geändert tests/root/_static/README
HG: Geändert tests/root/conf.py
HG: Geändert tests/test_build_html.py
2010-01-07 16:20:52 +01:00
Georg Brandl
137e58462d
Activate test that depends on docutils >= 0.5.
2010-01-02 21:16:07 +01:00
Georg Brandl
5e6983b664
merge with trunk
2010-01-02 21:09:25 +01:00
Georg Brandl
82fa1f3cfe
Split off HTML tests from test_build.
2010-01-02 21:08:09 +01:00
Georg Brandl
faeec5cbbb
merge with trunk
2010-01-02 21:03:56 +01:00
Georg Brandl
f3a2854ba9
merge with trunk
2009-12-31 18:40:58 +01:00
Georg Brandl
5d0812fb91
merge with trunk
2009-12-28 19:49:57 +01:00
Georg Brandl
213eba0225
Automatically convert directive functions, and add a test for that.
2009-10-27 19:42:44 +01:00
Georg Brandl
0792ad7498
The `toctree()
callable in templates now has a
maxdepth
`
...
keyword argument to control the depth of the generated tree.
Also add tests for that callable.
2009-09-09 15:56:52 +02:00
Georg Brandl
8f8cc0e270
Move HTML test into own module and add some C references.
2009-09-08 12:07:27 +02:00