*/
public void scan() throws Exception {
StringBuilder html = new StringBuilder();
addHtmlHeader(html);
ClassPathAnnotationScanner scanner = new ClassPathAnnotationScanner(Plugin.class.getName(), new ClassPathScanner());
for (String plugin : scanner.scanPlugins(getClass().getClassLoader(), PluginManager.PLUGIN_PACKAGE.replace(".", "/"))) {
Class pluginClass = Class.forName(plugin);
Plugin pluginAnnotation = (Plugin) pluginClass.getAnnotation(Plugin.class);
String pluginName = pluginAnnotation.name();
String pluginDocFile = "plugin/" + pluginName + ".html";