commit | fad04dd78e180e2c2a270f29559b923d5e1ed8ba | [log] [tgz] |
---|---|---|
author | macdonst <simon.macdonald@gmail.com> | Thu Mar 24 03:24:49 2011 +0800 |
committer | macdonst <simon.macdonald@gmail.com> | Thu Mar 24 03:29:10 2011 +0800 |
tree | c30868497197de2918edea280ad1cf187f90fc24 | |
parent | 8183c7be8f6468f8d31d95c0d8136a694cd3a34c [diff] |
Modify Storage Docs 1) Lots of people on the forums were getting tripped up by the line 'drop table demo' which would fail since the table didn't exist. This change adds and 'if exists' to the line to get around that issue. 2) I removed the Android 1.X quirks since a fix was checked in to support keys and clear methods for Android 1.X.
The public API documentation for PhoneGap. The documentation is rendered as the PhoneGap API Documentation website.
All of the PhoneGap documentation is written with markdown, a lightweight markup language that can be typeset to HTML. Markdown provides a simple and flexible way to document PhoneGap's core API and platform-specific APIs.
docs/ docs/phonegap/ docs/phonegap/class_name/ docs/phonegap/class_name/class_name.md docs/phonegap/class_name/class_name.method_name.md
Currently, PhoneGap-Docs uses joDoc to generate HTML documentation from the set of Markdown files.
Clone joDoc
git clone http://github.com/davebalmer/joDoc.git
Add joDoc/ to your path
Open ~/.bashrc
or ~/.profile
(or whatever you use)
export PATH=$PATH:~/path/to/joDoc/
Install markdown
# Use your package manager brew install markdown port install markdown aptitude install markdown
Install nokogiri (Ruby HTML parser)
gem install nokogiri
cd phonegap-docs ./bin/phonegap-docs
Install rspec:
gem install rspec
Run all specs:
cd phonegap-docs rake
Run a specific spec:
cd phonegap-docs spec spec/phonegap/add_title_spec.rb