aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/gen-docs.sh
diff options
context:
space:
mode:
authorGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2013-06-02 23:56:17 -0700
committerGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2013-06-02 23:56:17 -0700
commitbe9b9a594f7113074fde4f3c2294ad88bc1a9288 (patch)
treebcb863c75efa253380513e8a8deaa3702326b629 /scripts/gen-docs.sh
parentb88d4bea371795424d5129653228ac4caf39f76d (diff)
Build doc in source folder mailcore2/appledoc
Diffstat (limited to 'scripts/gen-docs.sh')
-rwxr-xr-x[-rw-r--r--]scripts/gen-docs.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/gen-docs.sh b/scripts/gen-docs.sh
index 4760c83a..34bda991 100644..100755
--- a/scripts/gen-docs.sh
+++ b/scripts/gen-docs.sh
@@ -1,3 +1,9 @@
+#!/bin/sh
+
+if test -f prepare.sh ; then
+ cd ..
+fi
+
appledoc \
--no-create-docset \
--no-install-docset \
@@ -8,5 +14,5 @@ appledoc \
--ignore "*.m" \
--no-warn-invalid-crossref \
--no-repeat-first-par \
---output ~/mailcore2-docs \
+--output appledoc \
src