[gnome-devel-docs] platform-demos: added sections to js beginner tutorials and samples.



commit b90f3568d1d3d4b824b3a3d6fc1b4d7f392f23ac
Author: Tiffany Antopolski <tiffany antopolski gmail com>
Date:   Sat Apr 7 15:40:56 2012 -0400

    platform-demos: added sections to js beginner tutorials and samples.

 platform-demos/C/beginner.js.page            |   39 +++++++++++++++++++++----
 platform-demos/C/button.js.page              |    2 +-
 platform-demos/C/desktop.js.page             |    2 +-
 platform-demos/C/entry.js.page               |    2 +-
 platform-demos/C/helloWorld.js.page          |    2 +-
 platform-demos/C/helloworldautotools.js.page |    2 +-
 platform-demos/C/toolbar.js.page             |    2 +-
 7 files changed, 38 insertions(+), 13 deletions(-)
---
diff --git a/platform-demos/C/beginner.js.page b/platform-demos/C/beginner.js.page
index 8c98fcb..5951de7 100644
--- a/platform-demos/C/beginner.js.page
+++ b/platform-demos/C/beginner.js.page
@@ -17,14 +17,39 @@
   <title>0 Beginner's Tutorials and samples</title>
   <p>In these tutorials and samples we use JavaScript and GTK+. These tutorials and samples expect you to be familiar with the syntax of JavaScript, if not, read <link href="http://eloquentjavascript.net/contents.html";>Eloquent JavaScript</link> or your preferred guide to JavaScript. </p>
   
-  <section id="hello_world">
-  <title>Tutorials</title>
-  <p></p>
+<section id="tutorials">
+<title>Tutorials</title>
+</section>
+
+<section id="samples">
+<title>Code samples</title>
+  <section id="windows"><title>Windows</title>
   </section>
-  
-  <section id="samples">
-  <title>Samples</title>
-  <p></p>
+  <section id="display-widgets"><title>Display widgets</title>
+  </section>
+  <section id="buttons"><title>Buttons and toggles</title>
+  </section>
+  <section id="entry"><title>Numeric and text data entry</title>
+  </section>
+  <section id="menu-combo-toolbar"><title>Menu, combo box and toolbar widgets</title>
+  </section>
+  <section id="selectors"><title>Selectors</title>
+    <section id="file-selectors"><title>File selectors</title>
+    </section>
+    <section id="font-selectors"><title>Font selectors</title>
+    </section>
+    <section id="selectors"><title>Color Selectors</title>
+    </section>
+  </section>
+  <section id="layout"><title>Layout containers</title>
+  </section>
+  <section id="ornaments"><title>Ornaments</title>
+  </section>
+  <section id="scrolling"><title>Scrolling</title>
   </section>
+</section>
 
+<section id="exercises">
+<title>Exercises</title>
+</section>
 </page>
diff --git a/platform-demos/C/button.js.page b/platform-demos/C/button.js.page
index 8c77581..93afe3e 100644
--- a/platform-demos/C/button.js.page
+++ b/platform-demos/C/button.js.page
@@ -2,7 +2,7 @@
       type="guide" style="task"
       id="button.js">
   <info>
-    <link type="guide" xref="beginner.js#samples"/>
+    <link type="guide" xref="beginner.js#buttons"/>
     <revision version="0.1" date="2012-02-21" status="stub"/>
 
     <credit type="author copyright">
diff --git a/platform-demos/C/desktop.js.page b/platform-demos/C/desktop.js.page
index c9ba892..309a3fe 100644
--- a/platform-demos/C/desktop.js.page
+++ b/platform-demos/C/desktop.js.page
@@ -2,7 +2,7 @@
       type="guide" style="task"
       id="desktop.js">
   <info>
-  <link type="guide" xref="beginner.js#hello_world"/>
+  <link type="guide" xref="beginner.js#tutorials"/>
     <revision version="0.1" date="2012-02-20" status="stub"/>
 
     <credit type="author copyright">
diff --git a/platform-demos/C/entry.js.page b/platform-demos/C/entry.js.page
index 4e3b2f8..779d4c9 100644
--- a/platform-demos/C/entry.js.page
+++ b/platform-demos/C/entry.js.page
@@ -2,7 +2,7 @@
       type="guide" style="task"
       id="entry.js">
   <info>
-  <link type="guide" xref="beginner.js#samples"/>
+  <link type="guide" xref="beginner.js#entry"/>
     <revision version="0.1" date="2012-02-19" status="stub"/>
 
     <credit type="author copyright">
diff --git a/platform-demos/C/helloWorld.js.page b/platform-demos/C/helloWorld.js.page
index 8383d13..6c85c8d 100644
--- a/platform-demos/C/helloWorld.js.page
+++ b/platform-demos/C/helloWorld.js.page
@@ -2,7 +2,7 @@
       type="guide" style="task"
       id="helloWorld.js">
   <info>
-    <link type="guide" xref="beginner.js#hello_world" group="#first"/>
+    <link type="guide" xref="beginner.js#tutorials" group="#first"/>
     <revision version="0.1" date="2012-02-19" status="stub"/>
 
     <credit type="author copyright">
diff --git a/platform-demos/C/helloworldautotools.js.page b/platform-demos/C/helloworldautotools.js.page
index 0d1961b..a5d46e2 100644
--- a/platform-demos/C/helloworldautotools.js.page
+++ b/platform-demos/C/helloworldautotools.js.page
@@ -2,7 +2,7 @@
       type="topic" style="task"
       id="helloworldautotools.js">
   <info>
-    <link type="guide" xref="beginner.js#hello_world" group="#last"/>
+    <link type="guide" xref="beginner.js#tutorials" group="#last"/>
     <revision version="0.1" date="2012-02-21" status="stub"/>
 
     <credit type="author copyright">
diff --git a/platform-demos/C/toolbar.js.page b/platform-demos/C/toolbar.js.page
index adf1446..919c3c4 100644
--- a/platform-demos/C/toolbar.js.page
+++ b/platform-demos/C/toolbar.js.page
@@ -2,7 +2,7 @@
       type="guide" style="task"
       id="toolbar.js">
   <info>
-    <link type="guide" xref="beginner.js#samples"/>
+    <link type="guide" xref="beginner.js#menu-combo-toolbar"/>
     <revision version="0.1" date="2012-02-20" status="stub"/>
 
     <credit type="author copyright">



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]