Reputation: 857
I know how to add the documentation in Xcode but I am unable to find , how to export that documentation to HTML.
Upvotes: 5
Views: 826
Reputation: 408
There are 2 major apps/command line tools that can do what you want
Is an open source documentation to html script/command line tool from Apple, Inc.
Headerdoc is provided by default in all versions of OS X/macOS just open Terminal and use the following to figure out what you have:
which headerdoc2html
and then read the man page using something like this:
man headerdoc2html
Supports many languages and has a few tag/format differences from Headerdoc
Which one you will want to use will be based on what language you are using, Headerdoc may not support the language you want and doxygen might not either, your mileage may vary. Read the documentation and supported languages to make your choice. I hope this helps :)
Upvotes: 4