Enhance Sphinx and send patch, or put wish-list into their bugzilla:
This snippet of markup inserts a piece of a file into a document, when Sphinx compiles it.
.. literalinclude:: models/biological/exponential_growth.siml :lines: 5-10 :language: siml :linenos:
However in the generated (html) document the line numbers start with one; but they should IMHO start with 5.
Enhance Sphinx and send patch, or put wish-list into their bugzilla:
This snippet of markup inserts a piece of a file into a document, when Sphinx
compiles it.
.. literalinclude:: models/ biological/ exponential_ growth. siml
:lines: 5-10
:language: siml
:linenos:
However in the generated (html) document the line numbers start with one;
but they should IMHO start with 5.