You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
# cppreference2mshelp
2
-
cppreference.com html archive to microsoft help converter
2
+
cppreference.com html archive converter to microsoft help (for Windows Visual Studio 2012+) and good old .chm help (for any Windows and even some other platforms)
3
3
4
4
## Prerequires:
5
5
6
6
1) Windows x64 (LOL, I'm mad)
7
7
2) php al least 5.6.1
8
-
3) digital certificate to sign cabs (unsigned cabs will not be installed)
8
+
3) digital certificate to sign cabs for Visual Studio (because unsigned cabs will not be installed) CHM help does not require certificate
9
9
4) cppreference.com offline archive (*Html book*) downloaded from this link: http://en.cppreference.com/w/Cppreference:Archives
10
10
11
11
## Ok, what's inside?
@@ -20,13 +20,15 @@ cppreference.com html archive to microsoft help converter
20
20
21
21
**make_xhtmls.php** - ugly php preprocessor script that fixes and converts thousands of htmls from cppreference to xhtml and Microsoft Help format.
22
22
23
+
**make_chm.php** - another ugly script that makes chm help files: **cppreference.hhc** - table of contents, **cppreference.hhk** - keywords index and _Html Help_ project file - **cppreference.hhp** (for both c and c++). Launch this script directly to make chm help file.
24
+
23
25
**makecab.exe** - tool to make a cab file for Microsoft Help System. Can be found in Microsoft SDK.
24
26
25
27
**signtool.exe** - tool to sign cab files. Can be found in Microsoft SDK.
26
28
27
29
**tidy.exe** and **tidy.dll** - tool to convert html to xhtml and fix many other problems. Can be downloaded here: http://www.html-tidy.org/
28
30
29
-
## Step-by-step instructions:
31
+
## Step-by-step instructions for Microsoft Help Files for Visual Studio:
30
32
31
33
1) download [cppreference.com](http://en.cppreference.com/w/Cppreference:Archives) offline archive and unpack it. Only *Html book* format is acceptable.
32
34
2) download this repo and unpack it to the **reference** folder inside unpacked archive (from cppreference.com).
@@ -42,4 +44,6 @@ Folders **common** and **en** is from archive from cppreference, all other folde
42
44
43
45
**Note:***This repo contain pre-build and signed files that are ready to install into Visual Studio 2012, Visual Studio 2013 (maybe 2015 and 2017 too - I can't test it right now - let me know if you'll do ).*
44
46
47
+
**Note:***If you want to build chm help file, launch***make_chm.php**. Pre-built cppreference.chm file is also added to this repo.
0 commit comments