Skip to main content

A collection of Sphinx extensions

Project description

Rusty is a collection of extensions (directives and roles) for Sphinx documentation framework. While the extensions are somewhat compatible with docutils, the usage of Sphinx is currently required.

Features

At the moment, the Rusty contains following extensions:

rolelist

Generates list from the selected set of role entires, written into document. This might come handy for example with release notes where bug entries (marked with role syntax) are listed automatically:

Bug fixes
=========
Following bugs are fixed in this release:

.. rolelist:: bug
   :levelsup: 1
   :template: #${value}: ${text}
   :siblings:

Changes
=======
This section lists down all the changes gone in the current release:

* Fixed :bug:`application crashes <235>` -issue
* Fixed :bug:`application fails to load document <236>` -issue
* Fixed :bug:`523`: typos in the documentation
* Added support for python 2.6, this fixes the :bug:`140`
* Improved the performance
includesh

Includesh (or include shell) extends the basic functionality of include directive: instead of just including the contents of the file into document, the includesh transforms the shell comments into documents and commands into literal blocks:

This section lists down the installation step from the setup.sh:

.. includesh:: setup.sh
regxlist

Similar to rolelist directive. The main difference is the capability to create list based on regular expression rule.

xmltable

Similar functionality to csv-table - one of the docutils directives: read data from XML/HTML file and convert it to RST-table based on given query and iterator. Requires BeautifulSoup -module.

Installation

The easiest way to install the package is to use easy_install:

easy_install -U rusty

Alternative method is to download the package manually, extract it and install it using traditional methods:

sudo python setup.py install

Documentation

Documentation provides further information and examples how to use the module. There exists two resources:

Changelog

Release 0.2.0 (2009-06-01)

Changes since previous release:

  • New directive: xmltable

  • New directive: regxlist

  • Improved unit testing

  • Improved building

  • Migrated version control from subversion to mercurial

  • Published the project in Bitbucket: http://bitbucket.org/jmu/rusty

  • Added FAQ

Release 0.1.0 (2009-03-31)

First release, containing following functionality

  • New directive: includesh

  • New directive: rolelist

  • Initial set of unit tests (see testing)

  • Paver powered build and release management

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

rusty-0.2.0.tar.gz (14.2 kB view hashes)

Uploaded Source

Built Distribution

rusty-0.2.0-py2.6.egg (27.4 kB view hashes)

Uploaded Source

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