Sphinx generating Windows Help files (. chm files)

Source: Internet
Author: User

This article does not describe the use of Sphinx, but simply outlines the steps to generate a. chm file under Windows.

0. First check if the machine has HTML help Workshop software installed, the general installation path should be C:\Program Files (x86) \html help Workshop\hhw.exe

If not installed, download the installation package Htmlhelp.exe double-click Install, address is https://msdn.microsoft.com/en-us/library/ms669985

1. When compiling the output file, use the command: Make HTMLHelp

This will be in the. In the \build\htmlhelp directory, generate the HTML Help project file. hhp file, right-click the file, select Default Open with C:\Program files (x86) \html

Click Compile below,

 

The. chm file can be generated when the compilation is complete.

2. Click on the Help menu button on the Python development to open the. chm file method

Import subprocesssubprocess. Popen ([R'C:\Windows\hh.exe', R'absolute/path/to/.chm' ])

Finish.

Sphinx generating Windows Help files (. chm files)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.