-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 18/01/12 09:52, Nikolaj wrote:
> I would like to have
> 
> 56     first line of code 57     second line of code
> 
> in my documentation.
> 
> What is the easiest/best way to do this?

It looks like you can use rst include:: and use the start-line/end-line
directives.  There are also start-after/end-before which find text markers.

Look at directives/code.py in the Sphinx source for more ideas or to
modify it.

Roger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk8x7IMACgkQmOOfHg372QR0DACfVkKVSHlXNOE6ao2EQGNMPMfQ
cKAAoLuIjVKpMnZX5UKJF0S0n8K4rmKC
=HYNV
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-dev@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to