Skip to content
Snippets Groups Projects
Commit 2a1dc7f3 authored by Mirar (Pontus Hagland)'s avatar Mirar (Pontus Hagland)
Browse files

more wmmldoc

Rev: tutorial/Makefile:1.22
Rev: tutorial/html.pike:1.22
Rev: tutorial/wmml.wmml:1.4
parent 3c9ee369
No related branches found
No related tags found
No related merge requests found
...@@ -41,6 +41,9 @@ tutorial_onepage.html: .DUMMY $(SRCFILES) ...@@ -41,6 +41,9 @@ tutorial_onepage.html: .DUMMY $(SRCFILES)
tut.html: .DUMMY $(SRCFILES) tut.html: .DUMMY $(SRCFILES)
$(pike) ./wmmltohtml2 tutorial.wmml sitebuilder tut $(pike) ./wmmltohtml2 tutorial.wmml sitebuilder tut
wmml.html: .DUMMY wmml.wmml
$(pike) ./wmmltohtml2 wmml.wmml html_onepage wmml
manpages: .DUMMY $(SRCFILES) manpages: .DUMMY $(SRCFILES)
$(pike) ./wmmltohtml2 tutorial.wmml manpages man/man $(pike) ./wmmltohtml2 tutorial.wmml manpages man/man
......
...@@ -510,7 +510,7 @@ SGML convert(SGML data) ...@@ -510,7 +510,7 @@ SGML convert(SGML data)
Sgml.Tag("td",(["align":"left"]),data->pos, Sgml.Tag("td",(["align":"left"]),data->pos,
({Sgml.Tag("font",(["size":"-2"]), ({Sgml.Tag("font",(["size":"-2"]),
data->pos,({"description"}))}))}))})+ data->pos,({"description"}))}))}))})+
data->data) (data->data||({})))
})); }));
continue; continue;
......
...@@ -38,7 +38,8 @@ This is a terse documentation about WMML. ...@@ -38,7 +38,8 @@ This is a terse documentation about WMML.
<adesc>what language the example is written in; <adesc>what language the example is written in;
pike and c are supported</adesc></aargdesc> pike and c are supported</adesc></aargdesc>
<aargdesc><aarg>meta</aarg> <aargdesc><aarg>meta</aarg>
<adesc>comma-separated list of ?</adesc></aargdesc> <adesc>comma-separated list of keywords that will be in italics</adesc></aargdesc>
</man_arguments>
<man_description> <man_description>
This tag marks an area as an example. If <tt>language</tt> equals This tag marks an area as an example. If <tt>language</tt> equals
"<tt>pike</tt>" or "<tt>c</tt>", the are will count as preformatted. "<tt>pike</tt>" or "<tt>c</tt>", the are will count as preformatted.
...@@ -46,11 +47,59 @@ This tag marks an area as an example. If <tt>language</tt> equals ...@@ -46,11 +47,59 @@ This tag marks an area as an example. If <tt>language</tt> equals
<man_see>man_example, data_description</man_see> <man_see>man_example, data_description</man_see>
</method> </method>
<method name=data_description title="?">
<man_syntax>
&lt;data_description&gt; ... &lt;/data_description&gt;
</man_syntax>
<man_arguments>
</man_arguments>
<man_description>
data_description type= data_description type=
</man_description>
<man_see></man_see>
</method>
<method name=firstpage title="?">
<man_syntax>
&lt;firstpage&gt; ... &lt;/firstpage&gt;
</man_syntax>
<man_arguments>
</man_arguments>
<man_description>
firstpage firstpage
ref to= </man_description>
<man_see></man_see>
</method>
<method name=ref title="?">
<man_syntax>
&lt;ref&gt; ... &lt;/ref&gt;<br>
&lt;ref to=somewhere&gt; ... &lt;/ref&gt;<br>
</man_syntax>
<man_arguments>
<aargdesc><aarg>to</aarg>
<adesc>optional destination</adesc></aargdesc>
</man_arguments>
<man_description>
Adds a hyperlink around that area; default destination is resolved by
the contents.
</man_description>
<man_see>link, anchor</man_see>
</method>
<method name=anchor title="?">
<man_syntax>
&lt;anchor&gt; ... &lt;/anchor&gt;
</man_syntax>
<man_arguments>
</man_arguments>
<man_description>
anchor name= anchor name=
</man_description>
<man_see></man_see>
</method>
</section title="markup tags (implying format)"> </section title="markup tags (implying format)">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment