c++ - 如何将 Eigen C++ 3.2.0 在线文档归档到单个 mht 中?

标签 c++ archive eigen chm

我发现 Eigen C++ 模板库的在线文档对于学习算法及其用法非常有用:Eigen 3.2.0 documentation但只能在线使用或作为单独的 html 文件使用。

如何将所有这些文件合并到一个*.mht*.chm文件中,以便所有的索引交叉- 引用链接 都可以使用吗?

是否应该将不支持的功能组合在一起?

最佳答案

我建,你可以download this file . PS:点击页面时文件出现脚本错误

也可以自己搭建:

  1. 下载并解压 source code .

  2. 安装 CMake .

  3. 安装 Doxygen .

  4. 安装 HTML Help Workshop and Documentation

  5. 通过CMake配置并生成Doxyfile .

    • 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. 通过Doxygen配置和生成CHM和 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.

祝你好运。

关于脚本错误,感谢@LCFactorization。 :)

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

关于c++ - 如何将 Eigen C++ 3.2.0 在线文档归档到单个 mht 中?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21641780/

相关文章:

c++ - 虚幻引擎中的链接错误

c++ - 如何使用 Microsoft 链接器工具链接静态 MFC 库

c - 重新排列文件的内容

c++ - 如何断点多个 C++ 模板方法,就像非模板一样?

c++ - 从 vector 中检索字符串

javascript - Node : res. 下载下载空压缩文件夹

wordpress - 如何更改 WordPress 存档 URL 模式?

c++ - C++ 中 Eigen 的 DiagonalMatrix 类型的高效存储

c++ - 用 std::vector 初始化 Eigen::vector