Ohm Technologies Documentation Generator.
otdgen only works on macOS for now. It requires:
When you have all the requirements, run the configure.py script. This will create a native Xcode Project in a projects directory at the root of the otdgen repository.
Xcode 10 users will have to specify the architecture to use to be 64-bit only with the
--archs x86_64CL option.
You can then build the generated project to get the otdgen executable.
Run the otdgen executable to generate the documentation:
otdgen --format=<format> --output=<output> doc_src_root_file.otd
The --format option allows to specify the output format of the generated documentation. Available formats are:
markdownhtmldocsetplain-text
The --output option allows to specify the output directory of the files that will be generated.
TODO
Otdgen contains a plug-in that brings syntax highlighting of the OTD language into Xcode. To install it, follow the instructions given here.