To generates all the files in the file structure:
php htmlForCrafter.php <APIname>
example:
php htmlForCrafter.php locker
To preview API document page have list/list.txt in the directory a level up from devportal:
devpotal/preview/index.php
Call watchdog to watch the file from list:
python watch.py