Skip to content

Instantly share code, notes, and snippets.

@Ashton-W
Created August 6, 2013 03:31
Show Gist options
  • Save Ashton-W/6161788 to your computer and use it in GitHub Desktop.
Save Ashton-W/6161788 to your computer and use it in GitHub Desktop.
#appledoc Xcode script
company="Company";
companyID="au.com.Company";
companyURL="http://www.google.com";
target="iphoneos";
#target="macosx";
outputPath="Documentation";
ignore="Pods"
/usr/local/bin/appledoc \
--project-name "${PROJECT_NAME}" \
--project-company "${company}" \
--company-id "${companyID}" \
--docset-atom-filename "${company}.atom" \
--docset-feed-url "${companyURL}/${company}/%DOCSETATOMFILENAME" \
--docset-package-url "${companyURL}/${company}/%DOCSETPACKAGEFILENAME" \
--docset-fallback-url "${companyURL}/${company}" \
--include "doc/" \
--output "${outputPath}" \
--publish-docset \
--docset-platform-family "${target}" \
--logformat xcode \
--ignore Pods \
--ignore Documentation \
--ignore AppDelegate.h \
--keep-intermediate-files \
--no-repeat-first-par \
--no-warn-invalid-crossref \
--exit-threshold 2 \
"${PROJECT_DIR}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment