W3C home > Mailing lists > Public > public-dap-commits@w3.org > December 2010

2009/dap/ReSpec.js documentation.html,1.47,1.48

From: Frederick Hirsch via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 31 Dec 2010 01:45:26 +0000
To: public-dap-commits@w3.org
Message-Id: <E1PYU3a-0003yk-4a@lionel-hutz.w3.org>
Update of /sources/public/2009/dap/ReSpec.js
In directory hutz:/tmp/cvs-serv15280

Modified Files:
	documentation.html 
Log Message:
add section reference handling


Index: documentation.html
===================================================================
RCS file: /sources/public/2009/dap/ReSpec.js/documentation.html,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- documentation.html	9 Jul 2010 22:18:12 -0000	1.47
+++ documentation.html	31 Dec 2010 01:45:24 -0000	1.48
@@ -3,7 +3,7 @@
   <head>
     <title>ReSpec.js — W3C Specification Writing Tool</title>
     <meta http-equiv='Content-Type' content='text/html;charset=utf-8'/>
-    <script src='js/respec.js' class='remove'></script>
+    <script src='js/respec.js" class='remove'></script>
     <script class='remove'>
       var respecConfig = {
           // document info
@@ -16,8 +16,8 @@
           copyrightStart:       "2009",
           edDraftURI:           "http://dev.w3.org/2009/dap/ReSpec.js/documentation.html",
           // lcEnd:  "2010-08-06",
-          // extraCSS:             ["http://dev.w3.org/2009/dap/ReSpec.js/css/respec.css"],
-          extraCSS:             ["css/respec.css"],
+          // extraCSS:             ["../css/respec.css"],
+          extraCSS:             ["./css/respec.css"],
 
           // editors
           editors:  [
@@ -180,8 +180,33 @@
         You MUST NOT create sections for the <em>Status of this Document</em>, the <em>ToC</em>, or
         the <em>References</em> as they will be automatically generated for you.
       </p>
+<p>Same document references may be created using the following
+  formatting:
+&lt;a href="#theId" class="sectionRef"&gt;&lt;/a&gt;
+</p>
+<p>The class signals that this will be replaced with a link containing
+  the section number and title as follows:
+&lt;a href="#theId" class="sectionRef"&gt;section Section-Number Section-Title&lt;/a&gt;
+</p>
+<p>Best practices may be shown, numbered and formatted using the
+  following formatting:
+  &lt;pre class='example'&gt;
+    &lt;div class="practice"&gt;
+      &lt;p&gt;&lt;a name="sample-practice" id="sample-practice"&gt;&lt;/a&gt;
+        &lt;span class="practicelab"&gt;Summary of the practice &lt;/span&gt;&lt;/p&gt;
+      &lt;p class="practicedesc"&gt;
+        More detailed decription of the practice.          
+      &lt;/p&gt;
+    &lt;/div&gt;
+  </pre>
+    <div class="practice">
+      <p><a name="sample-practice" id="sample-practice"></a>
+        <span class="practicelab">Summary of the practice </span></p>
+      <p class="practicedesc">
+        More detailed decription of the practice.          
+      </p>
+    </div>
     </section>
-    
     <section>
       <h2>Configuration</h2>
       <p>
Received on Friday, 31 December 2010 01:45:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 31 December 2010 01:45:29 GMT