.help is the top-level folder of your document, not installed as a file. As a Mac application, this is really a folder with the .app extension
At a basic level, you need to create your html-based set of documents, as you did, and then add the meta
tag named AppleTitle
to your top-level HTML file .html index.html (SurfWriter.html in the examples)
<head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Style-Type" content="text/css"> <title>Foobar Help</title> <meta name="AppleTitle" content="Foobar Help"> </head>
add CFBundleHelpBookFolder
with the value of your folder name (Surfwriter.help) to your plist
add CFBundleHelpBookName
with the value Foobar Help
to your plist (matches the meta tag in your header)
add a custom copy phase to put your .help document folder structure in resources
It should just work after that.
source share