I wrote a simple reusable control and looking for a way to document its functions and properties, I found this useful tool called appledoc.
I created a demo project to show the possibilities of my control. Now that I use appledoc to generate a document, it also creates links to demo classes. I do not want it. I expect appledoc to only create documentation for my reusable class. How can i do this?
My scenario is as follows:
APPLEDOC_PATH=`which appledoc`
if [ $APPLEDOC_PATH ]; then
$APPLEDOC_PATH \
--project-name "MyControl" \
--project-company "Company Name" \
--company-id "" \
--output ${PRODUCT_NAME}Docs \
--keep-undocumented-objects \
--keep-undocumented-members \
--keep-intermediate-files \
--no-repeat-first-par \
--no-warn-invalid-crossref \
--ignore "*.m,AppDelegate.h,ViewController.h" \
--exit-threshold 2 \
${PROJECT_DIR}/${PRODUCT_NAME}
fi;
I tried to add a class AppDelegateand ViewControllerin --ignore tag, but it does not work. Is something missing here?
source
share