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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

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