As per javadoc specifications, I placed a documentation file called package-info.html in the root directory of the relevant package. When I run Doxygen on that folder, however, the documentation in this file is not picked up. How do I tell Doxygen to use this file as the package documentation? I also tried package.html, the old specification, but that doesn't work., either
相关问题
- Error when installing TDA package on R
- installing packages for python 3
- filtering javadoc via annotations
- Is there a way to attach a Javadoc doc comment to
- How do I build a debian package whose sources incl
相关文章
- Do JDK classes have any further specifications bey
- unable to install packages(“caret”) completely in
- PHP friend/package visibility
- Ubuntu graphviz 'sfdp' not working
- Roxygen2 - how to @export reference class generato
- How can I suppress warnings (codebase-wide) during
- Change default package from com.example for Eclips
- Exclude data sets from R package build
The new alternative way to provide documentation for a Java package is to use a file named
package-info.java
instead ofpackage.html
. (The file name is intentionally chosen not to be a valid class name.)It has a different syntax:
This is also the only way to provide package annotations (which are noted before the
package
keyword here, if any).From your comments to the question, it looks like recent versions of Doxygen only understand this
package-info.java
, not the oldpackage.html
file.I recall there being a module system proposed, which then would add a similar
module-info.java
file, but I don't find it now after a short googleing. (Maybe JSR 294?)