No More CHM

I used to include the documentation of software I write, such as Irrlicht and irrKlang in the form of CHM files, a file format by Microsoft consisting of compressed HTML files with an index and table of contents.
The problem with this is that .chm viewers are only natively installed on Windows operating systems, users with Linux or Mac OS X usually have to download some external software to read the documentation. Additionally, it seems that because Microsoft now considers its own file format a security risk and instead of fixing the hole, sometimes the CHM Viewer (aka Internet Explorer) seems to refuse to show the content of those files, and in some cases (from my experience) it cannot even be forced to show the file nevertheless.

That's the reason why I now decided to stop using .chm files and include the .html and .png files directly, in uncompressed form in the SDKs. Anyone today knows how to open .html files and as doxygen now also includes a nice JavaScript based search functionality, the switch should be painless.

To begin with irrKlang, the next release (to be released in the next days) will no longer include .chm files.

thirteen comments, already:

I always wondered when you would change that.. good to know you finally did it :)..
Rapchik () - 19 11 09 - 14:32

You should try a PDF format. It’s quite nice.
Anthoni () - 19 11 09 - 14:34

Well, I actually find the CHM documentation quite useful, it’s more compact than the HTMLs and in my opinion, it’s just faster to search in it than looking in the tons of the HTML files. Maybe at least the PDF as a replacement as Anthoni advises wouldn’t be bad …
RedDragCZ () (link) - 19 11 09 - 16:24

The PDF format wouldn’t be bad at all. You can use SVG graphics from programs like Word and OpenOffice Writer to create some really nice things. CHM’s are getting old, and PDF are new and support more, I truly believe it to be the correct choice.
Anthoni () - 19 11 09 - 17:13

Although I like the CHM documentation in Windows, it is a pain to use on Linux and OSX. The HTML documentation is also quite painful as there are far too many files, PDF isn’t an ideal choice for API docs either.

Given the options I completely agree, HTML is the most flexible, cleanest and open solution. It would be nice if we had better DoxyGen scripts for Irrlicht, or some kind of post-processing to combine everything into a small number of sections
Gaz () (link) - 19 11 09 - 18:57

You can use the Qt Assistant, give it a try, works with Linux, Windows, Mac
Axel - 19 11 09 - 20:25

PDF is much better considering you don’t have to know HTML to write the documentation, you can include graphics that the CHM’s don’t support, and most people have a PDF reader on their computer. So PDF is the optimal choice.
Anthoni - 19 11 09 - 21:06

We already had a pdf for Irrlicht 1.5. Check the Irrlicht download page, any feedback for improvements is welcome :-)
hybrid - 19 11 09 - 22:08

The only reason why I often used the chm help is because of it’s search feature. Now if doxygen provides that as well I see no problem in dropping chm.
Brainsaw (link) - 20 11 09 - 07:32

Have you considered an help authoring software such as HelpNDoc which is available for free and produces CHM, PDF, RTF and HTML documentation from a single source ? We will gladly provide a license of the Professional Edition if you’d like, as a big thank you for the amazing work you are doing with Irrlicht.
John (link) - 20 11 09 - 09:18

@hybrid: hm, the 1.5 sdk doesn’t include a pdf..? (just tried out)

@john: wow, that would be surely great. I’m not sure how that would work with irrlicht as open source project (were there are ~ 10 developers and we are using autogenerated docs) but for other projects like irrKlang or CopperCube it could really be interesting. I’ll try helpndoc in the next weeks and have a look at it.
niko - 20 11 09 - 11:14

The pdf is a separate download, it’s in the same “folder” as the SDK. I’ve also reorganized some files today, hope they’re more easily found now.
hybrid - 20 11 09 - 23:34

One advantage of using chm is the easy implementation of context sensitive help. At least when creating an MFC application. Not much in the case of developing dll’s of course.
evo - 22 11 09 - 16:26

Remember personal info?
Email (optional):
URL (optional):
Enter "layered" (antispam):
Comment:Emoticons / Textile

  ( Register your username / Log in )

Notify: Yes, send me email when someone replies.  

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.
Note: If you type in your email adress above, it will be visible to other visitors, although it will be hidden for bots using javaScript.