I am using python-sphinx for documenting a C code. I am not interested in features offered by doxygen, however I sometime would like to include some snippets from the code-base.
The .. literalinclude::
looks great, but the :lines:
option is a bit weak especially if the code is edited afterwards.
I am thinking about a new option such as :marker-start: <<<HERE
and :marker-end: <<<END
.
What would be the easiest way to achieve this behavior?