To generate docs into the deeplearning4j-nn/doc_sources folder, first cd docs then run:
deeplearning4j-nn/doc_sources
cd docs
python generate_docs.py \ --project deeplearning4j-nn \ --code ../deeplearning4j --out_language en