Add an "Edit on GitHub" button to your code examples.
Use it to add an Edit on GitHub button to your code source files, or to show the complete code when the
literalinclude directive renders a subset of the file.
.. viewsource:: snippets/hello.py :language: python :lines: 2
Add the extension to your project following the :doc:`installation instructions <installation>`.
.. toctree:: :caption: Table of Contents :maxdepth: 2 installation resolve-link changelog