Page 1 of 1

Documentation formats

Posted: Sat Oct 06, 2007 4:09 am
by JamesM
What format do you guys use for your documentation?

I was wanting to use a structured, xml based format like DITA/DocBook, but the rendering toolchain is SERIOUSLY complex and XSL stylesheets are a nightmare to change.

Just wondering :P

Posted: Sat Oct 06, 2007 4:16 am
by Zacariaz
Real men dont read manual or documentation, thus theres really no nead to write any ;)

Posted: Sat Oct 06, 2007 4:36 am
by JamesM
Hmm... right then. I assume you don't work in CS for a living? ;)

Posted: Sat Oct 06, 2007 5:37 am
by Zacariaz
CS? Whats CS? Since in dont know i supose i dont... ;)

Posted: Sat Oct 06, 2007 6:30 am
by Tyler
Customer Service?

Posted: Sat Oct 06, 2007 6:35 am
by JamesM
Well, I was referring to Computer Science - was that Customer Service reference a joke or an insult?

Posted: Sat Oct 06, 2007 6:57 am
by Tyler
Actually it seemed logical, given that people don't work in Computer Science, and good Documenation is useful for the Customer Service Departments.

So, i'll say, it's the Joke one!

Posted: Sat Oct 06, 2007 10:51 am
by JamesM
Oh, OK - You thought I was referring to "computer science" in academia only? That term can encompass pretty much all development jobs.

Back on topic, I was looking for documentation formats.

Posted: Sat Oct 06, 2007 11:10 am
by earlz
I mostly just use somethign like OpenOffice to make stuff, and then export it to PDF...but, you may also wish to do somethign like that, and then export to html...

I'm pretty simplistic though...

Posted: Sat Oct 06, 2007 11:22 am
by JamesM
Yes, I did have that idea. I would like something a little more structured however.

I'm erring on the side of wikimedia format atm: my project is hosted on googlecode which has built in wiki pages...

Posted: Sat Oct 06, 2007 11:14 pm
by JackScott
Have you looked at TeX / LaTeX? It's pretty well structured (that being the whole point of LaTeX), and exports to PDF so all the 'normal' people can read it. :P

http://en.wikipedia.org/wiki/LaTeX

Posted: Sun Oct 07, 2007 12:32 am
by AndrewAPrice
Have you looked at Microsoft Assistance Markup Language? It's sort of XML based, and there are several tools on the Internet to covert it to HTML and PDF.

Posted: Mon Oct 08, 2007 8:31 am
by Solar
Personally I use a Wiki for creating / updating / keeping dokumentation alive, and export to HTML for snapshot / distribution. For something beyond hobbyist use, I'd prefer PDF, as HTML doesn't allow for easy hardcopy and makes full-text search a pain.

Everything else is a PITA, IMHO, because it forces people to install / use software they don't have on their system already.

For PDCLib, which is pretty code-centric anyhow, well-placed comments and a Readme.txt must suffice.

Posted: Mon Oct 08, 2007 8:59 am
by JamesM
Thanks guys. I've gone for using DocBook format (based on XML).

The developer must install a toolchain to build the docs, but that's easy enough and I've documented it already. It exports to PDF, XHTML and man pages and I've just hacked together a script to make GoogleWiki code from it so I can put it on my wiki pages at googlecode.com

Cheers for the input.

Posted: Mon Oct 08, 2007 7:10 pm
by AndrewAPrice
I found Doc-o-Matic really cool. It can export to HTML help files (there are lots of viewers for Gnome/KDE on Sourceforge), plain HTML, PDF, and some other formats.