help output type. The result will be a zip file which will contain both the wiki and the associated Metadata<java classname="org.docgene.main.DocGenerator"> <arg value="-input=wiki/input"/> <arg value="-output=wiki/output"/> <arg value="-outputType=help"/> <arg value="-helpContent=wiki/helpContent.xml"/> <classpath> <pathelement path="docGenerator.jar"/> </classpath> </java>
README.txt file which indicates for which format the Help content has been generated, and also if the content allows a full text search.
README.txt file which indicates for which format the Help content has been generated, and also if the content allows a full text search// get the zip file as an URL URL url = ... try { // create the Help factory JavaHelpFactory factory = new JavaHelpFactory(url); factory.create(); ArticlesModel model = factory.getModel(); // create the viewer component SwingHelpContentViewer viewer = new SwingHelpContentViewer(); viewer.installModel(model); JComponent pane = viewer.getComponent(); // do whatever you want with the component } catch (IOException | SAXException ex) { ex.printStackTrace(); }
elasticlunr.jar and json.jar libraries must be in the same directory as the Help system jar file, or in the classpath of the library using it. | Library | Website | Release |
|---|---|---|
| JSON | JSON-java | 1.7.7 |
| jElasticlunr | sourceforge.net/projects/jelasticlunr | 1.7.1 |
docGeneHelpChecker.jar tool allows to check the content of a Help content archive. It checks that the XML database is valid, and that the articles which are referred exist. docJGenerator Copyright (c) 2016-2023 Herve Girod. All rights reserved.