Skip to content

schickm/yuidoc-ember-package-theme

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yuidoc ember-package theme

ScreenShot

Why this theme:

  • Use Java-like packages instead modules to organize you code
  • Allow developers to describe in yuidoc documentation package level methods and variables
  • Provide better look and feel and more handy navigation over an API yuidoc documentation

Packages vs modules

Packages are more abstract, universal way to organize and split to logical parts your code. Name of package is a sequence of names that split with "." character. For instance:

  • "org.apache.commons" package is a root package of all Apache commons modules.
  • "org.apache.commons.io" is package that hosts classes, methods, other sub-packages of Java IO routine operations. It is packaged as JAR (module)

How to describe a package with yuidoc

In terms of the given theme a package is a special class that is tagged with "package" access. To describe a package you have to write the following:

    /**
     *  <Package description should be written here>  
     *  @class <package name>
     *  @access package 
     */

Installation

$ npm install https://github.com/schickm/yuidoc-ember-package-theme

Usage

$ yuidoc  -c yuidoc.json  -t .  <js_path>

About

Javadoc, package oriented API doc

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 80.8%
  • HTML 13.0%
  • CSS 6.2%