Documentation for phist.legend
Moved export tag to top of each comment block
Removed trailing whitespace
Generated documentation