]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Update gtk-doc template.
authorSimon Josefsson <simon@josefsson.org>
Wed, 9 Nov 2011 14:50:55 +0000 (15:50 +0100)
committerSimon Josefsson <simon@josefsson.org>
Wed, 9 Nov 2011 14:51:22 +0000 (15:51 +0100)
configure.ac
doc/reference/gnutls-docs.sgml
doc/reference/version.xml.in [new file with mode: 0644]

index 5c67940a034599fa4203228bf341b3087072c4ea..8d47fbc171d95a4ca5f5936b2402ab227c49f0aa 100644 (file)
@@ -449,6 +449,7 @@ AC_CONFIG_FILES([
   doc/examples/Makefile
   doc/manpages/Makefile
   doc/reference/Makefile
+  doc/reference/version.xml
   doc/scripts/Makefile
   gl/Makefile
   gl/tests/Makefile
index 90b6162bbf724ca2ef168a0680c24fafc4d983ff..63df17cb16478f4723a36575d2bb3d56836c1856 100644 (file)
@@ -1,9 +1,18 @@
 <?xml version="1.0"?>
-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
-               "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
-<book id="index" xmlns:xi="http://www.w3.org/2003/XInclude">
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+               "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[
+  <!ENTITY % local.common.attrib "xmlns:xi  CDATA  #FIXED 'http://www.w3.org/2003/XInclude'">
+  <!ENTITY version SYSTEM "version.xml">
+]>
+<book id="index">
   <bookinfo>
     <title>GnuTLS API Reference Manual</title>
+    <releaseinfo>
+      for GnuTLS &version;.
+      The latest version of this documentation can be found on-line at
+      <ulink role="online-location" url="https://www.gnu.org/software/gnutls/reference/">https://www.gnu.org/software/gnutls/reference/</ulink>.
+    </releaseinfo>
   </bookinfo>
 
   <chapter id="intro">
     <xi:include href="xml/gnutls.xml"/>
     <xi:include href="xml/abstract.xml"/>
     <xi:include href="xml/x509.xml"/>
-    <xi:include href="xml/pkcs11.xml"/>
-    <xi:include href="xml/pkcs12.xml"/>
     <xi:include href="xml/openpgp.xml"/>
-    <xi:include href="xml/crypto.xml"/>
     <xi:include href="xml/dtls.xml"/>
-  </chapter>
+    <xi:include href="xml/crypto.xml"/>
+    <xi:include href="xml/pkcs11.xml"/>
+    <xi:include href="xml/pkcs12.xml"/>
 
+  </chapter>
   <index id="api-index-full">
-    <title>Index of all symbols</title>
+    <title>API Index</title>
+    <xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
   </index>
   <index role="deprecated" id="api-index-deprecated">
     <title>Index of deprecated symbols</title>
diff --git a/doc/reference/version.xml.in b/doc/reference/version.xml.in
new file mode 100644 (file)
index 0000000..27323da
--- /dev/null
@@ -0,0 +1 @@
+@VERSION@
\ No newline at end of file