A reST directive for Sphinx that shows (and highlights) source code from an external source code file. The snippet can be either the whole file, or more particularly, just part of the file. Named fences defined in the source code's comments can be used to extract a source code snippet. (Comment fences are better than specifying line number ranges since line numbers change too frequently).
Source code could be specified multiple ways
- Filesystem path
- Remote git path + branch + file path
- Python namespace path
Part of lsst_sphinx_kit