mkhtml2: add support for tables
[gtk-doc.git] / README
blob6c892374cf1ce7274226dea2628035a9207fa6f6
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 Python-six - for python 2,3 compatibility
33 For XML output (recommended):
35 The DocBook XML DTD.
36     http://www.oasis-open.org/docbook/
38 The DocBook XSL Stylesheets.
39     http://docbook.sourceforge.net/projects/xsl/
41 libxslt & libxml2 >= 2.3.6.
42     http://xmlsoft.org/
45 Most distributions now have packages for all of these, so I would strongly
46 advise that you grab those.
48 See the documentation in the help/manual directory for more information. You can
49 read it e.g. with yelp file://$PWD/help/manual/C/gtk-doc-manual.xml