-rw-r--r-- | htdocs/quickref/index.chtml | 3 | ||||
-rw-r--r-- | htdocs/quickref/metasyntax.chtml | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/htdocs/quickref/index.chtml b/htdocs/quickref/index.chtml index d139190..5119723 100644 --- a/htdocs/quickref/index.chtml +++ b/htdocs/quickref/index.chtml @@ -1,17 +1,18 @@ -% html(); return; /* vim:set ft=sitecing: */ +% /* vim:set ft=sitecing: */ %%derive layout = "/ancestry/layout.chtml"; +%%pragma main=page <%constructor> PN_PREV("/exceptions/runtime","runtime","runtime exceptions"); PN_NEXT("/quickref/metasyntax","syntax","meta syntax"); </%constructor> <%codemethod string title() %> return "quick reference"; </%codemethod> <%method void content() %> <h1>site-C-ing quick reference</h1> <p> I am hoping to put together some quick reference documentation here. For now, I am adding the <a href="/quickref/metasyntax">component meta-syntax quick reference</a>. </p> </%method> diff --git a/htdocs/quickref/metasyntax.chtml b/htdocs/quickref/metasyntax.chtml index 4efc37c..67186f9 100644 --- a/htdocs/quickref/metasyntax.chtml +++ b/htdocs/quickref/metasyntax.chtml @@ -1,50 +1,51 @@ -% html(); return; /* vim:set ft=sitecing: */ +% /* vim:set ft=sitecing: */ %%derive layout = "/ancestry/layout.chtml"; +%%pragma main=page <%constructor> PN_PREV("/quickref/","quick reference","quick reference"); PN_NEXT("/sources","sources","source browser"); </%constructor> <%codemethod string title() %> return "meta syntax quick reference"; </%codemethod> <%method void content() %> <h1>site-C-ing meta syntax quick reference</h1> <h2>Table of Contents</h2> <ul class="quickref toc"> <li><a href="#qr__line">% ...</a></li> <li><a href="#qr__inline"><% ... %></a></li> <li><a href="#qr__code"><%code></a></li> <li><a href="#qr__codemethod"><%codemethod ... ></a></li> <li><a href="#qr__constructor"><%constructor></a></li> <li><a href="#qr__decl"><%decl></a></li> <li><a href="#qr___decl">%%decl</a></li> <li><a href="#qr___derive">%%derive</a></li> <li><a href="#qr__destructor"><%destructor></a></li> <li><a href="#qr__impl"><%impl></a></li> <li><a href="#qr___impl">%%impl</a></li> <li><a href="#qr__method"><%method ... ></a></li> <li><a href="#qr__output"><%output></a></li> <li><a href="#qr___pragma">%%pragma</a></li> <li><a href="#qr___var">%%var</a></li> </ul> <dl class="metasyntax quickref"> % /* % */ <dt> <a id="qr__line" name="qr__line" title="line of code"> <code>% <kbd>line of code</kbd></code> </a> </dt> <dd> <p> Break out into the code mode for just one line. </p> <blockquote class="qr_sample"> <div> <body><br/> Here is the way we count.<br/><br/> <em><a href="#qr__line" title="% description">%</a> for(int t=0;t<10;t++) {<br/></em> Just saying out loud: <a href="#qr__inline" title="<% ... %> description"><%</a> t <a href="#qr__inline" title="<% ... %> description">%></a><br/><br/> |