---
name: "x86_64-linux-gnu-g-ir-doc-tool"
section: "1"
platform: "linux"
package: "gobject-introspection"
version: "1.84.0-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/g-ir-doc-tool"
---

# x86\_64-linux-gnu-g-ir-doc-tool(1)

Documentation builder

Part of [g-ir-doc-tool(1)](/g-ir-doc-tool/1.md).

## NAME

g-ir-doc-tool - Documentation builder

## SYNOPSIS

**g-ir-doc-tool** \[OPTION...\] GIRFILE

## DESCRIPTION

g-ir-doc-tool builds library documentation directly from .gir files. The output is adjusted according to which programming language you're generating docs for.

## OPTIONS

- **--help**

  Show help options

- **--output=***DIRECTORY*

  Save the resulting output in DIRECTORY.

- **--format=***FORMAT*

  Output format. One of devdocs, mallard or sections.

- **--language=***LANGUAGE*

  Output language. One of c, python, or gjs.

- **--add-include-path=***DIRECTORY*

  Adds a directory which will be used to find includes inside the GIR format.

- **--version**

  Show program's version number and exit

- **--write-sections-file**

  Backwards-compatible equivalent to -f sections.

## BUGS

Report bugs at *https://gitlab.gnome.org/GNOME/gobject-introspection/issues*

## HOMEPAGE AND CONTACT

*https://gi.readthedocs.io/*

## AUTHORS

David King
