@docsy/theme

中文文档
0.18.1发布于 2026/11/01Apache-2.0构建来源已验证近 30 天下载 8075

A Hugo theme for technical documentation sites

原始使用文档

@docsy/theme

Docsy is a Hugo theme for technical documentation sites.

This package contains the theme files and their npm dependencies, plus the gen-favicons helper.

Usage

Add the theme to your Hugo site:

npm install --save-dev @docsy/theme

Then set the following in your site's hugo.yaml:

theme: '@docsy/theme'
themesDir: node_modules

For prerequisites, project setup, and everything else, see the Docsy documentation.

版本与发布记录

@docsy/theme 共发布 6 个版本,首次发布于 2026/07/25;过去 12 个月发布了 5 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.18.1latest2026/11/0112 天前
0.18.02026/10/081 个月前
0.17.02026/09/012 个月前
0.16.02026/07/303 个月前
0.16.0-rc.12026/07/253 个月前
0.5.12024/12/081.9 年前

关于 @docsy/theme 的常见问题

@docsy/theme 是什么?

A Hugo theme for technical documentation sites

如何安装 @docsy/theme?

在项目目录运行 npm install @docsy/theme,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 gen-favicons,可以用 npx gen-favicons 直接运行。

@docsy/theme 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/docsy__theme 是否存在。

@docsy/theme 可以商用吗?

@docsy/theme 使用 Apache-2.0 许可。宽松许可:允许商业使用、修改和再分发,并附带明确的专利授权;分发时需保留许可与 NOTICE 文件,修改过的文件要注明改动。以上为概括,不构成法律意见,请以许可原文为准。

@docsy/theme 的下载量有多少?

根据 npm 官方下载统计,@docsy/theme 在 2026/10/13 – 2026/11/11 这 30 天内被下载 8,075 次,日均约 269 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@docsy/theme 还在维护吗?

最新版本 0.18.1 发布于 2026/11/01(12 天前);至今共发布 6 个版本,其中过去 12 个月发布了 5 个;首次发布于 2026/07/25。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。