erlware/sinan — Issue #65: Provide more control over sinan doc results
Author: CarlWright
Created: 2012-01-01 17:45:43+00:00
State: open

Add the ability to include an item to the sinan.config file which defines the options to edoc when doing "SINAN DOC".

You could call the config entry "edoc_options".

This config item defines the proplist that is included in the call to edoc. The defined proplist is added to the default one that defines the destination of the results [".docs"] except when a property is "doc". In the event that the config proplist includes "dir", the "dir" supercedes the default value.

I'd use it to define the stylesheet to use and the version number of the documented package.

So I'd include {edoc_options, [{def,{version,"2.6"}},{stylesheet_file, ".//doc/eg_stylesheet.css"}]}.

Carl