Takeshi KOMIYA
736615c18c
Optimized tests: remove markups for warnings
2016-07-15 00:30:44 +09:00
Georg Brandl
c1b7b6f369
The default highlight language is now Python 3.
...
References: #2279 .
This means that source code is highlighted as Python 3 (which is mostly
a superset of Python 2), and no parsing is attempted to distinguish
valid code.
2016-02-14 09:21:35 +01:00
Jeppe Pihl
bbfe4d3bb9
fixed issues with line numbering not being showed correctly.
2014-10-02 00:41:30 +02:00
Jeppe Pihl
de8f428528
#1583 : Allow the line numbering of the directive literalinclude to match that of the included file, using a new `lineno-match` option.
2014-09-30 00:11:28 +02:00
Georg Brandl
90c7adba6d
rename "literal.inc.orig", too easy to delete together with other merge backup files
2014-09-07 15:28:58 +02:00
shirou
4e70d364ba
add test and document about diff params in literalinclude.
2014-08-12 14:11:54 +09:00
Georg Brandl
269ef714f3
Closes #668 : Allow line numbering of `code-block and literalinclude` directives
...
#to start at an arbitrary line number, with a new ``lineno-start`` option.
2014-01-11 08:44:45 +01: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
59c3a708a6
merge with 0.6
2010-02-07 23:42:54 +01:00
Georg Brandl
4688518d8d
Make the `start-after and end-before options to the literalinclude` directive work correctly if not used together.
2010-01-30 18:49:42 +01:00
Georg Brandl
c80f52dfbf
Added `tab-width option to literalinclude` directive.
2010-01-08 18:36:58 +01:00
Georg Brandl
ea97a6b181
merge with 0.6
2009-12-28 19:43:55 +01:00
Georg Brandl
b45ec23724
Remove option added in docutils 0.6.
2009-12-28 19:43:45 +01:00
Georg Brandl
0238b8322d
merge with 0.6
2009-12-24 13:32:16 +01:00
Georg Brandl
88e54f951b
#299 : Fix the mangling of quotes in "include:: :literal:" blocks.
2009-12-24 13:19:07 +01:00
Georg Brandl
288af885c2
merge with 0.6
2009-06-04 18:47:43 +02:00
Georg Brandl
137db91d77
When highlighting Python code, ignore extra indentation before
...
trying to parse it as Python.
2009-06-04 18:21:26 +02:00
Georg Brandl
fb0791bdfc
Added the `prepend and append` options to the
...
``literalinclude`` directive.
2009-06-04 17:57:58 +02:00
Georg Brandl
4d083fabbe
Add tests for new literalinclude options, and fix an off-by-one bug.
2009-01-03 12:29:42 +01:00
Georg Brandl
b3d55c3139
Close #4 : Added a `:download:` role that marks a non-document file
...
for inclusion into the HTML output and links to it.
2008-12-28 21:30:25 +01:00
Georg Brandl
b4f71aa642
Merged revisions 65283,65303,65316-65317,65372-65375,65377,65380,65483-65485,65494 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/doctools/branches/0.4.x
........
r65283 | georg.brandl | 2008-07-29 10:07:26 +0000 (Tue, 29 Jul 2008) | 2 lines
Update ez_setup.py.
........
r65303 | benjamin.peterson | 2008-07-30 12:35:34 +0000 (Wed, 30 Jul 2008) | 1 line
add a with_testapp decorator for test functions that passes the TestApp instance in a cleans up after it
........
r65316 | benjamin.peterson | 2008-07-30 23:12:07 +0000 (Wed, 30 Jul 2008) | 1 line
make the app for test_markup global to the module
........
r65317 | benjamin.peterson | 2008-07-30 23:31:29 +0000 (Wed, 30 Jul 2008) | 1 line
make TestApp.cleanup more aggressive
........
r65372 | georg.brandl | 2008-08-01 19:11:22 +0000 (Fri, 01 Aug 2008) | 2 lines
Add more tests, fix a few bugs in image handling.
........
r65373 | georg.brandl | 2008-08-01 19:28:33 +0000 (Fri, 01 Aug 2008) | 2 lines
Fix oversight.
........
r65374 | benjamin.peterson | 2008-08-01 19:36:32 +0000 (Fri, 01 Aug 2008) | 1 line
fix one broken test
........
r65375 | georg.brandl | 2008-08-01 19:41:11 +0000 (Fri, 01 Aug 2008) | 2 lines
Fix the handling of non-ASCII input in quickstart.
........
r65377 | georg.brandl | 2008-08-01 19:48:24 +0000 (Fri, 01 Aug 2008) | 2 lines
Allow REs in markup checks.
........
r65380 | georg.brandl | 2008-08-01 20:31:18 +0000 (Fri, 01 Aug 2008) | 2 lines
Don't rely on mtimes being different for changed files.
........
r65483 | georg.brandl | 2008-08-04 09:01:40 +0000 (Mon, 04 Aug 2008) | 4 lines
Add an "encoding" option to literalinclude.
Add tests for include directives.
........
r65484 | georg.brandl | 2008-08-04 09:11:17 +0000 (Mon, 04 Aug 2008) | 2 lines
Add changelog entry.
........
r65485 | georg.brandl | 2008-08-04 09:21:58 +0000 (Mon, 04 Aug 2008) | 2 lines
Fix markup.
........
r65494 | georg.brandl | 2008-08-04 16:34:59 +0000 (Mon, 04 Aug 2008) | 2 lines
Correctly use HTML file suffix in templates.
........
2008-08-04 17:01:15 +00:00