Extending literalinclude to include remote URLs
Sphinx extension that extends the
literalinclude directive to allow remote URLS
python3 -m pip install sphinxcontrib-remoteliteralinclude
Simply just use it as you normally would a normal
.. remoteliteralinclude:: https://example.com/example.java :language: java :lines: 10-29 :linenos: :lineno-start: 10
This is simply a modification of the normal literalinclude extension. Near all of the code is the exact same. Modifications are made by Eli Barnett, with pip module creation by Dalton Smith.
Using the extension to reference local files will not work. Use the regular
literalinclude extension in that case.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size sphinxcontrib-remoteliteralinclude-0.0.4.tar.gz (4.5 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for sphinxcontrib-remoteliteralinclude-0.0.4.tar.gz