macOS
brew install gi-docgenlocal Homebrew formula metadata
sudo port install gi-docgenMacPorts ports tree · gnome/gi-docgen/Portfile · source: api.github.com
brew
Documentation tool for GObject-based libraries. Version 2026.1 via Homebrew; verified 2026-06-13.
install
brew install gi-docgenlocal Homebrew formula metadata
sudo port install gi-docgenMacPorts ports tree · gnome/gi-docgen/Portfile · source: api.github.com
sudo apk add gi-docgenAlpine Linux edge package indexes · gi-docgen · source: dl-cdn.alpinelinux.org
sudo apt install gi-docgenDebian stable package indexes · gi-docgen · source: deb.debian.org
sudo dnf install gi-docgenFedora Rawhide package metadata · gi-docgen · source: dl.fedoraproject.org
nix profile install nixpkgs#gi-docgennixpkgs package indexes · pkgs/by-name/gi/gi-docgen/package.nix · source: api.github.com
sudo pacman -S gi-docgenArch Linux sync databases · gi-docgen · source: geo.mirror.pkgbuild.com
overview
Documentation tool for GObject-based libraries
history
GI-DocGen is GNOME's documentation generator for GObject-based libraries. It uses GObject Introspection data to produce API references and ancillary documentation, especially for GTK and nearby platform libraries.
The GNOME-hosted GitLab project was created in November 2020 and carries GNOME Foundation copyright terms from 2021. Its documentation frames the project as a focused generator for libraries that expose GObject Introspection data, with GTK and its immediate dependencies as the primary target rather than all C libraries.
GI-DocGen sits in the lineage of GNOME API documentation tooling alongside GTK-Doc, but it reflects a later approach built around introspection metadata, Sphinx-style documentation pages, Meson integration, and generated reference sites for the GObject ecosystem.
The project's adoption is tied to GNOME library publishing rather than broad language-wide documentation. It matters because many GNOME platform libraries share the same GObject Introspection machinery, so a generator that understands that metadata can produce consistent API references for libraries that bindings and application developers depend on.
Distribution packaging across Linux distributions, Homebrew, MacPorts, Nix, and Python packaging made GI-DocGen available to maintainers building GNOME-related source releases and documentation sites.
Practitioners use GI-DocGen from a source tree or a package installation to generate reference documentation from introspection data and a project configuration file. The documented workflow points users to a tutorial, project configuration, linking rules, introspection attributes, templates, content pages, and command documentation.
The README emphasizes that GI-DocGen is not a general C documentation tool. Its practical use is strongest in GObject projects that already produce introspection data and want API pages aligned with GTK and GNOME documentation conventions.
For package maintainers, GI-DocGen is a build-time documentation dependency with GNOME-specific semantics. It is useful in distro and Homebrew contexts because it can be installed as a normal tool while preserving the GNOME project's preferred documentation pipeline.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
gi-docgen | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://gnome.pages.gitlab.gnome.org/gi-docgen/
install metadata
| Package key | brew:gi-docgen |
|---|---|
| Version | 2026.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/gi-docgen |
| Homepage | https://gnome.pages.gitlab.gnome.org/gi-docgen/ |
| Repository | https://gitlab.gnome.org/GNOME/gi-docgen |
| Upstream docs | https://gnome.pages.gitlab.gnome.org/gi-docgen |
| License | Apache-2.0 OR GPL-3.0-or-later |
| Source archive | https://files.pythonhosted.org/packages/43/23/386dad008d1f1dc3c7188db63ea5bf82ceb41a5914fb050e6e09a14a457a/gi_docgen-2026.1.tar.gz |
| Last updated | 2026-06-13T23:34:55+02:00 |
| Pulse | updated |
| Dependencies | python@3.14 |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gi-docgen |
| Version Scheme | 0 |
| Revision | 1 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
gi-docgen 2025.3-1
source code documentation tool using GObject-Introspection
https://gitlab.gnome.org/GNOME/gi-docgen/
sudo apt install gi-docgengi-docgen-doc 2025.3-1
Documentation for the gi-docgen documentation tool
https://gitlab.gnome.org/GNOME/gi-docgen/
sudo apt install gi-docgen-docgi-docgen
nix profile install nixpkgs#gi-docgengi-docgen 2023.3+ds-1
source code documentation tool using GObject-Introspection
https://gitlab.gnome.org/GNOME/gi-docgen/
sudo apt install gi-docgengi-docgen-doc 2023.3+ds-1
Documentation for the gi-docgen documentation tool
https://gitlab.gnome.org/GNOME/gi-docgen/
sudo apt install gi-docgen-docgi-docgen 2026.1-r1
A documentation generator for GObject-based libraries
https://gitlab.gnome.org/GNOME/gi-docgen
sudo apk add gi-docgengi-docgen-pyc 2026.1-r1
Precompiled Python bytecode for gi-docgen
https://gitlab.gnome.org/GNOME/gi-docgen
sudo apk add gi-docgen-pycgi-docgen 2026.1-11.fc45
Documentation tool for GObject-based libraries
https://gitlab.gnome.org/GNOME/gi-docgen
sudo dnf install gi-docgengi-docgen-fonts 2026.1-11.fc45
Metapackage providing fonts for gi-docgen output
https://gitlab.gnome.org/GNOME/gi-docgen
sudo dnf install gi-docgen-fontsgi-docgen 2026.1-1
Documentation generator for GObject-based libraries
https://gnome.pages.gitlab.gnome.org/gi-docgen/
sudo pacman -S gi-docgengi-docgen
sudo port install gi-docgensource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.