tomaz / appledoc

Objective-c code Apple style documentation set generator.
http://gentlebytes.com
4.2k stars 644 forks source link

how to ingore all the files in cocoapods? #633

Closed liuyankai1990 closed 6 years ago

liuyankai1990 commented 6 years ago

how to ignore all the files in cocoapods? The html always includes cocoapods's file, e.g. AFNetWorking and SDWebImage etc. i want to know how to ignore the files that in the cocoapods.

tomaz commented 6 years ago

Use -i <path> option (you can add as many of them as needed - -i Pods for example)

When in doubt use appledic --help to see list of all options

liuyankai1990 commented 6 years ago

i used "appledoc -o .doc --no-create-docset --ignore /Users/liuyankai/Desktop/Project/Pods --project-name UnionYXF --project-company feel ." to ignore all the files in cocoapods, but it didn't work. "/Users/Reece/Desktop/Project/Pods" is the cocopods's path. i am new guy, please don't mind my stupid question.

tomaz commented 6 years ago

You don't have to use full path, relative will work just as well and you're free to move your project to different folder too

liuyankai1990 commented 6 years ago

thanks a lot! i'v already solve the problem.