The following is a short guide on how you can use Sphinx to auto-generate code documentation. Documentation for the latest SDK release can be found here.
- Clone the CodeFlare SDK
git clone https://github.com/project-codeflare/codeflare-sdk.git
- Install Sphinx
- Run the below command to generate code documentation
sphinx-apidoc -o docs/sphinx src/codeflare_sdk "**/*test_*" --force # Generates RST files
make html -C docs/sphinx # Builds HTML files
- You can access the docs locally at
docs/sphinx/_build/html/index.html