Skip to content

Instantly share code, notes, and snippets.

@onlyyoujack
Created May 24, 2016 09:48
Show Gist options
  • Save onlyyoujack/f963e96373174655a7507c199d6c250d to your computer and use it in GitHub Desktop.
Save onlyyoujack/f963e96373174655a7507c199d6c250d to your computer and use it in GitHub Desktop.
#!/bin/bash
#更多操作 参考 appledoc --help
echo "更新文档"
SOURCE_DIR=./source
OUTPUT_DIR=./doc
/usr/local/bin/appledoc \
--project-name "project-name" \
--project-company "project-company" \
--company-id "id" \
--output "$OUTPUT_DIR" \
--keep-undocumented-objects \
--keep-undocumented-members \
--create-html \
--install-docset \
--no-create-docset \
--keep-intermediate-files \
--no-repeat-first-par \
--exit-threshold 9999 \
--clean-output \
--ignore .m \
--logformat xcode \
"$SOURCE_DIR"
echo "文档生成在 $OUTPUT_DIR"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment