GithubHelp home page GithubHelp logo

miamon / webworks-api-docs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from blackberry/webworks-api-docs

0.0 1.0 0.0 1.51 MB

BlackBerry WebWorks API Documentation

License: Apache License 2.0

Shell 0.22% JavaScript 99.78%

webworks-api-docs's Introduction

BlackBerry® WebWorks™ JavaScript API Documentation

This repository contains all of the BlackBerry WebWorks API documentation source as well as the build templates to transform the content into HTML documentation. The documentation source format is based on the jsdoc-toolkit open source project.

This project is Open Sourced under the Apache 2.0 license

Read more about the BlackBerry WebWorks open source project

Automated Build

Build scripts for windows and Mac are located at build/genDoc.bat and build/genDoc.

Manual Build

Setting up your Environment

  1. Download the jsdoc-toolkit

  2. Extract the contents of the downloaded jsdoc zip file to a location on your machine <jsdoc-location>

  3. Download the contents of this WebWorks-APIDocs repository to a <webworks-apidocs-location> of your choice

  4. Copy the <webworks-apidocs-location>/build/BBTemplate directory from this repository to the <jsdoc-location>/jsdoc-toolkit/templates/BBTemplate directory

  5. Copy the <webworks-apidocs-location>/build/bbPlugin.js file from this repository to <jsdoc-location>/jsdoc-toolkit/app/plugins/bbPlugin.js

  6. If you don't already have one, download and configure a [Java Runtime Environment] (http://www.oracle.com/technetwork/java/javase/downloads/index.html) on your machine

Building the Documentation

  1. Open a command prompt to your <jsdoc-location>/jsdoc-toolkit directory. This directory should contain jsrun.jar

  2. Type in the following command:

java -jar jsrun.jar app/run.js -a "<webworks-apidocs-location>/api" -t=templates/BBTemplate -d="<some-output-folder> -u"

Viewing the Documentation

After you have generated the documentation you will find all the HTML for the API docs in your <some-output-folder>/view. The default main page is topics.html.

The documentation can also be viewed online on github at this link.

Additional Information

Cookbook

Coming soon: Jsdocs best practices standard for adding metadata tags

About the jsdoc-toolkit open source project

JsDoc Toolkit is an application used to document JavaScript interfaces and automatically generate template-formatted HTML documentation from commented JavaScript source code. It's similar to JavaDoc, where you can use tags like @param to document your APIs.

If you wish to read more information, or find out about more available tag references, please visit this link

webworks-api-docs's People

Contributors

rwmtse avatar nukulb avatar marek avatar qingbiao avatar ababut avatar rburbidge avatar tlai avatar jackluo-zz avatar ericleili avatar ronalag avatar jachoi avatar mdandrea avatar dmateescu avatar ericpearson avatar ndaversa avatar adrianlee avatar tracyli avatar sleroux avatar ejzn avatar gtanner avatar haahmad avatar brentlintner avatar allanclara avatar asasd avatar

Watchers

Josep Maria Herrando avatar

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.