onnxruntime/objectivec/docs
Edward Chen 6e134c2cc3
[Objective-C API] Add support for documentation generation (#7999)
Adding support for generating API documentation with the Jazzy tool.
It's a manual process now, but we can eventually make it a part of the release pipeline.
2021-06-11 17:49:00 -07:00
..
docs.readme.md [Objective-C API] Add support for documentation generation (#7999) 2021-06-11 17:49:00 -07:00
jazzy_config.yaml [Objective-C API] Add support for documentation generation (#7999) 2021-06-11 17:49:00 -07:00
readme.md [Objective-C API] Add support for documentation generation (#7999) 2021-06-11 17:49:00 -07:00

Objective-C API Documentation

The API should be documented with comments in the public header files.

Documentation Generation

The Jazzy tool is used to generate documentation from the code.

For example, to generate documentation for a release version, from the repo root, run:

jazzy --config objectivec/docs/jazzy_config.yaml --output <output directory> --module-version $(cat VERSION_NUMBER)

The generated documentation website files will be in <output directory>.

docs.readme.md contains content for the main page of the generated documentation website.