pyspark-ai
pyspark-ai copied to clipboard
Build API Documentations
Currently, there are no API documents. We should start creating one
Hi @gengliangwang I would like to work on this, can you explain it a bit more?
@nayan2167 Yes it will be a simple Python doc website based on markdown files and our example notebooks.
@gengliangwang I am planning to go ahead with mkdocs
if it works.
@Pranavchiku let's go with sphinx
Perfect, I will make a draft PR soon.
If help is needed here I can do it. Recently I added generation of API docs for Quinn PySpark helpers library, so I know how to do it.
It requires the following:
- Add some dependencies to
pyproject.toml
:mkdocstrings-python
,mkdocs-gen-files
,mkdocs-literate-nav
- Add a simple python script like this one to
docs
- Add a link to this script to
mcdocs.yml
like it was done here
In runtime it will generate the documentation for all Public API and SUMMARY.md
file with right links structure. You can see how it looks like here.
May I help somehow here? @Pranavchiku if you do not have time to do it now, just notify me please.
@gengliangwang Do you know if anyone is still working on this? Can I help here?
@SemyonSinchenko Please help on this one. Thank you in advance!