@Override
	public Map<String, TOCItemExternal> getExternalTocItemsById() {
		Map<String, TOCItemExternal> map = new HashMap<>();

		if (externalHelpSets.isEmpty()) {
			return map;
		}

		for (HelpSet helpSet : externalHelpSets) {
			TOCView view = (TOCView) helpSet.getNavigatorView("TOC");
			DefaultMutableTreeNode node = view.getDataAsTree();
			URL url = helpSet.getHelpSetURL();
			try {
				URL dataURL = new URL(url, (String) view.getParameters().get("data"));
				Path path = Paths.get(dataURL.toURI());
				addPrebuiltItem(node, path, map);
			}
			catch (MalformedURLException | URISyntaxException e) {
				throw new RuntimeException("Internal error", e);
			}
		}
		return map;
	}
Creates a help module collection that assumes zero or more pre-built help jar files and
one help directory that is an input into the help building process.
@param locations the locations from which to get help
@return the help collection
Ghidra/Framework/Help/src/main/java/help/validator/location/HelpModuleCollection.java