From e78f5ad640d8f43715d9441ccbb82b8242fddee9 Mon Sep 17 00:00:00 2001
From: Per Hedbor <ph@opera.com>
Date: Thu, 27 Jul 2000 07:09:50 +0200
Subject: [PATCH] Added template for template filesystem that renders the
 documentation in an at least acceptable way

Rev: src/post_modules/GTK/doc_roxen_template:1.2
---
 src/post_modules/GTK/doc_roxen_template | 81 +++++++++++++++++++++++++
 1 file changed, 81 insertions(+)

diff --git a/src/post_modules/GTK/doc_roxen_template b/src/post_modules/GTK/doc_roxen_template
index e69de29bb2..4e9d19be36 100644
--- a/src/post_modules/GTK/doc_roxen_template
+++ b/src/post_modules/GTK/doc_roxen_template
@@ -0,0 +1,81 @@
+<define container='doc'>
+ <blockquote>
+    <contents/>
+ </blockquote>
+</define>
+
+<define container='class'>
+  <set variable='var.classname' value='&_.name;'/>
+  <h1>&_.name;</h1>
+  <contents/>
+</define>
+
+<define tag='inherited'>
+  <b>Inherited by <a href='&_.href;'>&_.class;</a></b><br />
+</define>
+
+<define container='inherited-methods'>
+<h2>Inherited</h2>
+<blockquote><contents/></blockquote>
+</define>
+
+<define container='inherited-signals'>
+<h2>Inherited</h2>
+<blockquote><contents/></blockquote>
+</define>
+
+<define tag='inherits'>
+  <b>Inherits by <a href='&_.href;'>&_.class;</a></b><br />
+</define>
+
+<define container='box'>
+<table bgcolor='#eeeeee'><tr><td><contents/></td></tr></table>
+</define>
+
+<define container='example'>
+  <pre><contents/></pre>
+</define>
+
+<define container='signals'>
+   <define container='signal'>
+	<b>&_.name;</b><br />
+        <contents/>
+   </define>
+   <define container='doc'>
+     <blockquote><contents/></blockquote>
+   </define>
+  <h1>Signals</h1><blockquote>
+  <contents/></blockquote>
+</define>
+
+<define container='method' scope='m'>
+     <set variable='var.args' value=''/>
+   <define container='arg'>
+     <append variable='var.args' value='&_.type; &_.name;, '/>
+   </define>
+  <set variable='var.methodname' value='&_.name;'/>
+
+   <define container='doc'>
+      <b>&m.returns:none; &m.name;(&var.args:none;)</b>
+      <blockquote>
+        <contents/>
+      </blockquote>
+   </define>
+  <contents/>
+</define>
+
+<define container='constructor'>
+<h2>Constructor</h2>
+<blockquote><contents/></blockquote>
+</define>
+
+<define container='methods'>
+<h2>Methods</h2>
+<blockquote><contents/></blockquote>
+</define>
+
+<define container='tmpl'>
+  <body bgcolor='white' text='black'>
+    <contents/>
+   </body>
+</define>
\ No newline at end of file
-- 
GitLab