private void buildJavaHelpFiles(LinkDatabase linkDatabase) {

		Path outputDirectory = Paths.get(outputDirectoryName);
		JavaHelpFilesBuilder fileBuilder =
			new JavaHelpFilesBuilder(outputDirectory, moduleName, linkDatabase);

		HelpModuleCollection helpInput = collectInputHelp();

		// 1) Generate JavaHelp files for the module (e.g., TOC file, map file)
		try {
			fileBuilder.generateHelpFiles(helpInput);
		}
		catch (Exception e) {
			exitWithError("Unexpected error building help module files:\n", e);
		}

		// 2) Generate the help set file for the module
		Path helpSetFile = outputDirectory.resolve(moduleName + HELP_SET_OUTPUT_FILE_APPENDIX);
		Path helpMapFile = outputDirectory.resolve(moduleName + MAP_OUTPUT_FILE_APPENDIX);
		Path helpTOCFile = outputDirectory.resolve(moduleName + TOC_OUTPUT_FILE_APPENDIX);
		Path indexerOutputDirectory =
			outputDirectory.resolve(moduleName + HELP_SEARCH_DIRECTORY_APPENDIX);

		JavaHelpSetBuilder helpSetBuilder = new JavaHelpSetBuilder(moduleName, helpMapFile,
			helpTOCFile, indexerOutputDirectory, helpSetFile);
		try {
			helpSetBuilder.writeHelpSetFile();
		}
		catch (IOException e) {
			exitWithError("\tError building helpset for module: " + moduleName + "\n", e);
		}
	}
A class to build help for an entire 'G' application.  This class will take in a list of
module paths and build the help for each module.  To build single modules, call this class
with only one module path.
<p>
Note: Help links must not be absolute.  They can be relative, including <code>. and ..</code>
syntax.  Further, they can use the special help system syntax, which is:
<ul>
	<li><code><b>help/topics/</b>topicName/Filename.html</code> for referencing help topic files</li>
 <li><code><b>help/</b>shared/image.png</code> for referencing image files at paths rooted under
                                           the module's root help dir</li>
</ul>
Ghidra/Framework/Help/src/main/java/help/GHelpBuilder.java