Get List of files

gunzip Contents-i386.gz

apt-get install devscripts

Get .deb file

dget ant

Get README.Debian

Extract .deb file

dpkg -c ant_1.6.5-6_all.deb 
dpkg -c ant_1.6.5-6_all.deb |grep README
dpkg -c packages/ant_1.6.5-6_all.deb |sed -e 's/^.\{49\}//'
dpkg -c packages/ant_1.6.5-6_all.deb |sed -e 's/^.\{49\}//' |sed -e 's/ .*//'
dpkg -c packages/ant_1.6.5-6_all.deb |grep README |sed -e 's/^.\{49\}//' |sed -e 's/ .*//'

dpkg -x ant_1.6.5-6_all.deb 

dpkg --fsys-tarfile ant_1.6.5-6_all.deb >ant.tar 
tar -xvf ant.tar  ./usr/share/doc/ant/README.Debian

Covert to MoinMoin

textfile to moinmoin

sudo -u www-data python append-text.py '192.168.1.105/mywiki/' 'ant' 'antREADME.Debian' 

DocBook to ...

http://supportweb.cs.bham.ac.uk/documentation/tutorials/docsystem/build/tutorials/docbooksys/docbooksyshome.html http://www.lodestar2.com/people/dyork/talks/2002/ols/docbook-tutorial/index.html

Here is what you need to get your output. http://people.freebsd.org/~nik/sgmlxml.gif

sphinx

download rst docs (2.0, can be specified for other version) * replace <2.0/....>_ links to <....>_

To work with sphinx,

1. generated default doc framework by 'sphinx-quickstart' command, 2. place 'get_tgdoc.py' into source folder 3. run 'python get_tgdoc.py' to get rst sources 4. add '2.0/indx' and '2.0/RoughDocs' to index.rst 5. run 'make html'

moin

moinmoin converter

http://moinmo.in/MediaWikiConverter http://moinmo.in/ActionMarket/PdfAction http://search.cpan.org/~diberri/HTML-WikiConverter-0.61/lib/HTML/WikiConverter.pm http://txt2tags.sourceforge.net/

MyWiki: debdoc (last edited 2009-09-06 02:50:02 by localhost)