Giter Club home page Giter Club logo

appledoc-vvdocumenter's Introduction

Installation

# install appledoc with template
git clone git://github.com/tomaz/appledoc.git
cd appledoc
sudo sh install-appledoc.sh -t default
# install Alcatraz (only support Xcode 7+) for installing VVDocumenter-Xcode
curl -fsSL https://raw.githubusercontent.com/supermarin/Alcatraz/deploy/Scripts/install.sh | sh

Integrate Document Comment in Xcode

  1. Restart Xcode and press ⇧⌘9
  2. Install VVDocumenter-Xcode
  3. Now you can just type /// to generate comments automatically

Generate Documentation in Xcode

There are two ways to generate docsets:

  1. Run appledoc command in Project

    appledoc --project-name project --project-company company --company-id com.company --output ~/help --logformat xcode --explicit-crossref --ignore Pods --ignore .m --keep-undocumented-objects --keep-undocumented-members --no-repeat-first-par --no-warn-invalid-crossref --no-warn-undocumented-object --no-warn-undocumented-member --no-warn-empty-description --no-warn-missing-arg --exit-threshold 2 .

    or drag generateDocset.sh into your Project and run

    sh generateDocset.sh
  2. Integrate into Xcode

    1. Drag autoGenerateDocset.sh into your Project folder
    2. Go to Project Navigator and choose one of the Targets
    3. Click the + button nearby and Add Run Script Phase
    4. Paste sh ${SOURCE_ROOT}/autoGenerateDocset.sh in the box
    5. Build and then docset will be generated
    6. Press ⇧⌘0 to check your documentation

Reference

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.