trac2rst can be used to help users in the task to pass documentation from Trac to Sphinx (reStructuredText).
Usage example
Type trac2rst --help
You can view a simple wiki transfomation (used for manual test):
bin/trac2rst -i src/trac2rst/tests/wikitext.txt -u https://trac.yaco.es/project/ -o /tmp/test.rst && rst2html /tmp/test.rst /tmp/test.html && firefox /tmp/test.html
Disclaimer
This is a quick and dirty tool. It does not use reST or wiki processor. The work is done using regular expressions.
Product's homepage
Here are some key features of "trac2rst":
It only processes:
· Headers (sections at 4 levels)
· Lists (bullets and numbered)
· Trac links.
· A subject of trac and rest inliners
It does NOT support (a lot):
· Trac macros
· Trac processors
· Links between wiki pages
· Rest definition lists, etc
· Preformatting
· Images
· Tables
· Footnotes
· Anchors
· Citations
· Comments
· A lot more ...
Requirements:
· Python
What's New in This Release: [ read full changelog ]
· Fix error in project URL