wiki:Page2DocbookPlugin

Version 25 (modified by figaro, 6 years ago) (diff)

Cosmetic changes

Page2DocBook - Export wiki pages as docbook documents

Notice: This plugin is unmaintained and available for adoption.

Description

This plugin allows you to export the wiki pages of your Trac project in the DocBook format. DocBook is a semantic markup language for technical documentation. DocBook files are used to prepare output files in a wide variety of formats. Nearly always, this is accomplished using DocBook XSL stylesheets. These are XSLT stylesheets that transform DocBook documents into a number of formats (HTML, XSL-FO for later conversion into PDF, etc.).

Bugs/Feature Requests

Existing bugs and feature requests for TracMetrixPlugin are here.

If you have any issues, create a new ticket.

defect

6 / 8

Download

Download the latest revision from here.

There is also a Python Egg (v0.6.3).

There is a companion python script that retrieves all the docbook files for a given set of wiki pages. It saves the docbook files to the local computer, along with any attached image file, making them ready for processing with any other tool that receives docbook as input.

This script is currently mostly undocumented, but I believe it is simple enough to be easily understood.

Source

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

Installation

This plugin was tested with Trac versions 0.10 and 0.11. Please ensure the following python modules are installed before installing this plugin:

  • python-uTidyLib (note: if you're using a 64bit OS, you may need this fork, or more specifically, this this patch)
  • python-libxml2
  • python-libxslt

General instructions on installing Trac plugins can be found on the TracPlugins page.

After installing, a new alternative format should appear on the bottom of each wiki page, next to the "Plain Text" link.

Recent Changes

16514 by rjollos on 2017-04-16 01:42:20
Fix identation
16394 by rjollos on 2017-03-25 09:20:58
Remove eggs
6400 by FilipeCorreia on 2009-08-20 17:15:48
Updated the version number to 0.6.3 final, and built the egg
(more)

Author/Contributors

Author: FilipeCorreia
Maintainer: none (needsadoption)
Contributors: Oliver Steele for his html2db stylesheets