Closed daurer closed 8 years ago
Use for example:
.. literalinclude:: ../examples/scripts/simple/example.py :language: python
On Mon, Jul 18, 2016 at 4:11 PM, Benedikt Daurer notifications@github.com wrote:
It should be possible to have the documentation of the examples to be dependent on the actual example files. This avoids out-dated example docs and ugly copy-pasting.
b
Max Felix Hantke Ph.D. student Laboratory of Molecular Biophysics Uppsala University
www.lmb.icm.uu.se
Thanks, this is exactly what I was looking for.
It should be possible to have the documentation of the examples to be dependent on the actual example files. This avoids out-dated example docs and ugly copy-pasting.