Embed a Document
Te following describes how to physically embed a document inside the HelpNDoc .hnd project, so not linked to an external file.
When the HTML Help is generated, the document is automatically included and available to download.
Step 1 – Embed the Word document
1.Open HelpNDoc.
2.Select Home → Generate Help.
3.Select your HTML documentation build.
4.Click Customize → Build Assets.
5.Click Add Build Asset.
6.Set Source kind to Internal File.
7.Under Internal Content, select your Word .docx file, for example: downloads/User Guide.docx
8.Set Output Path to, for example: downloads/User Guide.docx
The document is now stored inside your .hnd file. You can move the project to another computer without needing the original Word file.
Step 2 – Add a download link
1.Enter the text Download User Guide.
2.Highlight the text and press Ctrl + L.
3.Select File.
4.Enter the path to the file, for example: downloads/User Guide.docx
5.Select Relative path.
6.Leave the Style selection box as Hyperlink (Standard)
7.Click OK.
Step 3 – Generate the documentation
HelpNDoc automatically extracts the embedded the document into the generated HTML output and makes it available through your download link.
Important: You only need to manage the document inside HelpNDoc. You do not need to maintain a separate source file or manually copy it into the generated website.
Topic last reviewed: 26/10/26