summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorShaun McCance <shaunm@gnome.org>2010-12-13 11:21:54 -0500
committerShaun McCance <shaunm@gnome.org>2010-12-13 11:21:54 -0500
commit0817083db1278084bbe9dd2b3852ac7834a8e37a (patch)
treec6151f87f3870d79c021eaa1b8e3148b1598b148 /templates
parent392694e333d52909c75ec519c73103e59d935e33 (diff)
downloadyelp-tools-0817083db1278084bbe9dd2b3852ac7834a8e37a.tar.gz
[tools/yelp-new.in] Adding yelp-new, create pages from templates
Diffstat (limited to 'templates')
-rw-r--r--templates/Makefile.am4
-rw-r--r--templates/task.page25
2 files changed, 29 insertions, 0 deletions
diff --git a/templates/Makefile.am b/templates/Makefile.am
new file mode 100644
index 0000000..d4bbb75
--- /dev/null
+++ b/templates/Makefile.am
@@ -0,0 +1,4 @@
+tmpldir = $(datadir)/yelp-tools/templates
+tmpl_DATA = task.page
+
+EXTRA_DIST = $(tmpl_DATA)
diff --git a/templates/task.page b/templates/task.page
new file mode 100644
index 0000000..6d103ef
--- /dev/null
+++ b/templates/task.page
@@ -0,0 +1,25 @@
+<?yelp-tmpl-desc Description of how to accomplish a user task?>
+<page xmlns="http://projectmallard.org/1.0/"
+ type="topic"
+ id="@ID@">
+ <info>
+ <credit type="author copyright">
+ <name>@NAME@</name>
+ <email>@EMAIL@</email>
+ <years>@YEAR@</years>
+ </credit>
+
+ <desc></desc>
+ </info>
+
+ <title>@TITLE@</title>
+
+ <p>Short introductory text...</p>
+
+ <steps>
+ <item><p>First step...</p></item>
+ <item><p>Second step...</p></item>
+ <item><p>Third step...</p></item>
+ </steps>
+
+</page>