Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8193170

Documenting support for multiple stylesheets in javadoc

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P2
    • 10
    • 10
    • docs
    • None

    Description

      Javadoc now supports multiple stylesheets. A new command-line argument --add-stylesheet is introduced and the existing option -stylesheetfile will have a new alias --main-stylesheet.

      Specification:

      --add-stylesheet <path>

      The option can be used one or more times to specify additional stylesheets to be included in the documentation.

      Javadoc command-line example:

      javadoc --add-stylesheet new_stylesheet_1.css --add-stylesheet new_stylesheet_2.css pkg_foo


      -stylesheetfile <path> or --main-stylesheet <path>

      In addition, the existing -stylesheetfile option will have an alias --main-stylesheet, with --main-stylesheet being the preferred form.

      Javadoc command-line example:

      javadoc --main-stylesheet main_stylesheet.css pkg_foo

      The issue JDK-8185371 mentions the changes in detail. We need to document this new feature.

      Attachments

        Issue Links

          Activity

            People

              cwayne Clifford Wayne (Inactive)
              bpatel Bhavesh Patel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: