Blame README

Packit Service 7866ab
Packit Service 7866ab
GTK+ DocBook Documentation Generator
Packit Service 7866ab
====================================
Packit Service 7866ab
Packit Service 7866ab
GTK-Doc is used to document C code. It is typically used to document the public
Packit Service 7866ab
API of libraries, such as the GTK+ and GNOME libraries, but it can also be
Packit Service 7866ab
used to document application code.
Packit Service 7866ab
Packit Service 7866ab
Note that GTK-Doc wasn't originally intended to be a general-purpose
Packit Service 7866ab
documentation tool, so it can be a bit awkward to setup and use.
Packit Service 7866ab
For a more polished general-purpose documentation tool you may want to look
Packit Service 7866ab
at Doxygen (http://www.doxygen.org/). However GTK-Doc has some special code
Packit Service 7866ab
to document the signals and properties of GTK+ widgets and GObject classes
Packit Service 7866ab
which other tools may not have.
Packit Service 7866ab
Packit Service 7866ab
From your source code comments GTK-Doc generates a Docbook XML document, which
Packit Service 7866ab
is then transformed into HTML and/or PDF.
Packit Service 7866ab
The generated HTML documentation can be browsed in an ordinary web browser or
Packit Service 7866ab
by using the special Devhelp API browser
Packit Service 7866ab
(see http://developer.imendio.com/wiki/Devhelp).
Packit Service 7866ab
Packit Service 7866ab
Please use DoxBook XML instead of DocBook SGML - support for the later will be
Packit Service 7866ab
dropped.
Packit Service 7866ab
Packit Service 7866ab
Requirements
Packit Service 7866ab
============
Packit Service 7866ab
Packit Service 7866ab
Python 2.7, 3.x - the secondary scripts are written in Python
Packit Service 7866ab
    http:///www.python.org
Packit Service 7866ab
Packit Service 7866ab
Python-six - for python 2,3 compatibility
Packit Service 7866ab
Packit Service 7866ab
For XML output (recommended):
Packit Service 7866ab
Packit Service 7866ab
The DocBook XML DTD.
Packit Service 7866ab
    http://www.oasis-open.org/docbook/
Packit Service 7866ab
Packit Service 7866ab
The DocBook XSL Stylesheets.
Packit Service 7866ab
    http://docbook.sourceforge.net/projects/xsl/
Packit Service 7866ab
Packit Service 7866ab
libxslt & libxml2 >= 2.3.6.
Packit Service 7866ab
    http://xmlsoft.org/
Packit Service 7866ab
Packit Service 7866ab
Packit Service 7866ab
Most distributions now have packages for all of these, so I would strongly
Packit Service 7866ab
advise that you grab those.
Packit Service 7866ab
Packit Service 7866ab
See the documentation in the help/manual directory for more information. You can
Packit Service 7866ab
read it e.g. with yelp file://$PWD/help/manual/C/gtk-doc-manual.xml