Extending literalinclude to include remote URLs
Project description
sphinxext-remoteliteralinclude
Sphinx extension that extends the literalinclude
directive to allow remote URLS
Installation
python3 -m pip install sphinxext-remoteliteralinclude
Usage
Simply just use it as you normally would a normal literalinclude
.. rli:: https://example.com/example.java
:language: java
:lines: 10-29
:linenos:
:lineno-start: 10
Important Notes
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for sphinxext-remoteliteralinclude-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20ef2ab6dea672272ec1f4a04486edd15fce33d0008502f804e7acbc62918ae7 |
|
MD5 | adf3eb211f7a748fcb2942a35dba7a61 |
|
BLAKE2b-256 | 1f5d35d1853fc48aa3327d6f7afcd5fd47e01bff42ad4e4ed0148df229b77bf5 |
Close
Hashes for sphinxext_remoteliteralinclude-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 535ee09f42dae9219b76a352d79df89fbc98e4285d7262576843c30aa7836544 |
|
MD5 | 14073078eb845961603e9058813c93f2 |
|
BLAKE2b-256 | 36610f9a489d66b3e854b441f5affc1bd930efaf3b1304ce508bf044fbfa92b7 |