Embed code from the source in sphinx
dridi at varni.sh
Tue Aug 11 10:07:43 CEST 2015
I'd like to show code snippets (eg. struct definitions) in the
documentation, but also be future-proof. Instead of hard-pasting the
code and risk divergence over time, I'd like to tell sphinx to extract
a piece of code instead.
Initially asked on IRC, just in case someone would know because my
research tells me that it can't be done. I have already seen struct
definitions in the docs so I have little to no hope... Someone who
knows better might be on holidays, so asking here instead.
More information about the varnish-dev