Appledoc use of the installation

Source: Internet
Author: User

Preface, or that sentence, the Novice in accordance with the Wentao of the yellow color of the steps in order to execute the line is good, do not ask why.

First, install (note that Uncle Wentao has already downloaded the Appledoc)

1, find the download of the Appledoc catalogue

$ cd/users/libotao/devsource/ios/appledoc

2. Installation

$ sudo sh install-appledoc.sh

libotaodemacbook-pro:~ libotao$ cd/users/libotao/devsource/ios/appledoc libotaodemacbook-Pro:appledoc libotao$ sudo sh install-appledoc.sh password:building ...
View Code

3. Execute

Appledoc--project-name myproject--project-company "surge"--company-id www.surge--output ~/doc./appledoc Exercises

Order stating:

--project-name "Project Name"

--project-company "Company Name"

--company-id "Project ID"

--output "Generate Output Results"

./appledoc practicing "This is the path to be scanned."

The name of the generated files is Company-id + project-name

The resulting document is automatically stored in the Xcode default document directory:

~/library/developer/shared/documentation/docsets

What about the outcome? The screenshot is as follows:

The contents of this file are as follows: (creation information, etc.)

set is installed to xcode!  /users/libotao/library/developer/shared/documentation/docsets/ - from::+0000 
View Code

====================================================================

Expansion ﹣﹣ "View Help:

For a friend who is unfamiliar with the command line, here is a simple way to write:

Appledoc--help

libotaodemacbook-pro:~ libotao$ Appledoc--Helpusage:appledoc [OPTIONS]<paths to source dirs or files>PATHS-O,--output <path>Output Path-T,--templates <path>Template Files Path--docset-install-path <path>DocSet Installation Path-S,--include <path> includeStaticDoc (s) at Path-I,--ignore <path>Ignore given path-X,--exclude-output <path> exclude given path fromOutput--index-desc <path>File including main index descriptionproject INFO-P,--project-name <string>Project name-V,--project-version <string>Project version-C,--project-company <string>Project Company--company-id <string>Company UTI (i.e. reverse DNS name) OUTPUT GENERATION-H,--create-HTML [b] Create HTML-D,--create-docset [b] Create documentationSet-N,--install-docset [b] Install documentationSetTo Xcode-U,--publish-docset [b] Prepare Docset forPublishing--html-anchors <string> [*] the HTML anchor format to useinchDocSet HTML. --clean-output [b] Remove contents of output path before starting!! caution!!OPTIONS--keep-intermediate-files [b] Keep intermediate filesinchOutput Path--keep-undocumented-objects [B] Keep undocumented objects--keep-undocumented-Members [b] Keep undocumented members--search-undocumented-Doc [B] Search undocumented members documentation--repeat-first-par [b] repeat first paragraphinchmember Documentation--preprocess-headerdoc [b] Preprocess header doc comments-10.7only! --print-information-block-titles [b] Print title of information blocks."Note:","Warning:", etc. --use-single-star [b] with single star forBold Marker--merge-categories [B] Merge categories to classes--merge-category-comment [b] Merge category comment toclass--keep-merged-sections [b] Keep merged categories sections--prefix-merged-sections [b] Prefix merged sections with category name--Explicit-crossref [b] Shortcut for Explicit defaultCrossrefTemplate--use-code-order [b] Order sections by the order specifiedinchThe input Files--crossref-format <string>Cross reference template regex--exit-threshold <number> exit code threshold below which0  isreturnedwarnings--warn-missing-output-path [b] WarnifOutput path isNot given--warn-missing-company-id [b] WarnifCompany ID isNot given--warn-undocumented-Object[b] Warn on undocumentedObject--warn-undocumented-Member [b] Warn on undocumented member--warn-empty-description [b] Warn on empty description block--warn-unknown-directive [b] Warn on unknown directive or format--warn-invalid-CrossRef [b] Warn on invalid cross reference--warn-missing-Arg [b] Warn on missing method argument documentation--warn-unsupported-typedef-enum[b] Warn on unsupported typedefenumdocumentation SET INFO--docset-bundle-id <string> [*] DocSet Bundle identifier--docset-bundle-name <string> [*] DocSet Bundle name--docset-desc <string> [*] DocSet Description--docset-copyright <string> [*] DocSet Copyright Message--docset-feed-name <string> [*] DocSet feed name--docset-feed-url <string> [*] DocSet feed URL--docset-feed-formats <values>DocSet feed formats. separated by a comma [atom,xml]--docset-package-url <string> [*] DocSet package (. Xar) URL--docset-fallback-url <string> [*] DocSet fallback URL--docset-publisher-id <string> [*] DocSet Publisher identifier--docset-publisher-name <string> [*] DocSet Publisher name--docset-min-xcode-version <string> [*] DocSet min. Xcode version--docset-platform-family <string> [*] DocSet platform familiy--docset-cert-issuer <string> [*] DocSet certificate issuer--docset-cert-signer <string> [*] DocSet Certificate signer--docset-bundle-filename <string> [*] DocSet bundle filename--docset-atom-filename <string> [*] DocSet Atom feed filename--docset-xml-filename <string> [*] DocSet XML feed filename--docset-package-filename <string> [*] DocSet package (. xar,.tgz) filename. Leave off the extension. This'll be added depending on the generated package. Miscellaneous--logformat <number> Log Format [0-3]      --verbose <value> Log verbosity level [0-6, Xcode]--version Display version and exit--help Display ThisHelp and exit==================================================================[b] Boolean parameter, uses no value, use--no-prefix to negate. [*] Indicates parameters accepting placeholder strings:-%project replaced with--project-name-%projectid replaced with normalized--project-name-%version replaced with--project-version-%versionid replaced with normalized--project-version-%company replaced with--project- Company-%companyid replaced with--company-ID- %Year replaced with current year (format yyyy)-%updatedate replaced with current date (format yyyy-mm-dd)-%docsetbundlefilename replaced with--docset-bundle-filename-%docsetatomfilename replaced with--docset-atom-filename-%docsetpackagefilename replaced with--docset-package-filename==================================================================Find more help and tips online:-http://appledoc.gentlebytes.com/-http://tomaz.github.com/appledoc/==================================================================Appledoc uses the following open source components, fully or partially:-ddcli by Dave Dribin-Cocoalumberjack by Robbie Hanson-Parsekit by Todd Ditchendorf-regexkitlite by John Engelhart-Grmustache by Gwendal Roué-Discount by David Parsons-Timing functions fromApple Exampleswe'd like to thank all authors for their contribution!
View Code

View the commands in your documents: discovery of the Changing method (-O) = = (--output)

PATHS

-O,--output <path> output path

PROJECT INFO

-P,--project-name <string> project name

-C,--project-company <string> project company

--company-id <string> company UTI (i.e. reverse DNS name)

The command used in the above example is generated:

Appledoc--project-name myproject--project-company "surge"--company-id www.surge--output ~/doc./appledoc Exercises

Modified to

Appledoc-p myproject-c "surge"--company-id www.surge-o ~/doc./appledoc Exercises

Appledoc use of the installation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.