diff --git a/CHANGELOG.md b/CHANGELOG.md index 9dce18577..142da3ceb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - Removed unused `Reflection#originalName`. - Removed `Reflection#kindString`, use `ReflectionKind.singularString(reflection.kind)` or `ReflectionKind.pluralString(reflection.kind)` instead. - Properties related to rendering are no longer stored on `Reflection`, including `url`, `anchor`, `hasOwnDocument`, and `cssClasses`. +- Removed special case for `--plugin none`, to disable plugin auto discovery, set `"plugin": []` in a config file. # Unreleased diff --git a/src/lib/utils/options/sources/typedoc.ts b/src/lib/utils/options/sources/typedoc.ts index 5ba05a781..bd585036b 100644 --- a/src/lib/utils/options/sources/typedoc.ts +++ b/src/lib/utils/options/sources/typedoc.ts @@ -483,7 +483,7 @@ export function addTypeDocOptions(options: Pick) { }); options.addDeclaration({ name: "plugin", - help: "Specify the npm plugins that should be loaded. Omit to load all installed plugins, set to 'none' to load no plugins.", + help: "Specify the npm plugins that should be loaded. Omit to load all installed plugins.", type: ParameterType.ModuleArray, }); options.addDeclaration({ diff --git a/src/lib/utils/plugins.ts b/src/lib/utils/plugins.ts index e7ebf8a64..b8e1fea39 100644 --- a/src/lib/utils/plugins.ts +++ b/src/lib/utils/plugins.ts @@ -6,10 +6,6 @@ import type { Logger } from "./loggers"; import { nicePath } from "./paths"; export function loadPlugins(app: Application, plugins: readonly string[]) { - if (plugins.includes("none")) { - return; - } - for (const plugin of plugins) { const pluginDisplay = getPluginDisplayName(plugin);