macOS
brew install gtk-doclocal Homebrew formula metadata
sudo port install gtk-docMacPorts ports tree · gnome/gtk-doc/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de gtk-doc pour les workflows d'agents IA.
installation
brew install gtk-doclocal Homebrew formula metadata
sudo port install gtk-docMacPorts ports tree · gnome/gtk-doc/Portfile · Source: api.github.com
sudo apk add gtk-docAlpine Linux edge package indexes · gtk-doc · Source: dl-cdn.alpinelinux.org
sudo dnf install gtk-docFedora Rawhide package metadata · gtk-doc · Source: dl.fedoraproject.org
nix profile install nixpkgs#gtk-docnixpkgs package indexes · pkgs/by-name/gt/gtk-doc/package.nix · Source: api.github.com
sudo pacman -S gtk-docArch Linux sync databases · gtk-doc · Source: geo.mirror.pkgbuild.com
sudo zypper install gtk-docopenSUSE Tumbleweed package metadata · gtk-doc · Source: download.opensuse.org
sudo apt install gtk-doc-toolsDebian stable package indexes · gtk-doc-tools · Source: deb.debian.org
aperçu
GTK+ documentation tool
historique
GTK-Doc is a documentation generator for C APIs, especially GLib, GObject, GTK, and GNOME-style libraries. It extracts structured comments from C code, understands GObject signals and properties, produces DocBook XML, and transforms that output into HTML and other formats.
For package maintainers, GTK-Doc is the build-time tool that explains why GNOME library packages often have optional documentation flags, gtkdocize steps, DocBook dependencies, scanner binaries, and generated API reference artifacts.
The GTK-Doc repository has a 'start' tag dated 1998-11-24 and a GTK_DOC_1_0 tag dated 2003-01-20. The GNOME source archive also lists gtk-doc-1.0 tarballs dated 2003-01-20, giving a fixed early release anchor.
The project README says GTK-Doc is used to document C code, typically the public API of libraries such as GLib-based libraries, but also application code. It also notes that GTK-Doc was not originally intended as a general-purpose documentation tool and points to Doxygen for that broader role.
The project evolved from a DocBook-oriented GNOME documentation pipeline into a Python/Meson-era maintenance tool. The NEWS file records Python 3-related changes, an experimental gtkdoc-mkhtml2 toolchain in 1.30, Python 3 requirements in 1.29, and the removal of Autotools as a way to build GTK-Doc itself in 1.36.0.
GTK-Doc was adopted across the GNOME C library ecosystem because it understands GObject-specific concepts that generic C documentation tools may not: signals, properties, object scanners, and conventions used by GTK widgets and GObject classes.
The archived GNOME GtkDoc page describes it as a tool for extracting API documentation from C code like Doxygen, with special support for GObject, and describes HTML output by default with PDF and man-page output possible with extra work. GNOME project pages and coding-practice material refer to GTK-Doc annotations as part of documenting public C APIs.
A project using GTK-Doc writes documentation blocks in C comments, keeps section and symbol metadata, runs tools such as gtkdoc-scan, gtkdoc-scangobj, gtkdoc-mkdb, gtkdoc-mkhtml, gtkdoc-fixxref, gtkdoc-mkman, gtkdoc-mkpdf, and often integrates gtkdocize with Autotools-era projects or Meson build definitions.
The README describes generated HTML as browsable in a normal browser or in Devhelp. The manual/wiki workflow also explains the package's role in local developer environments: it is not just a documentation renderer, but a scanner and cross-reference pipeline used while building source distributions.
GTK-Doc is a classic build dependency that users may never run directly but packagers recognize instantly. Enabling API docs in a GNOME library can pull in GTK-Doc, DocBook DTDs, DocBook XSL stylesheets, libxml2/libxslt, Python modules, and sometimes PDF tooling such as dblatex.
Its long tail matters because old projects may still expect gtkdocize and Autotools integration, while the GTK-Doc project itself moved its own build to Meson. That split between being built with Meson and still supporting Autotools integration in downstream projects is package-maintainer lore.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
gtkdoc-check | cli | exécutable global | |
gtkdoc-depscan | cli | exécutable global | |
gtkdoc-fixxref | cli | exécutable global | |
gtkdoc-mkdb | cli | exécutable global | |
gtkdoc-mkhtml | cli | exécutable global | |
gtkdoc-mkhtml2 | cli | exécutable global | |
gtkdoc-mkman | cli | exécutable global | |
gtkdoc-mkpdf | cli | exécutable global | |
gtkdoc-rebase | cli | exécutable global | |
gtkdoc-scan | cli | exécutable global | |
gtkdoc-scangobj | cli | exécutable global | |
gtkdocize | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://gitlab.gnome.org/GNOME/gtk-doc
métadonnées d'installation
| Clé du paquet | brew:gtk-doc |
|---|---|
| Version | 1.36.1 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/gtk-doc |
| Page d'accueil | https://gitlab.gnome.org/GNOME/gtk-doc |
| Dépôt | https://gitlab.gnome.org/GNOME/gtk-doc |
| Docs amont | https://gitlab.gnome.org/GNOME/gtk-doc/-/tree/master/help/manual/C |
| Licence | GPL-2.0-or-later |
| Archive source | https://download.gnome.org/sources/gtk-doc/1.36/gtk-doc-1.36.1.tar.xz |
| Dernière mise à jour | 2026-04-22T13:17:23Z |
| Pulse | updated |
| Dépendances | docbook, docbook-xsl, python@3.14 |
| Dépendances de compilation | meson, ninja, pkgconf |
| Bibliothèques fournies par macOS | libxml2, libxslt |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gtk-doc |
| Version Scheme | 0 |
| Revision | 1 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
gtk-doc-tools 1.34.0-2
GTK+ documentation tools
https://gitlab.gnome.org/GNOME/gtk-doc/
sudo apt install gtk-doc-toolsgtk-doc
nix profile install nixpkgs#gtk-docgtk-doc-tools 1.34.0-1
GTK+ documentation tools
https://gitlab.gnome.org/GNOME/gtk-doc/
sudo apt install gtk-doc-toolsgtk-doc 1.36.0-r1
Documentation tool for public library API
https://gitlab.gnome.org/GNOME/gtk-doc
sudo apk add gtk-docgtk-doc 1.36.1-1.fc45
API documentation generation tool for GTK+ and GNOME
https://gitlab.gnome.org/GNOME/gtk-doc/
sudo dnf install gtk-docgtk-doc 1.36.1-1
Documentation tool for public library API
https://gitlab.gnome.org/GNOME/gtk-doc
sudo pacman -S gtk-docgtk-doc 1.36.1-1.1
GTK+ Documentation Generator
sudo zypper install gtk-docgtk-doc-mkpdf 1.36.1-1.1
Gtkdoc PDF Generator
sudo zypper install gtk-doc-mkpdfgtk-doc
sudo port install gtk-docpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.