From f5f5d2da0aa7ff34a88fdcf794a868ddcf8a6c21 Mon Sep 17 00:00:00 2001 From: Joseph Coffland Date: Tue, 16 Oct 2018 14:13:31 -0700 Subject: [PATCH] Added links to extra GCodes --- src/pug/templates/cheat-sheet-view.pug | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/pug/templates/cheat-sheet-view.pug b/src/pug/templates/cheat-sheet-view.pug index bbe04ca..9146cb2 100644 --- a/src/pug/templates/cheat-sheet-view.pug +++ b/src/pug/templates/cheat-sheet-view.pug @@ -28,6 +28,8 @@ script#cheat-sheet-view-template(type="text/x-template") // Modified from http://linuxcnc.org/docs/html/gcode.html - var base = 'http://linuxcnc.org/docs/html/gcode'; + - var camotics_base = 'https://camotics.org/gcode.html'; + .cheat-sheet h2 GCode Cheat Sheet @@ -86,6 +88,22 @@ script#cheat-sheet-view-template(type="text/x-template") td K td Rigid Tapping + tr.spacer-row: th + tr.header-row + th(colspan='3') Homing & Probing + tr + td + a(target="_blank", href=`${camotics_base}#gcodes-g28_2-28_3`) + | G28.2, G28.3 + td + td (Un)set Axis Homed State + tr + td + a(target="_blank", href=`${camotics_base}#gcodes-g38_6-38_9`) + | G38.6 - G38.9 + td + td Seek Switch + tr.spacer-row: th tr.header-row th(colspan='3') Tool Control -- 2.27.0