Specifying a Style Sheet for HTML Documentation

A style sheet includes a set of stylistic rules that describe how to present HTML pages, including the size, color, and font of the text. You can replace the existing style sheet with your own style sheet for the following HTML pages in the IDE:

To change the style sheet for README.html and CHANGES.html:

  1. Go to the top level of the IDE installation directory.

    This directory is the directory in which README.html and CHANGES.html reside.

  2. Edit or overwrite the .css file.

To change the style sheet for Javadoc documentation:

  1. From the main window, choose Tools and 
choose Options.
  2. In the Options window, expand Code Documentation and expand Doclets.
  3. Select Standard Doclet.
  4. In the property sheet, scroll down to the Style Sheet File property and type the file name of the style sheet that you want to use to generate Javadoc documentation.

To change the style sheet for the online help:

  1. Change to the modules/docs directory in your installation directory and view the JAR files in that directory.
  2. Type the command:

    jar xf jar-file

    For jar-file, use the file name of the JAR file from which you want to extract files. For example, to extract the core online help, change directory to your installation-dir/modules/docs and type the command jar xf usersguide.jar.

    The Jar tool makes copies of the desired files and writes them to the current direct ory, reproducing the directory structure that the files have in the archive.

  3. Change to installation-dir/modules/docs/org/netbeans/modules/usersguide.
  4. Edit or overwrite the .css file.
  5. View the help in the IDE web browser. See Displaying Help in an Alternate Browser for instructions on where to begin browsing.
See also
Working With Javadoc Documentation

Legal Notices