macOS
brew install protoc-gen-doclocal Homebrew formula metadata
安装
brew install protoc-gen-doclocal Homebrew formula metadata
sudo apk add protoc-gen-docAlpine Linux edge package indexes · protoc-gen-doc · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#protoc-gen-docnixpkgs package indexes · pkgs/by-name/pr/protoc-gen-doc/package.nix · 来源: api.github.com
概览
Documentation generator plugin for Google Protocol Buffers
历史
protoc-gen-doc is a protoc plugin that generates API documentation from comments in Protocol Buffer schemas. It supports built-in HTML, Markdown, DocBook, and JSON output as well as custom templates.
protoc-gen-doc was created as a standalone plugin for Google's Protocol Buffers compiler. It converts comments and declarations in proto2 and proto3 schemas into human-readable or machine-readable documentation.
The project is distributed through several developer-oriented channels, including downloadable binaries, a container image, Maven Central, and package managers represented in source_facts.package-manager. This makes it usable in local builds and language-neutral documentation pipelines.
Place the executable on PATH, then invoke protoc with --doc_out and --doc_opt to select an output directory, format or template, and output filename. The plugin can also exclude selected schema paths or comments and offers a containerized workflow using mounted input and output directories. It has no documented persistent configuration or credential file.
It is a focused example of the protoc plugin model applied to documentation rather than source-code generation. Its support for HTML, Markdown, DocBook, JSON, and custom Go templates makes it useful when protobuf schemas double as an interface-description source.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
protoc-gen-doc | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/pseudomuto/protoc-gen-doc
安装元数据
| 软件包键 | brew:protoc-gen-doc |
|---|---|
| 版本 | 1.5.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/protoc-gen-doc |
| 主页 | https://github.com/pseudomuto/protoc-gen-doc |
| 仓库 | https://github.com/pseudomuto/protoc-gen-doc |
| 许可证 | MIT |
| 源码归档 | https://github.com/pseudomuto/protoc-gen-doc/archive/refs/tags/v1.5.1.tar.gz |
| 最后更新 | 2026-09-13T12:25:23Z |
| Pulse | updated |
| 依赖 | protobuf |
| 构建依赖 | go |
| 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 | protoc-gen-doc |
| 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 软件包链接分开显示。
protoc-gen-doc
nix profile install nixpkgs#protoc-gen-docprotoc-gen-doc 1.5.1-r6
protoc plugin to generate documentation from comments in .proto files
https://github.com/pseudomuto/protoc-gen-doc
sudo apk add protoc-gen-docprotoc-gen-doc-doc 1.5.1-r6
protoc plugin to generate documentation from comments in .proto files (documentation)
https://github.com/pseudomuto/protoc-gen-doc
sudo apk add protoc-gen-doc-doc来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.