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

Warning

This extension is deprecated. Please use the remotecode extension provided in the chios package.

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.

Files for remotecode, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size remotecode-0.1.2-py2.py3-none-any.whl (4.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size remotecode-0.1.2.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page