Skip to content

Latest commit

 

History

History
14 lines (13 loc) · 732 Bytes

generate-documentation.md

File metadata and controls

14 lines (13 loc) · 732 Bytes

Generate CodeFlare Documentation with Sphinx

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.

  1. Clone the CodeFlare SDK
git clone https://github.com/project-codeflare/codeflare-sdk.git
  1. Install Sphinx
  2. 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
  1. You can access the docs locally at docs/sphinx/_build/html/index.html