hybridgroup / artoo-site

Website for Artoo - Ruby robotics framework using Celluloid
http://artoo.io
0 stars 4 forks source link

Artoo Website

This is the code for the website for Artoo (http://artoo.io) a Ruby framework for robotics, physical computing, and the Internet of Things.

If you are looking for the actual Artoo code itself, it is at https://github.com/hybridgroup/artoo

This site is build using Middleman

To run locally:

  bundle install
  bundle exec middleman

Deploy

middleman-gh-pages gem is being used to build the webpage and deploy to gh-pages branch.

For deploying the webpage, your must be in 'artoo.io' branch and run the following command:

  rake publish

You must not have any uncomitted or untracked files in the site dirs, or the publish operation will fail with a message such as Directory not clean.

If the publish fails, you might need to remove the build dir before trying to run rake publish again.

Documentation

This project uses HAML.

If you want to help us with the documentation of the site, you can follow this steps :

Platforms

To add new information to any platform, do this :

Drivers

To add new information to any driver, do this :

Examples

To import examples from the main Artoo repository, run the bin/import_examples script. You'll need to have Git installed.

This script will:

Repo Docs

To import docs partials from Artoo adaptor repositories, run the bin/import_repo_docs script.

This script will:

If you want to only import docs from a single repo:

bin/import_repo_docs hybridgroup/artoo-gpio

or

bin/import_repo_docs https://github.com/hybridgroup/artoo-gpio.git

Send your Pull Request

When you have your code ready, create a new PR : base: artoo.io and compare:"your_branch"