Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
etc/ | 03-May-2024 | - | 1 | 1 | ||
resources/ | 03-May-2024 | - | 81 | 69 | ||
src/ | 03-May-2024 | - | 3,173 | 1,983 | ||
Android.bp | D | 03-May-2024 | 2.6 KiB | 65 | 63 | |
README.md | D | 03-May-2024 | 896 | 36 | 26 |
README.md
1# Install 2 3~~~ 4$ m -j hidl-doc 5~~~ 6 7# Usage 8 9View usage info: 10 11~~~ 12$ ./bin/hidl-doc -h 13~~~ 14 15Parse the audio `types.hal` file in the Android repo and output 16generated HTML reference to the reference directory. Enable verbose mode: 17 18~~~ 19$ ./bin/hidl-doc -v -i /path/to/android/hardware/interfaces/audio/2.0/types.hal \ 20 -o /path/to/output/en/reference/hidl/ 21~~~ 22 23Parse all HAL files in the Android `/hardware/interfaces/` directory 24and output generated HTML reference docs to reference directory. Skip files 25that encounter doc parse errors: 26 27~~~ 28$ ./bin/hidl-doc -v -s -i /path/to/android/hardware/interfaces/ \ 29 -o /path/to/output/en/reference/hidl/ 30~~~ 31# Templates 32 33HTML templates are used to generate the output docs and are in the 34`resources/template/` directory. Since these files are bundled up in the fat jar 35file, if you make any changes to the templates, `hidl-doc.jar` must be rebuilt. 36