The project is in an early state of development, so it is not advised to use it in real world applications. If you have feedback or feature suggestions, please create a new GitHub Issue.
JHelp is a Maven NetBeans Module that should replace JavaHelp and the JavaHelp NetBeans Module.
JHelp currently only supports a limited subset of features of JavaHelp and only HelpSets from the version 2.0.
Features it does support:
- Registering a HelpSet via annotation
- Toc and Index view and selection
- Viewing one HelpSet
- Netbeans HelpSet context
- Merging multiple HelpSets
- Fulltext search
Features it does not support:
- Favorites
- and more
To install JHelp in your locale maven repository clone and then run:
mvn clean installFirst, make sure you followed to installation steps in ## Installation, since JHelp is currently not in any maven repo. To use the JHelp NetBeans module inside your NetBeans-Platform application, add the maven dependency to your Project pom.xml:
<dependency>
<groupId>de.dhbw.mwulle</groupId>
<artifactId>jhelp</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>Note: JHelp uses netbeans platform version RELEASE200
When setting up JHelp, you can either configure it manually or use the NetBeans IDE Wizard to let it create a simple HelpSet. You can find a demo repository here.
- Create a
package-info.javain the package which should house the HelpSet. - Add the
@HelpSetRegistrationannotation to thepackage-info.javaand add the path to thehsfile in the annotationshelpsetfield. Note: The path is relative to the package thepackage-info.javais in.@HelpSetRegistration(helpSet = "Animals.hs") package de.derfrzocker.jhelp.demo.docs; import de.dhbw.mwulle.jhelp.netbeans.api.HelpSetRegistration;
- Create a directory with the same path as the package of the
package-info.javain your resource directory. - Now you can create your HelpSet in this directory with the
hsbeing in the location set in the@HelpSetRegistrationannotation.
- Select the module you want to create a HelpSet in.
- Go to the
New Filewizard. - Go to the
Module Developmenttab and selectJavaHelp Help Set. - Go to the created
package-info.javaand change the import of the@HelpSetRegistrationannotation fromorg.netbeans.api.javahelp.HelpSetRegistrationtode.dhbw.mwulle.jhelp.netbeans.api.HelpSetRegistration. - Go to the
pom.xmland delete the addedorg-netbeans-modules-javahelpdependency. - Modify the created HelpSet to your need.
JHelp is licensed under the Apache 2.0 License.