Skip to main content

**DEPRECATED** A Sphinx extension that enables remote code blocks

Project description

https://travis-ci.org/kallimachos/remotecode.svg?branch=master https://img.shields.io/pypi/status/remotecode.svg?style=flat https://img.shields.io/pypi/v/remotecode.svg?style=flat https://img.shields.io/badge/Python-2.7-brightgreen.svg?style=flat https://img.shields.io/badge/Python-3.4-brightgreen.svg?style=flat http://img.shields.io/badge/license-GPL-blue.svg?style=flat

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

  1. Add remotecode to the list of extensions in conf.py:

    extensions = ['remotecode']
  2. 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


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.2.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

remotecode-0.1.2-py2.py3-none-any.whl (4.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file remotecode-0.1.2.tar.gz.

File metadata

  • Download URL: remotecode-0.1.2.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for remotecode-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b19f055e02246231108b62d528f260ec07649386a7bc102f87b9fd61259fc997
MD5 09b23e02457b1ce626b15c6b7b615337
BLAKE2b-256 8736898d2cb32012d21f41bd426c962fb1d4caa9427792773d0d1e622108047c

See more details on using hashes here.

File details

Details for the file remotecode-0.1.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for remotecode-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ade5fe4513558a3aace1ba430cd6a2f89356ed4abee7de3c8a838fd8dfacaf23
MD5 380ac00dc1cb52ee6f81db80f9b898d4
BLAKE2b-256 4e251151236880fdc9aa6b4c99a28f21dc8fba605cd9ace23f056fb7a769410d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page