Skip to content
Browse files

Update docs to use relative links.

  • Loading branch information...
1 parent eb57aa9 commit 51b65fd634ad2306b5d7b1ab303e7c803f6fca78 @Protonk Protonk committed Jun 20, 2013
View
4 Gruntfile.js
@@ -32,10 +32,6 @@ module.exports = function(grunt) {
nodeunit: {
tests: ["test/board.js", "test/capabilities.js"]
},
- watch: {
- files: "<config:lint.files>",
- tasks: "default"
- },
jshint: {
options: {
curly: true,
View
5 docs/accelerometer.md
@@ -60,9 +60,8 @@ board.on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/accelerometer.png">
-
-[docs/breadboard/accelerometer.fzz](https://github.com/rwldrn/johnny-five/blob/master/docs/breadboard/accelerometer.fzz)
+![docs/breadboard/accelerometer.png](breadboard/accelerometer.png)
+[docs/breadboard/accelerometer.fzz](breadboard/accelerometer.fzz)
View
5 docs/board-multi.md
@@ -54,9 +54,8 @@ new five.Boards([ "A", "B" ]).on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/board-multi.png">
-
-[docs/breadboard/board-multi.fzz](https://github.com/rwldrn/johnny-five/blob/master/docs/breadboard/board-multi.fzz)
+![docs/breadboard/board-multi.png](breadboard/board-multi.png)
+[docs/breadboard/board-multi.fzz](breadboard/board-multi.fzz)
View
3 docs/board.md
@@ -31,8 +31,7 @@ five.Board().on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/board.png">
-
+![docs/breadboard/board.png](breadboard/board.png)
View
5 docs/button-bumper.md
@@ -30,9 +30,8 @@ five.Board().on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/button-bumper.png">
-
-[docs/breadboard/button-bumper.fzz](https://github.com/rwldrn/johnny-five/blob/master/docs/breadboard/button-bumper.fzz)
+![docs/breadboard/button-bumper.png](breadboard/button-bumper.png)
+[docs/breadboard/button-bumper.fzz](breadboard/button-bumper.fzz)
View
5 docs/button-options.md
@@ -53,9 +53,8 @@ board.on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/button-options.png">
-
-[docs/breadboard/button-options.fzz](https://github.com/rwldrn/johnny-five/blob/master/docs/breadboard/button-options.fzz)
+![docs/breadboard/button-options.png](breadboard/button-options.png)
+[docs/breadboard/button-options.fzz](breadboard/button-options.fzz)
View
3 docs/button.md
@@ -50,8 +50,7 @@ board.on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/button.png">
-
+![docs/breadboard/button.png](breadboard/button.png)
View
5 docs/continuous.md
@@ -43,9 +43,8 @@ board.on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/continuous.png">
-
-[docs/breadboard/continuous.fzz](https://github.com/rwldrn/johnny-five/blob/master/docs/breadboard/continuous.fzz)
+![docs/breadboard/continuous.png](breadboard/continuous.png)
+[docs/breadboard/continuous.fzz](breadboard/continuous.fzz)
View
3 docs/ed.md
@@ -604,8 +604,7 @@ ED.prototype.move = function( positions ) {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/ed.png">
-
+![docs/breadboard/ed.png](breadboard/ed.png)
View
3 docs/gripper.md
@@ -83,8 +83,7 @@ var five = require("johnny-five"),
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/gripper.png">
-
+![docs/breadboard/gripper.png](breadboard/gripper.png)
View
5 docs/joystick-motor-led.md
@@ -80,9 +80,8 @@ board.on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/joystick-motor-led.png">
-
-[docs/breadboard/joystick-motor-led.fzz](https://github.com/rwldrn/johnny-five/blob/master/docs/breadboard/joystick-motor-led.fzz)
+![docs/breadboard/joystick-motor-led.png](breadboard/joystick-motor-led.png)
+[docs/breadboard/joystick-motor-led.fzz](breadboard/joystick-motor-led.fzz)
View
5 docs/joystick.md
@@ -68,9 +68,8 @@ board.on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/joystick.png">
-
-[docs/breadboard/joystick.fzz](https://github.com/rwldrn/johnny-five/blob/master/docs/breadboard/joystick.fzz)
+![docs/breadboard/joystick.png](breadboard/joystick.png)
+[docs/breadboard/joystick.fzz](breadboard/joystick.fzz)
View
5 docs/lcd.md
@@ -52,9 +52,8 @@ board.on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/lcd.png">
-
-[docs/breadboard/lcd.fzz](https://github.com/rwldrn/johnny-five/blob/master/docs/breadboard/lcd.fzz)
+![docs/breadboard/lcd.png](breadboard/lcd.png)
+[docs/breadboard/lcd.fzz](breadboard/lcd.fzz)
View
5 docs/led-fade.md
@@ -48,9 +48,8 @@ board.on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/led-fade.png">
-
-[docs/breadboard/led-fade.fzz](https://github.com/rwldrn/johnny-five/blob/master/docs/breadboard/led-fade.fzz)
+![docs/breadboard/led-fade.png](breadboard/led-fade.png)
+[docs/breadboard/led-fade.fzz](breadboard/led-fade.fzz)
View
5 docs/led-matrix.md
@@ -72,9 +72,8 @@ board.on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/led-matrix.png">
-
-[docs/breadboard/led-matrix.fzz](https://github.com/rwldrn/johnny-five/blob/master/docs/breadboard/led-matrix.fzz)
+![docs/breadboard/led-matrix.png](breadboard/led-matrix.png)
+[docs/breadboard/led-matrix.fzz](breadboard/led-matrix.fzz)
View
5 docs/led-on-off.md
@@ -37,9 +37,8 @@ board.on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/led-on-off.png">
-
-[docs/breadboard/led-on-off.fzz](https://github.com/rwldrn/johnny-five/blob/master/docs/breadboard/led-on-off.fzz)
+![docs/breadboard/led-on-off.png](breadboard/led-on-off.png)
+[docs/breadboard/led-on-off.fzz](breadboard/led-on-off.fzz)
View
3 docs/led-pulse.md
@@ -47,8 +47,7 @@ board.on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/led-pulse.png">
-
+![docs/breadboard/led-pulse.png](breadboard/led-pulse.png)
View
5 docs/led-strobe.md
@@ -25,9 +25,8 @@ board.on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/led-strobe.png">
-
-[docs/breadboard/led-strobe.fzz](https://github.com/rwldrn/johnny-five/blob/master/docs/breadboard/led-strobe.fzz)
+![docs/breadboard/led-strobe.png](breadboard/led-strobe.png)
+[docs/breadboard/led-strobe.fzz](breadboard/led-strobe.fzz)
View
3 docs/magnetometer.md
@@ -79,8 +79,7 @@ five.Board().on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/magnetometer.png">
-
+![docs/breadboard/magnetometer.png](breadboard/magnetometer.png)
View
5 docs/motor.md
@@ -56,9 +56,8 @@ board.on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/motor.png">
-
-[docs/breadboard/motor.fzz](https://github.com/rwldrn/johnny-five/blob/master/docs/breadboard/motor.fzz)
+![docs/breadboard/motor.png](breadboard/motor.png)
+[docs/breadboard/motor.fzz](breadboard/motor.fzz)
View
3 docs/nodebot.md
@@ -89,8 +89,7 @@ five.Board().on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/nodebot.png">
-
+![docs/breadboard/nodebot.png](breadboard/nodebot.png)
View
3 docs/nunchuk.md
@@ -14,6 +14,9 @@ board = new five.Board();
board.on("ready", function() {
+ new five.Pin("A2").low();
+ new five.Pin("A3").low();
+
// Create a new `nunchuk` hardware instance.
nunchuk = new five.Wii.Nunchuk({
freq: 50
View
5 docs/photoresistor.md
@@ -42,9 +42,8 @@ board.on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/photoresistor.png">
-
-[docs/breadboard/photoresistor.fzz](https://github.com/rwldrn/johnny-five/blob/master/docs/breadboard/photoresistor.fzz)
+![docs/breadboard/photoresistor.png](breadboard/photoresistor.png)
+[docs/breadboard/photoresistor.fzz](breadboard/photoresistor.fzz)
View
5 docs/pin-circuit-event.md
@@ -24,9 +24,8 @@ new five.Board().on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/pin-circuit-event.png">
-
-[docs/breadboard/pin-circuit-event.fzz](https://github.com/rwldrn/johnny-five/blob/master/docs/breadboard/pin-circuit-event.fzz)
+![docs/breadboard/pin-circuit-event.png](breadboard/pin-circuit-event.png)
+[docs/breadboard/pin-circuit-event.fzz](breadboard/pin-circuit-event.fzz)
View
5 docs/pin.md
@@ -38,9 +38,8 @@ var five = require("johnny-five"),
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/pin.png">
-
-[docs/breadboard/pin.fzz](https://github.com/rwldrn/johnny-five/blob/master/docs/breadboard/pin.fzz)
+![docs/breadboard/pin.png](breadboard/pin.png)
+[docs/breadboard/pin.fzz](breadboard/pin.fzz)
View
5 docs/ping.md
@@ -53,9 +53,8 @@ board.on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/ping.png">
-
-[docs/breadboard/ping.fzz](https://github.com/rwldrn/johnny-five/blob/master/docs/breadboard/ping.fzz)
+![docs/breadboard/ping.png](breadboard/ping.png)
+[docs/breadboard/ping.fzz](breadboard/ping.fzz)
View
5 docs/potentiometer.md
@@ -42,9 +42,8 @@ board.on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/potentiometer.png">
-
-[docs/breadboard/potentiometer.fzz](https://github.com/rwldrn/johnny-five/blob/master/docs/breadboard/potentiometer.fzz)
+![docs/breadboard/potentiometer.png](breadboard/potentiometer.png)
+[docs/breadboard/potentiometer.fzz](breadboard/potentiometer.fzz)
View
3 docs/repl.md
@@ -24,8 +24,7 @@ board.on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/repl.png">
-
+![docs/breadboard/repl.png](breadboard/repl.png)
View
5 docs/sensor-fsr.md
@@ -34,9 +34,8 @@ var five = require("johnny-five"),
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/sensor-fsr.png">
-
-[docs/breadboard/sensor-fsr.fzz](https://github.com/rwldrn/johnny-five/blob/master/docs/breadboard/sensor-fsr.fzz)
+![docs/breadboard/sensor-fsr.png](breadboard/sensor-fsr.png)
+[docs/breadboard/sensor-fsr.fzz](breadboard/sensor-fsr.fzz)
View
5 docs/sensor-slider.md
@@ -44,9 +44,8 @@ board.on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/sensor-slider.png">
-
-[docs/breadboard/sensor-slider.fzz](https://github.com/rwldrn/johnny-five/blob/master/docs/breadboard/sensor-slider.fzz)
+![docs/breadboard/sensor-slider.png](breadboard/sensor-slider.png)
+[docs/breadboard/sensor-slider.fzz](breadboard/sensor-slider.fzz)
View
5 docs/servo-digital.md
@@ -46,9 +46,8 @@ board.on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/servo-digital.png">
-
-[docs/breadboard/servo-digital.fzz](https://github.com/rwldrn/johnny-five/blob/master/docs/breadboard/servo-digital.fzz)
+![docs/breadboard/servo-digital.png](breadboard/servo-digital.png)
+[docs/breadboard/servo-digital.fzz](breadboard/servo-digital.fzz)
View
5 docs/servo.md
@@ -83,9 +83,8 @@ board.on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/servo.png">
-
-[docs/breadboard/servo.fzz](https://github.com/rwldrn/johnny-five/blob/master/docs/breadboard/servo.fzz)
+![docs/breadboard/servo.png](breadboard/servo.png)
+[docs/breadboard/servo.fzz](breadboard/servo.fzz)
View
5 docs/seven-segment.md
@@ -118,9 +118,8 @@ board.on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/seven-segment.png">
-
-[docs/breadboard/seven-segment.fzz](https://github.com/rwldrn/johnny-five/blob/master/docs/breadboard/seven-segment.fzz)
+![docs/breadboard/seven-segment.png](breadboard/seven-segment.png)
+[docs/breadboard/seven-segment.fzz](breadboard/seven-segment.fzz)
View
5 docs/shiftregister.md
@@ -41,9 +41,8 @@ board.on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/shiftregister.png">
-
-[docs/breadboard/shiftregister.fzz](https://github.com/rwldrn/johnny-five/blob/master/docs/breadboard/shiftregister.fzz)
+![docs/breadboard/shiftregister.png](breadboard/shiftregister.png)
+[docs/breadboard/shiftregister.fzz](breadboard/shiftregister.fzz)
View
5 docs/slider-pan.md
@@ -39,9 +39,8 @@ board.on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/slider-pan.png">
-
-[docs/breadboard/slider-pan.fzz](https://github.com/rwldrn/johnny-five/blob/master/docs/breadboard/slider-pan.fzz)
+![docs/breadboard/slider-pan.png](breadboard/slider-pan.png)
+[docs/breadboard/slider-pan.fzz](breadboard/slider-pan.fzz)
View
3 docs/slider-servo-control.md
@@ -40,8 +40,7 @@ board.on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/slider-servo-control.png">
-
+![docs/breadboard/slider-servo-control.png](breadboard/slider-servo-control.png)
View
5 docs/sonar.md
@@ -62,9 +62,8 @@ board.on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/sonar.png">
-
-[docs/breadboard/sonar.fzz](https://github.com/rwldrn/johnny-five/blob/master/docs/breadboard/sonar.fzz)
+![docs/breadboard/sonar.png](breadboard/sonar.png)
+[docs/breadboard/sonar.fzz](breadboard/sonar.fzz)
View
3 docs/tinkerkit-blink.md
@@ -18,8 +18,7 @@ new five.Board().on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/tinkerkit-blink.png">
-
+![docs/breadboard/tinkerkit-blink.png](breadboard/tinkerkit-blink.png)
View
3 docs/tinkerkit-button.md
@@ -27,8 +27,7 @@ new five.Board().on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/tinkerkit-button.png">
-
+![docs/breadboard/tinkerkit-button.png](breadboard/tinkerkit-button.png)
View
3 docs/tinkerkit-continuous-servo.md
@@ -25,8 +25,7 @@ new five.Board().on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/tinkerkit-continuous-servo.png">
-
+![docs/breadboard/tinkerkit-continuous-servo.png](breadboard/tinkerkit-continuous-servo.png)
View
3 docs/tinkerkit-linear-pot.md
@@ -20,8 +20,7 @@ new five.Board().on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/tinkerkit-linear-pot.png">
-
+![docs/breadboard/tinkerkit-linear-pot.png](breadboard/tinkerkit-linear-pot.png)
View
3 docs/tinkerkit-rotary.md
@@ -22,8 +22,7 @@ new five.Board().on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/tinkerkit-rotary.png">
-
+![docs/breadboard/tinkerkit-rotary.png](breadboard/tinkerkit-rotary.png)
View
3 docs/tinkerkit-thermistor.md
@@ -49,8 +49,7 @@ new five.Board().on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/tinkerkit-thermistor.png">
-
+![docs/breadboard/tinkerkit-thermistor.png](breadboard/tinkerkit-thermistor.png)
View
3 docs/tinkerkit-tilt.md
@@ -22,8 +22,7 @@ new five.Board().on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/tinkerkit-tilt.png">
-
+![docs/breadboard/tinkerkit-tilt.png](breadboard/tinkerkit-tilt.png)
View
3 docs/tinkerkit-touch.md
@@ -30,8 +30,7 @@ new five.Board().on("ready", function() {
## Breadboard/Illustration
-<img src="https://raw.github.com/rwldrn/johnny-five/master/docs/breadboard/tinkerkit-touch.png">
-
+![docs/breadboard/tinkerkit-touch.png](breadboard/tinkerkit-touch.png)
View
2 tpl/.fritzing.md
@@ -1 +1 @@
-[<%= fzz %>](https://github.com/rwldrn/johnny-five/blob/master/<%= fzz %>)
+[<%= fzz %>](<%= fzz.split("/").splice(1).join("/") %>)
View
2 tpl/.img.md
@@ -1 +1 @@
-<img src="https://raw.github.com/rwldrn/johnny-five/master/<%= png %>">
+![<%= png %>](<%= png.split("/").splice(1).join("/") %>)

0 comments on commit 51b65fd

Please sign in to comment.
Something went wrong with that request. Please try again.