- From: Frederick Hirsch via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 31 Dec 2010 01:45:26 +0000
- To: public-dap-commits@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:
+<a href="#theId" class="sectionRef"></a>
+</p>
+<p>The class signals that this will be replaced with a link containing
+ the section number and title as follows:
+<a href="#theId" class="sectionRef">section Section-Number Section-Title</a>
+</p>
+<p>Best practices may be shown, numbered and formatted using the
+ following formatting:
+ <pre class='example'>
+ <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>
+ </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 UTC