The folders in the content directory are represented by real directories. Each directory contains one or more pages (or other subdirectories) in the same way as they will be laid out in the help site's tree. In QuHelp, a folder can have its own contents, so a special file inside the directory is used for the folder's contents. This file is called info.txt - everything inside this file is used for the folder's contents. If a directory has pages but not an info.txt file, some html code is generated by QuHelp that simply lists all the direct subpages of the folder.

Like pages, folders (via the info.txt file) can contain directives and there are some special directives that work only with folders, such as the opened directive which makes the folder appear as opened when the help system is loaded. For an example of this, reload this page and you'll see that the Guide folder is open while the Reference folder is closed (all folders are closed by default).

Empty folders

If a folder is empty, QuHelp will handle it as a normal page and will not create a directory for it in the output directory but instead will create a html file using the folder's name for the name. Since this behavior will change when the folder gains content, it is highly recommended to not use empty folders and use placeholder pages for folder which will be filled later.