To generate docs into thescalnet/doc_sources folder, run
scalnet/doc_sources
python generate_docs.py \ --project scalnet \ --language scala \ --code ../scalnet/src/main/scala/org/deeplearning4j/scalnet