Skip to content

Documentation Comments Style Guide - Template for package.html source file #19930

@gianmarcoschifone

Description

@gianmarcoschifone

Parent issue: #19807

Coverage table

Chapter link

Content

Image

Image

Text

Template for package.html source file

At Oracle, we use the following template, Empty Template for Package-Level Doc Comment File, when creating a new package doc comment file. This contains a copyright statement. Obviously, if you are from a different company, you would supply your own copyright statement. An engineer would copy this whole file, rename it to package.html, and delete the lines set off with hash marks: #####. One such file should go into each package directory of the source tree.

Guidelines

One such file should go into each package directory of the source tree

This guideline is enforced through the use of JavadocPackage, which checks that each Java package has a package-info.java or package.html file. Proposal:

Documentation Comments Rule Checkstyle Checks Used Sample files
Template for package.html source file ✅JavadocPackage
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions