wiki:TracDocBookPlugin

Version 3 (modified by William Ghelfi, 15 years ago) (diff)

--

Trac DocBook Plugin

Notice: This plugin is unmaintained and available for adoption.

Description

Adds support for DocBook syntax to the Trac Wiki.

Based on docbook.py processor by Simon Ward.

You will find some unused stuff (imports and defs); that's because:

  • I started from TracMathPlugin
  • I'm not a Python programmer
  • the current version works for me
  • I've not time nor the required skills for mantaining this plugin :-/

Bugs/Feature Requests

Existing bugs and feature requests for TracDocBookPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from [download:tracdocbookplugin here].

Source

You can check out TracDocBookPlugin from here using Subversion, or browse the source with Trac.

Installing

Requires:

  • python-libxslt
  • python-libxml
  • docbook-xsl
$ easy_install <svn_source_URL_up_there>

Configuring

Enable as usual in trac.ini

[components]
tracdocbook.tracdocbook.tracdocbookplugin = enabled

Specify the docbook stylesheet in trac.ini

[tracdocbook]
stylesheet = /usr/share/xml/docbook/stylesheet/nwalsh/xhtml/docbook.xsl

The previous stylesheet path will work out-of-the-box with Ubuntu 8.10 and docbook-xsl package

Example

{{{
#!docbook
... some docbook syntax ...
}}}

Recent Changes

15264 by rjollos on 2016-02-11 04:22:34
Remove unnecessary svn:mime-type on py files

svn:mime-type was set to "plain" for many files.

6032 by trumbitta on 2009-06-11 10:10:26
#fixes 5354
6031 by trumbitta on 2009-06-11 10:07:16
(more)

Author/Contributors

Author: trumbitta
Contributors: