macOS
brew install gi-docgenlocal Homebrew formula metadata
sudo port install gi-docgenMacPorts ports tree · gnome/gi-docgen/Portfile · 来源: api.github.com
安装
brew install gi-docgenlocal Homebrew formula metadata
sudo port install gi-docgenMacPorts ports tree · gnome/gi-docgen/Portfile · 来源: api.github.com
sudo apk add gi-docgenAlpine Linux edge package indexes · gi-docgen · 来源: dl-cdn.alpinelinux.org
sudo apt install gi-docgenDebian stable package indexes · gi-docgen · 来源: deb.debian.org
sudo dnf install gi-docgenFedora Rawhide package metadata · gi-docgen · 来源: dl.fedoraproject.org
nix profile install nixpkgs#gi-docgennixpkgs package indexes · pkgs/by-name/gi/gi-docgen/package.nix · 来源: api.github.com
sudo pacman -S gi-docgenArch Linux sync databases · gi-docgen · 来源: geo.mirror.pkgbuild.com
概览
Documentation tool for GObject-based libraries
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
gi-docgen | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://gnome.pages.gitlab.gnome.org/gi-docgen/
安装元数据
| 软件包键 | brew:gi-docgen |
|---|---|
| 版本 | 2026.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/gi-docgen |
| 主页 | https://gnome.pages.gitlab.gnome.org/gi-docgen/ |
| 仓库 | https://gitlab.gnome.org/GNOME/gi-docgen |
| 上游文档 | https://gnome.pages.gitlab.gnome.org/gi-docgen |
| 许可证 | Apache-2.0 OR GPL-3.0-or-later |
| 源码归档 | https://files.pythonhosted.org/packages/43/23/386dad008d1f1dc3c7188db63ea5bf82ceb41a5914fb050e6e09a14a457a/gi_docgen-2026.1.tar.gz |
| 最后更新 | 2026-06-13T23:34:55+02:00 |
| Pulse | updated |
| 依赖 | python@3.14 |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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-docgen来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.