Skip to content

9DSmart/Devguide

 
 

Repository files navigation

PX4 Developer Guide

Join the chat at https://gitter.im/PX4/Devguide

Build Status

This guide is published by Travis CI online at: http://dev.px4.io/

Prerequisites

To start editing, install GitBook (requires Node.js):

On Mac OS:

brew install npm

On Linux - you're using Linux, so you should know!

sudo apt-get install npm nodejs-legacy curl

Installing Gitbook

sudo npm install grunt-cli -g
sudo npm install gitbook-cli -g

Fork this repo by clicking on the FORK Button on the top right of this github site.

Git clone your fork of this repo:

git clone http://github.com/YOUR_GITHUB_USERNAME/Devguide.git

Change to the directory of this repo:

cd Devguide
npm install
gitbook install book

Running

Build once with grunt every time the HTML template changes:

grunt

Then view it locally. NOTE: The local view will update when the markup files are changed, so there is no need to re-run this command.

gitbook serve book

Open http://localhost:4000/. Files will update live as you edit them.

See CONTRIBUTING.md for information on how to submit to this guide.

Add a new Page

To add a new page, create the "page_name".md file in the Book folder and add an appropriate location in the SUMMARY.MD file.

Deployment

Install required packages:

sudo gem install dotenv aws-sdk thread bundler git mime
export BUCKET=dev.px4.io
export AWS_KEY=[KEY]
export AWS_SECRET=[SECRET]
./deploy.rb

License

Content: CC-BY, (c) PX4 Project

Template: CC-BY, stolen from the Solo dev guide.

About

PX4 Devguide GitBook

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 89.8%
  • CSS 7.4%
  • HTML 2.2%
  • Other 0.6%