ReST Macro

Description

The ReST Wiki macro translates ReST files hosted on the Subversion repository to HTML snippets.

It requires one argument: the full path of the ReST file to convert:

[[ReST(/trunk/path/to/foo.txt)]]

The macro uses internal Trac ReST publisher and there's an optional cache system to make it more reliable. To activate it you only have to create a directory named 'rst_cache' in the trac environment. This directory would be writable by the user running trac.

Bugs/Feature Requests

Bugs and feature requests for ReSTMacro should be mailed to phil at base-art dot net

Download

The macro is hosted as a plugin in the following SVN repository:

http://svn.pythonfr.org/public/pythonfr/utils/trac/rest_macro/

There's no .egg directly available yet.

Example

[[ReST(/trunk/docs/design.txt)]]

The generated HTML will always be kept in sync with the corresponding ReST file in SVN.

Author/Contributors

Author: Philippe Normand