美文网首页
AppleDoc 生成文档

AppleDoc 生成文档

作者: lyuxxx | 来源:发表于2017-09-27 10:26 被阅读9次

    https://blog.ibireme.com/2013/08/26/appledoc-guide/

    脚本示例

    company="company";
    companyID="com.company";
    companyURL="http://company.com";
    target="iphoneos";
    #target="macosx";
    outputPath="${PROJECT_DIR}/../doc";
    # End constants
    /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}" \
    --output "${outputPath}" \
    --publish-docset \
    --docset-platform-family "${target}" \
    --logformat xcode \
    --ignore .m \
    --keep-intermediate-files \
    --no-repeat-first-par \
    --no-warn-invalid-crossref \
    --exit-threshold 2 \
    "${PROJECT_DIR}/../folder"
    
    echo Finished
    

    相关文章

      网友评论

          本文标题:AppleDoc 生成文档

          本文链接:https://www.haomeiwen.com/subject/rhwyextx.html