To generate SameDiff docs into the samediff/doc_sources folder, run
samediff/doc_sources
python generate_docs.py \ --project samediff \ --language java \ --code ../nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/