glfs/gnome/core/gtk-doc.xml

109 lines
3.7 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY gtk-doc-download-http "http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/1.2/gtk-doc-&gtk-doc-version;.tar.bz2">
<!ENTITY gtk-doc-download-ftp "ftp://ftp.gnome.org/pub/GNOME/sources/gtk-doc/1.2/gtk-doc-&gtk-doc-version;.tar.bz2">
<!ENTITY gtk-doc-size "132 KB">
<!ENTITY gtk-doc-buildsize "1092 KB">
<!ENTITY gtk-doc-time "0.01 SBU">
]>
<sect1 id="gtk-doc" xreflabel="GTK-Doc-&gtk-doc-version;">
<?dbhtml filename="gtk-doc.html"?>
<title>GTK-Doc-&gtk-doc-version;</title>
<sect2>
<title>Introduction to <application><acronym>GTK</acronym>-Doc</application></title>
<para>The <application><acronym>GTK</acronym>-Doc</application> package contains a code documentor. This is useful for
extracting specially formatted comments from the code to create
<acronym>API</acronym>
documentation. This package is <emphasis>optional</emphasis>; if it is not
installed, packages will not build the documentation. This does not mean
that you will not have any documentation. If <application><acronym>GTK</acronym>-Doc</application> is not available, the
install process will copy pre-built documentation to your system.
</para>
<sect3><title>Package information</title>
<itemizedlist spacing='compact'>
<listitem><para>Download (HTTP): <ulink
url="&gtk-doc-download-http;"/></para></listitem>
<listitem><para>Download (FTP): <ulink
url="&gtk-doc-download-ftp;"/></para></listitem>
<listitem><para>Download size: &gtk-doc-size;</para></listitem>
<listitem><para>Estimated Disk space required:
&gtk-doc-buildsize;</para></listitem>
<listitem><para>Estimated build time:
&gtk-doc-time;</para></listitem></itemizedlist>
</sect3>
<!-- <sect3><title>Additional downloads:</title>
<itemizedlist spacing='compact'>
<listitem><para>Required download:</para></listitem>
<listitem><para><ulink
url="http://www.labs.redhat.com/png/png-support-3.1.dtd">png-support-3.1.dtd</ulink></para></listitem></itemizedlist></sect3> -->
<sect3><title><application><application><acronym>GTK</acronym>-Doc</application></application> dependencies</title>
<sect4><title>Required</title>
<para>
<xref linkend="openjade"/>,
<xref linkend="libxslt"/>,
<xref linkend="DocBook"/> and
<xref linkend="docbook-xsl"/>
<!--
<xref linkend="sgml-dtd-3"/>,
<xref linkend="sgml-dtd"/> and
<xref linkend="docbook-dsssl"/>
-->
</para></sect4>
</sect3>
</sect2>
<sect2>
<title>Installation of <application><acronym>GTK</acronym>-Doc</application></title>
<para>Install <application><acronym>GTK</acronym>-Doc</application> by running the following commands:</para>
<screen><userinput><command>./configure --prefix=/usr &amp;&amp;
make install</command></userinput></screen>
<!-- <para>You should either save <filename>png-support-3.1.dtd</filename> to
<filename>/usr/share/sgml/docbook/sgml-dtd-3.1</filename> or move the
file to that location. Some configuration steps need to be performed
that are listed at <xref linkend="sgml-dtd-3"/>.</para> -->
</sect2>
<sect2>
<title>Contents</title>
<para>The <application><acronym>GTK</acronym>-Doc</application> package contains
<command>gtkdoc-fixxref</command>,
<command>gtkdoc-mkdb</command>,
<command>gtkdoc-mkhtml</command>,
<command>gtkdoc-mkman</command>,
<command>gtkdoc-mktmpl</command>,
<command>gtkdoc-scan</command>,
<command>gtkdoc-scangobj</command>,
<command>gtkdoc-scanobj</command> and
<command>gtkdocize</command>.
</para>
</sect2>
<sect2><title>Description</title>
<para>These are all <application>Perl</application> scripts used by
<filename>Makefile</filename> scripts to generate
documentation for the package.</para>
</sect2>
</sect1>