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