A Sphinx extension that enables remote code blocks
Project description
remotecode is an extension for Sphinx that enables code blocks from remote sources.
Full documentation: https://kallimachos.github.io/remotecode/
Installation
Install remotecode using pip:
$ pip install remotecode
Usage
Add remotecode to the list of extensions in conf.py:
extensions = ['remotecode']
Use the remote-code-block directive to fetch remote source code and display it in a code-block.
.. remote-code-block:: ini https://example.com/rawsource.ini
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
remotecode-0.1.0.tar.gz
(2.3 kB
view hashes)
Built Distribution
Close
Hashes for remotecode-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11017c45b1e5476d14051771ff510e4ecd946f955e678cf1bb15836aec94e6f9 |
|
MD5 | 94bd19c5fa41731eb1fd772ef0edbbba |
|
BLAKE2b-256 | 438d90e0831be5ead93afc3b4f0580fb1e182d22fc819601cde650101c36efdc |