So basically my commit was about supporting undocumented files to be correctly parsed. I started documenting a project with your library but found that when there are no proper docstrings the file gets parsed incorrectly. I basically added a conditional to check when the regex split array was of size 1. In which case there were no docstrings found and there is no documentation yet for the source code.
Support undocumented files. When a file had no documentation at all t…
…he source code was being sent to the left. When parts.length is 1, the only match in the regex is the code itself, a single block gets pushed into the array.
Suport ignoring shebangs
Better detection of comments vs blocks. Allow source code not beginni…
…ng with comments to be properly documented.