Skip to content

Commit

Permalink
More template docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
xach committed Mar 28, 2012
1 parent c4ebf48 commit 699cb28
Showing 1 changed file with 26 additions and 5 deletions.
31 changes: 26 additions & 5 deletions doc/index.html
Expand Up @@ -29,9 +29,9 @@ <h2>Contents</h2>
<li> <a href='#make-project'>make-project</a>
<li> <a href='#*author*'>*author*</a>
<li> <a href='#*license*'>*license*</a>
<li> <a href='#*template-directory*'><tt>*template-directory*</tt></a>
<li> <a href='#default-template-parameters'><tt>default-template-parameters</tt></a>
<li> <a href='#*template-parameter-functions*'><tt>*template-parameter-functions*</tt></a>
<li> <a href='#*template-directory*'>*template-directory*</a>
<li> <a href='#default-template-parameters'>default-template-parameters</a>
<li> <a href='#*template-parameter-functions*'>*template-parameter-functions*</a>
<li> <a href='#*after-make-project-hooks*'>*after-make-project-hooks*</a>
</ul>
<li> <a href='#feedback'>Feedback</a>
Expand Down Expand Up @@ -124,7 +124,7 @@ <h2>Contents</h2>
in <a href='#*template-parameter-functions*'><tt>*TEMPLATE-PARAMETER-FUNCTIONS*</tt></a>
</ul>

<p>After templates have been rewritten, each element
<p>After rewriting templates, each element
in <a href='#*after-make-project-hooks*'><tt>*AFTER-MAKE-PROJECT-HOOKS*</tt></a>
is called. <tt>*default-pathname-defaults*</tt> is bound to the
newly created project pathname when hooks are called.
Expand Down Expand Up @@ -182,7 +182,7 @@ <h2>Contents</h2>
<code class='name'>default-template-parameters</code>
<span class='args'>
</span>
<span class='result'>=> |</span>
<span class='result'>=> <var>parameters</var></span>
</div>

<blockquote class='description'>
Expand All @@ -196,6 +196,26 @@ <h2>Contents</h2>
</div>


<div class='item'>
<div class='type'><a name='*template-parameter-functions*'>[Special variable]</a></div>
<div class='signature'>
<code class='name'>*template-parameter-functions*</code>
</div>

<blockquote class='description'>
<p>A list of functions that are called to produce template
parameters when rewriting templates
in <a href='#make-project'><tt>MAKE-PROJECT</tt></a>. Each
function is called with no arguments and should produce a list
of keyword/value pairs. The resulting lists are appended
together for use as template parameters
in <a href='http://weitz.de/html-template/#fill-and-print-template'><tt>HTML-TEMPLATE:FILL-AND-PRINT-TEMPLATE</tt></a>.

<p>The default value is <tt>(default-template-parameters)</tt>.
</blockquote>
</div>


<div class='item'>
<div class='type'><a name='*after-make-project-hooks*'>[Special variable]</a></div>
<div class='signature'>
Expand All @@ -221,5 +241,6 @@ <h2>Contents</h2>
Beane &lt<a href='mailto:xach@xach.com'>xach@xach.com</a>&gt;.

</div>
<br><br><br>

</body>

0 comments on commit 699cb28

Please sign in to comment.