问题
I used doxygen to create HTML files, now I want to convert that documentation into .chm format.
How can I do this?
回答1:
NDoc is a dead project, it's successor is Sandcastle & Sandcastle Helpfile Builder.
I've used both of the Sandcastle items. They're easy to setup, have decent documentation and chm file generation is native to the application. If you can switch, it would be a much better choice than doxygen.
Otherwise check out this link for HTML to chm info: http://younsi.blogspot.com/2007/04/doxygen-to-html-to-chm.html
回答2:
The original NDoc project is dead, but there is a new project called NDoc3.
NDoc3 supports .NET 2.0 - 3.5. It is currently available as a beta version and worked great for me. I'm not sure if the project is still active - the last beta was release in april 2009.
回答3:
All you need besides Doxygen is the HTML Help compiler, which you can find on the Microsoft website.
You can then use Doxywizard to point Doxygen to the compiler executable (hhc.exe). Check the "GENERATE_HTMLHELP" box, choose a location to place the .chm file and you're good to go.
回答4:
If you don't like having an external help compiler (for deployment you need to officially deploy the entire SDK afaik), there is also libchm, which is a Open Source C library that can write chms.
Delphi users might want to look at Free Pascal's paralel implementation of libchm, since a pascal solution makes it easier embeddable.
回答5:
use NDoc
回答6:
You can try KEL CHM Creator if that suit you.
来源:https://stackoverflow.com/questions/705836/how-can-i-create-chm-files-from-c-sharp-code