From 2da07127e45312ce22d894aa771b8797e9a301a1 Mon Sep 17 00:00:00 2001
From: Vojta Jina
Date: Tue, 24 May 2011 00:49:33 +0200
Subject: Add doc:tutorial-instructions widget
---
 docs/src/templates/doc_widgets.js | 82 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 82 insertions(+)
(limited to 'docs/src/templates/doc_widgets.js')
diff --git a/docs/src/templates/doc_widgets.js b/docs/src/templates/doc_widgets.js
index 6275012c..a3527c52 100644
--- a/docs/src/templates/doc_widgets.js
+++ b/docs/src/templates/doc_widgets.js
@@ -85,4 +85,86 @@
     return {html: lines.join('\n'), hilite: lineNo.join(',') };
   };
 
+  var HTML_TPL =
+      'Show Instructions' +
+      '
';
+
+  var HTML_NAV = '{title}';
+  var HTML_CONTENT = '{content}
';
+
+  var DEFAULT_NAV =
+    'Git on Mac/Linux' +
+    'Git on Windows' +
+    'Snapshots on Mac/Linux' +
+    'Snapshots on Windows';
+
+  var DEFAULT_CONTENT =
+    '' +
+      '
' +
+      '- Reset the workspace to step {step}. ' +
+      '-  git checkout -f step-{step}
 
' +
+      '- Refresh your browser or check the app out on anglar\'s server. 
' +
+      '
' +
+    '
' +
+      '
' +
+      '- Reset the workspace to step {step}. ' +
+      '-  git checkout -f step-{step}
 
' +
+      '- Refresh your browser or check the app out on anglar\'s server. 
' +
+      '
' +
+    '
' +
+      '
' +
+      '- Reset the workspace to step {step}. ' +
+      '-  ./goto_step.sh {step}
 
' +
+      '- Refresh your browser or check the app out on anglar\'s server. 
' +
+      '
' +
+    '
' +
+      '
' +
+      '- Reset the workspace to step {step}. ' +
+      '-  ./goto_step.bat {step}
 
' +
+      '- Refresh your browser or check the app out on anglar\'s server. 
' +
+      '
' +
+    '