onnxruntime/objectivec/docs/readme.md
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

17 lines
650 B
Markdown

# Objective-C API Documentation
The API should be documented with comments in the [public header files](../include).
## Documentation Generation
The [Jazzy](https://github.com/realm/jazzy) tool is used to generate documentation from the code.
For example, to generate documentation for a release version, from the repo root, run:
```bash
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](./docs.readme.md) contains content for the main page of the generated documentation website.