]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
added this file
authorMiek Gieben <miekg@NLnetLabs.nl>
Tue, 22 Feb 2005 11:13:48 +0000 (11:13 +0000)
committerMiek Gieben <miekg@NLnetLabs.nl>
Tue, 22 Feb 2005 11:13:48 +0000 (11:13 +0000)
maybe all docs should be written in docbook

doc/Makefile
doc/tutorial.docbook [new file with mode: 0644]

index c537641fb7aecee828565839ea60c5eb7f6cb660..8b7785c44e1d8bcebcaf5f30d8d74216edadc90e 100644 (file)
@@ -10,4 +10,5 @@ clean:
        rm -f *.txt
        rm -f str2host.xml
        rm -f API2.xml
+       rm -f *.html
 
diff --git a/doc/tutorial.docbook b/doc/tutorial.docbook
new file mode 100644 (file)
index 0000000..54ba29f
--- /dev/null
@@ -0,0 +1,70 @@
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
+
+<book>
+  <bookinfo>
+    <title>A tutorial for ldns</title>
+    
+    <author>
+      <firstname>Miek</firstname>
+      <surname>Gieben</surname>
+      <affiliation>
+        <address><email>miekg@nlnetlabs.nl</email></address>
+      </affiliation>
+    </author>
+
+    <copyright>
+      <year>2005</year>
+      <holder>Copyright string here</holder>
+    </copyright>
+
+    <abstract>
+      <para>This tutorial will help you make your first ldns application.
+       </para>
+    </abstract>
+  </bookinfo>
+
+  <preface>
+    <title>Preface</title>
+
+    <para>Your book may have a preface, in which case it should be placed
+      here.</para>
+  </preface>
+      
+  <chapter>
+    <title>Introduction</title>
+
+    <para>This is the first chapter in my book.</para>
+
+    <sect1>
+      <title>My first section</title>
+
+      <para>This is the first section in my book.</para>
+    </sect1>
+  </chapter>
+  <chapter>
+       <title>Getting Started</title>
+               <para>
+
+       </para>
+
+<sect1>
+<title>What are we going to make</title>
+<para>
+
+<programlisting>
+int
+main(int argc, char **argv)
+{
+       return 0;
+}
+</programlisting>
+
+</para>
+
+</sect1>
+
+
+  </chapter>
+
+
+</book>