Search code examples
c++archiveeigenchm

How to archive the Eigen C++ 3.2.0 online document into a single mht?


I find the online document of Eigen C++ template library is very useful in learning the algorithms and their usages: Eigen 3.2.0 documentation but is only available online or as separate html files.

How to combine all these documents into one *.mht or *.chm file so that all the indices and cross-reference links are all active for use?

Should the unsupported features be combined together?


Solution

  • I build it, you can download this file. PS: The file has a script error when click the page.

    Also you can build it by yourself:

    1. download and unzip the source code.

    2. install CMake.

    3. install Doxygen.

    4. install HTML Help Workshop and Documentation

    5. configure and generate the Doxyfile by CMake.

      • run the cmake-gui.exe
      • set the source code directory to Where is the source code
      • set a output directory to Where to build the binaries
      • press Configure button
      • press Generate button
      • you can find the Doxyfile in [CMake Output Directory]\doc.
    6. configure and generate CHM by Doxygen and HTML Help Workshop and Documentation.

      • run the doxywizard.exe
      • open the Doxyfile, generated by CMake, in Doxygen.
      • in Expert page, make GENERATE_HTMLHELP checked and set the HHC_LOCATION to the hhc.exe from HTML Help Workshop.
      • in Run page, click Run doxygen
      • at last, it will generate a chm file, named index.chm in [CMake Output Directory]\doc\html.

    Good luck.

    About script error, thank @LCFactorization. :)

    "I find the script error is only caused by internet explorer's security level; setting it to high solves the problem." from @LCFactorization.