mkdb: removove 3 more global vars
[gtk-doc.git] / README
blob4b20e7ce38bc3cb82475a9f24bd3d4e449413ecc
2 GTK+ DocBook Documentation Generator
3 ====================================
5 GTK-Doc is used to document C code. It is typically used to document the public
6 API of libraries, such as the GTK+ and GNOME libraries, but it can also be
7 used to document application code.
9 Note that GTK-Doc wasn't originally intended to be a general-purpose
10 documentation tool, so it can be a bit awkward to setup and use.
11 For a more polished general-purpose documentation tool you may want to look
12 at Doxygen (http://www.doxygen.org/). However GTK-Doc has some special code
13 to document the signals and properties of GTK+ widgets and GObject classes
14 which other tools may not have.
16 From your source code comments GTK-Doc generates a Docbook XML document, which
17 is then transformed into HTML and/or PDF.
18 The generated HTML documentation can be browsed in an ordinary web browser or
19 by using the special Devhelp API browser
20 (see http://developer.imendio.com/wiki/Devhelp).
22 Please use DoxBook XML instead of DocBook SGML - support for the later will be
23 dropped.
25 Requirements
26 ============
28 Python 2.7, 3.x - the secondary scripts are written in Python
29     http:///www.python.org
31 For XML output (recommended):
33 The DocBook XML DTD.
34     http://www.oasis-open.org/docbook/
36 The DocBook XSL Stylesheets.
37     http://docbook.sourceforge.net/projects/xsl/
39 libxslt & libxml2 >= 2.3.6.
40     http://xmlsoft.org/
43 Most distributions now have packages for all of these, so I would strongly
44 advise that you grab those.
46 See the documentation in the help/manual directory for more information. You can
47 read it e.g. with yelp file://$PWD/help/manual/C/gtk-doc-manual.xml