Skip to content

API / wxt / downloadDocs

Function: downloadDocs() ​

downloadDocs(options?): Promise<void>

Source: packages/wxt/src/download-docs.ts:43

Download the prose docs that match the installed WXT version into .wxt/docs/v<version> (or <outDir>/v<version>).

Parameters ​

options? ​

DownloadDocsOptions = {}

Returns ​

Promise<void>

Example ​

ts
await downloadDocs();
  await downloadDocs({ outDir: 'tmp/wxt-docs', force: true });

Generated using typedoc-plugin-markdown and TypeDoc