HelpNDoc allows you to associate an unlimited number of files with each build. These build assets are automatically exported to the build's output directory, maintaining their relative structure.

This feature is particularly beneficial when you need to include additional files that are essential for your documentation's functionality, such as:

Access the "Build assets" panel

Each build has its own set of build assets. To access the "Build Assets" panel:

Build assets management

Build assets properties

When a build asset is selected, its properties can be customized in the "Asset properties" panel:

Example Use Cases for Build Assets in HelpNDoc

Build assets allow you to associate external or internal files with your documentation, ensuring they are exported to the build's output directory. This can be useful in a variety of scenarios, including:

1. Customizing HTML Documentation with CSS & JavaScript

Use Case: You are generating an HTML-based documentation website and want to apply a custom design or add interactive elements.

Solution:

Result: When the documentation is generated, these files are automatically placed in the output directory, ensuring your HTML pages have the correct styling and functionality.

2. Packaging Additional Resources with Documentation

Use Case: Your documentation references supplementary files such as PDFs, spreadsheets, or example data files that users need.

Solution:

Result: When users download the documentation package, all necessary files are included, preventing missing resource issues.

3. Automating File Deployment for Web-Based Documentation

Use Case: Your organization publishes online documentation that needs additional assets, such as downloadable files, fonts, or scripts.

Solution:

Result: The web-based documentation is automatically published with all necessary resources, eliminating the need for manual file uploads.