Skip to content

GNOME/gtk-doc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GTK-Doc - Documentation generator for C code

Introduction

GTK-Doc is used to document C code. It is typically used to document the public API of libraries, such as GLib-based libraries, but it can also be used to document application code.

Note that GTK-Doc wasn't originally intended to be a general-purpose documentation tool, so it can be a bit awkward to setup and use. For a more general-purpose documentation tool you may want to look at Doxygen. However GTK-Doc has some special code to document the signals and properties of GTK widgets and GObject classes which other tools may not have.

From your source code comments GTK-Doc generates a DocBook XML document, which is then transformed into HTML and/or PDF.

The generated HTML documentation can be browsed in an ordinary web browser or by using the special Devhelp API browser.

Important message about the docbook-style-xsl dependency

To generate the api-index-*.html files, you need to use docbook-style-xsl version 1.79.1, not the latest version.

See:

Documentation

See the help/manual/ directory. You can read the manual with Yelp:

$ yelp help/manual/C/index.docbook

Requirements

Python 3 with these additional modules:

  • For the tests: unittest, parameterized
  • For mkhtml2 (experimental): anytree, lxml and pygments
  • For fixxref: pygments

For XML output (recommended):

For PDF output:

Building

The Meson build system is used.

About

Read-only mirror of https://gitlab.gnome.org/GNOME/gtk-doc

Resources

License

GPL-2.0, Unknown licenses found

Licenses found

GPL-2.0
COPYING
Unknown
COPYING-DOCS

Stars

Watchers

Forks

Packages

No packages published

Contributors 133