Skip to content Skip to sidebar Skip to footer

Make Viewcode Show Module Sources

I am trying to make a cookbook out of some Python snippets using Sphinx. Each snippet is a self-contained Python script and has a tutorial-type doctsring. I want to have a source l

Solution 1:

I hope you haven't sat for two years waiting for an answer, but try using the literal include tag. You can play around with what gets displayed.

See the sphinx docs for more details.


Post a Comment for "Make Viewcode Show Module Sources"