- You must have the appledoc installed in your system.
- Put xcode-appledoc.osascript and generate-appledoc.sh into somewhere.
- Open Xcode, create a new behavior, name it "Generate Documents", check the "Run", pick the "xcode-appledoc.osascript".
- (Optional) Set a keybord shortcut for the new behavior.
- Copy the AppledocSettings.plist into your project directory.
- Modify the AppledocSettings.plist according to the project specified information.
- In the menu, select "Xcode" -> "Behaviors" -> "Generate Documents" to run the "Generate Documents" behavior.
- For details about the AppledocSettings.plist and the usage of appledoc. Please refer to the official documents.
- Here's a blog describes another way to create the behavior. After reading this, I created this toolkit.
- Write custom code snippets for appledoc templates.
- This toolkit is licensed under the MIT license.