2002-08-28 11:03:55 +08:00
<sect2 >
<title > Introduction to gtk-doc</title>
<screen > Download location (HTTP): <ulink url= ">k-doc-download-http;" />
Download location (FTP): <ulink url= ">k-doc-download-ftp;" />
Version used: >k-doc-version;
Package size: >k-doc-size;
Estimated Disk space required: >k-doc-buildsize; </screen>
<para > The gtk-doc package contains a code documentor. This is useful for
extracting specially-formatted comments from the code to create API
documentation. This package is <emphasis > optional</emphasis> , if it is not
2002-08-31 03:53:39 +08:00
installed, packages will not build the documentation. If you choose to
install this package, you will need to follow the hint titled <ulink
url="http://hints.linuxfromscratch.org/hints/docbook.txt">Installing
Docbook DTDs and Tools</ulink> to centralize the catalogs, add
additional dtd's and dsssl templates and install openjade. If
sgml-common will not install:</para>
<screen > ln -s /usr/share/automake-1.6 /usr/share/automake</screen>
<para > You also need to add dtd v3.0 to your collection, and finally, you need to modify dtd-3.1 by adding <ulink url= "http:www.labs.redhat.com/png/png-support.html" > png-support-3.1.dtd</ulink> to <filename > /usr/share/sgml/docbook/sgml-dtd-3.1</filename> and placing:</para>
<screen > PUBLIC "-//GNOME//DTD DocBook PNG Variant V1.1//EN" "png-support-3.1.dtd"</screen>
<para > into the DocBook driver file section of
<filename > /usr/share/sgml/docbook/sgml-dtd-3.1/catalog</filename> .</para>
2002-08-28 11:03:55 +08:00
<screen > gtk-doc depends on:
2002-08-31 03:53:39 +08:00
OpenJade</screen>
2002-08-28 11:03:55 +08:00
</sect2>