For some time I was looking for Apex Doc plugin, the only version which worked for me was StevenWCox version called SFApexDoc on gitlab:
Original Aslam Bari’s version failed for me with error
String index out of range: -1
apexdoc <source_directory> [<target_directory>] [<homefile>] [<authorfile>]
<source_directory> :- The folder location which contains your apex .cls classes
<target_directory> :- This option is optional. This is to specify your target fo
lder where documentation will be generated.
<homefile> :- This option is optional. This is to specify your contents for the
home page right panel
<authorfile> :- This option is optional. This is a simple text file path contain
ing following info.
David Habib’s version https://github.com/SalesforceFoundation/ApexDoc failed for me with NullPointer Exception described here. I was trying to debug this version and found the root cause, however, when I found that there is a StevenWCox version working without errors, I stopped debugging Habib’s version.Still, this version skips test classes without private keyword but at least it doesn’t fail.