@apify/docusaurus-plugin-typedoc-api

中文文档
5.1.16发布于 2026/06/22MITTypeScriptCommonJS构建来源已验证近 30 天下载 3127

Docusaurus plugin that provides source code API documentation powered by TypeDoc.

原始使用文档
文档目录4 节
  1. Publishing
  2. This project is no longer actively maintained! TypeScript a…
  3. Documentation
  4. Contributing

Apify's fork of docusaurus-plugin-typedoc-api

This is a fork of docusaurus-plugin-typedoc-api adjusted for our usecases with rendering library documentation in Apify Docs.

Publishing

There is no CI yet, so you have to publish updated versions of the package manually.

  1. bump version in packages/plugin/package.json
  2. yarn build in root
  3. cd packages/plugin && npm publish

Original readme

This project is no longer actively maintained! TypeScript and TypeDoc continually release breaking changes that make keeping this project in a workable state very difficult. It's not worth my time, so if you need this project, I suggest forking it.

Build npm version

A Docusaurus plugin for generating source code /api/* routes, powered by TypeDoc.

Documentation

View the official readme for more information on installation and usage.

Contributing

Since this repository doesn't have a public API, nor is its source code organized in a way to utilize TypeDoc, we rely on the types provided by Boost. To contribute, you'll need to clone the Boost project relative to this project as a sibling.

# Setup plugin
git clone [email protected]:milesj/docusaurus-plugin-typedoc-api.git
cd docusaurus-plugin-typedoc-api
yarn install
yarn run pack

# Setup Boost
cd ..
git clone [email protected]:milesj/boost.git
cd boost
yarn install
yarn run pack

After both projects are setup, you can make modifications to this project and then verify the changes by starting the Docusaurus server with yarn run docs. However, hot reloading does not work, so you'll unfortunately need to run this command over and over again... haven't spent the time improving this yet.

版本与发布记录

@apify/docusaurus-plugin-typedoc-api 共发布 62 个版本,首次发布于 2023/08/01;过去 12 个月发布了 19 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
5.1.16latest2026/06/224 个月前
5.1.152026/06/224 个月前
5.1.142026/06/194 个月前
5.1.132026/06/184 个月前
5.1.122026/06/184 个月前
5.1.112026/06/055 个月前

关于 @apify/docusaurus-plugin-typedoc-api 的常见问题

@apify/docusaurus-plugin-typedoc-api 是什么?

Docusaurus plugin that provides source code API documentation powered by TypeDoc.

如何安装 @apify/docusaurus-plugin-typedoc-api?

在项目目录运行 npm install @apify/docusaurus-plugin-typedoc-api,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:@docusaurus/core(^3.8.1)、@docusaurus/mdx-loader(^3.8.1)、@docusaurus/plugin-content-docs(^3.8.1)、@docusaurus/preset-classic(^3.8.1)、@docusaurus/theme-common(^3.8.1)、@docusaurus/types(^3.8.1)、@docusaurus/utils(^3.8.1)、@types/react(^18.3.11 || >=19.0.0)、react(>=18.0.0 || >=19.0.0)、react-dom(^18.2.0 || >=19.0.0)、typescript(^5.0.0)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@apify/docusaurus-plugin-typedoc-api 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@apify/docusaurus-plugin-typedoc-api 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@apify/docusaurus-plugin-typedoc-api 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=16.12.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@apify/docusaurus-plugin-typedoc-api 可以商用吗?

@apify/docusaurus-plugin-typedoc-api 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@apify/docusaurus-plugin-typedoc-api 的下载量有多少?

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

@apify/docusaurus-plugin-typedoc-api 还在维护吗?

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