shirou
4e70d364ba
add test and document about diff params in literalinclude.
2014-08-12 14:11:54 +09:00
Takayuki Shimizukawa
d39327d539
* for pull request #258 : update CHANGES, add tests, add a document and refactoring.
2014-08-10 23:03:02 +09:00
EricFromCanada
65e924a3e4
rewrapping paragraphs when over 80 characters wide
2014-06-18 11:53:25 -04:00
Georg Brandl
1eb23c62ce
merge with stable
2014-01-22 18:13:49 +01:00
Georg Brandl
38f47bc0ef
Closes #1356 : link to page with valid Pygments lexer alias
2014-01-22 17:28:04 +01:00
Georg Brandl
2458e5731a
Add :filename: also for literalinclude. Changelog entry.
2014-01-19 11:04:12 +01:00
Georg Brandl
1d564ace28
merge stable into default
2014-01-11 14:53:07 +01:00
Georg Brandl
b29226a060
Closes #845 : In code blocks, when the selected lexer fails, display line numbers nevertheless if configured.
2014-01-11 10:00:49 +01: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
ad5d9f7c6b
Add changelog entry for emphasize-lines and some coding style fixes.
2011-09-22 09:29:36 +02:00
Mark Lodato
2c0f936e6b
add :emphasize-lines: option to source-code and literal-include
...
Add a new option, :emphasize-lines:, to the source-code and
literal-include directives. The format is the same as the :lines:
option for literal-include. The resulting list of lines is passed to
the Pygments formatter as 'hl_lines', which is only honored by the HTML
formatter.
2011-07-06 22:58:19 -04:00
Georg Brandl
f4f3066581
Use the new rst domain in the sphinx docs.
2010-04-17 10:39:51 +02:00
Georg Brandl
c80f52dfbf
Added `tab-width
option to
literalinclude
` directive.
2010-01-08 18:36:58 +01:00
Georg Brandl
fb0791bdfc
Added the `prepend
and
append
` options to the
...
``literalinclude`` directive.
2009-06-04 17:57:58 +02:00
Georg Brandl
fb511a015a
Paths to literal include files and download files can now be absolute too.
2009-02-24 13:38:15 +01:00
Georg Brandl
2f13231fbd
merge with 0.5
2009-02-23 19:24:02 +01:00
Georg Brandl
cadb5af9f1
Note that Python code in code blocks is parsed.
2009-02-23 19:23:08 +01:00
Georg Brandl
aedbdd953d
Fix more line length and trailing whitespace.
2009-01-10 22:18:18 +01:00
Georg Brandl
9fc2437773
Document new literalinclude options.
2009-01-02 00:32:02 +01:00
Georg Brandl
c80dc58ac1
Rename "object" to "pyobject" and document it.
2008-12-30 15:45:02 +01:00
Georg Brandl
a857b89a23
UTF-8 isn't mandatory anymore.
2008-10-16 20:31:28 +00:00
Georg Brandl
6a7e6315c2
Commit missing doc change.
2008-09-23 21:27:12 +00:00
Georg Brandl
7d3539c041
Add default highlight language selection support.
...
Add support for recognizing Python 3 console output.
2008-09-09 19:10:09 +00: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
Georg Brandl
ca528099f6
Update documentation, add more content.
2008-03-16 11:19:26 +00:00
Georg Brandl
06dd99e1a1
Expand the markup chapter a bit.
2008-03-15 09:06:04 +00:00