Giter VIP home page Giter VIP logo

docs's Introduction

Particle Documentation Build Status

=======

Here you'll find the documentation for the Particle platform, including the Particle Cloud, Photon, and Spark Core.

To view this documentation, visit our website, where the documentation is hosted.

Note: This is a new public repository as of May 18, 2015. All outsdanding pull requests from the old docs repository have been closed. Please re-open them in this repo.

Installation

To host this documentation locally, you'll need Node.js and npm:

brew install nodejs

If you don't already have Grunt installed, you'll need that too:

npm install -g grunt-cli

Once you have the dependencies, navigate to this repository's directory on your machine, and then:

npm install

to install any other necessary dependencies:

Hosting locally

This documentation uses Grunt and Assemble to build and push documentation updates. Once everything's installed, to build the documentation, type:

grunt build

The documentation will be located in the build directory. If you would like to host this documentation locally, try:

grunt server

This will set up a Connect server and load the local documentation in a web browser. If you make changes, the browser should automatically refresh.

Deployment

When updated documentation is pushed to the master branch, it is automatically pushed to Amazon S3 by Travis CI.

Travis calls grunt deploy, which is the same as grunt build, except that it also zips up the docs for downloading.

To see the latest build, visit the Travis CI page.

Organization

The majority of the content herein is stored in the src/content/en directory as a set of Markdown files. Assets such as images and javascript are stored in the src/assets directory.

Within the en subdirectory, there are three subfolders: core, photon, and shared. Files in core will only be shown in the menu when the user is viewing Core-specific docs, and photon files will be visible when viewing Photon-specific docs. Files in shared will be nested under both devices, so put pages here that apply to both the Core and the Photon.

If you create a new file under the shared, please add shared: true to the front-matter at the beginning of the MD file so that the link to edit the file on GitHub will be correct. For instance:

---
word: API
title: Cloud code (API)
order: 4
shared: true
---

Attributions

Some of this documentation is derived from the Arduino documentation, as the Arduino/Wiring language and libraries are used extensively on the Spark Core.

This documentation was originally built using Flatdoc, an awesome tool for building beautiful documentation from simple Markdown files. We have made many modifications since, but the inspiration remains.

Contributions

This documentation is managed by Particle, but supported by the community. We welcome contributions such as:

  • Edits to improve grammar or fix typos
  • Edits to improve clarity
  • Additional annotated examples for others to follow
  • Additional content that would help provide a complete understanding of the Particle platform
  • Translations to other languages

Making a contribution is as simple as forking this repository, making edits to your fork, and contributing those edits as a pull request. For more information on how to make a pull request, see Github's documentation.

License

These files have been made available online through a Creative Commons Attribution-ShareAlike 3.0 license.

You are welcome to distribute, remix, and use these files for commercial purposes. If you do so, please attribute the original design to Spark Labs, Inc. both on the website and on the physical packaging of the product or in the instruction manual. All derivative works must be published under the same or a similar license.

docs's People

Contributors

bkobkobko avatar brycekahle avatar cesschneider avatar cmsunu28 avatar dmiddlecamp avatar g-rocket avatar gruvin avatar harrisonhjones avatar idokleinman avatar jenesaisdiq avatar jme783 avatar joegoggins avatar jtzemp avatar kennethlimcp avatar kronion avatar m-mcgowan avatar mohitbhoite avatar pkourany avatar psb777 avatar satishgn avatar scruffr avatar shawnjordan avatar stebar59 avatar suda avatar technobly avatar towynlin avatar vk2tds avatar wgbartley avatar ymilord avatar zsup avatar

Watchers

 avatar  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.