How works ESSimpleDoc

The entry point of the app is the index.js file. At this stage, we only call the loadApp ( ) method of the AppLoader class.

The Apploader.loadApp ( ) method:

The DocBuilder.buildFiles ( ) method:

Containers with data are instances of the classes VariableDoc, MethodOrPropertyDoc, ClassDoc, TypeDescription, and CommentsDoc:

When all the doc containers are created, the documentation is controlled (when the --validate parameter is present ), using the DocsValidator class.

And finally, the html files are created from the doc containers:

The NavHtmlBuilder class is responsible of the creation of the <nav> html tag present in all the html pages

The global object theLinkBuilder is a container for all the html links created.

The global object theConfig is a container for the program's configuration.

The FileWriter class is a simple helper class to write files.