You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/pages/reference/configuration/output.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -386,6 +386,26 @@ Default Value: `en`.
386
386
387
387
Give you the possibility to set the locale for the mock generation. It is used by faker, see the list of available options [here](https://fakerjs.dev/guide/localization.html#available-locales). It should also be strongly typed using `defineConfig`.
388
388
389
+
### docs
390
+
391
+
Type: `Boolean | Object`.
392
+
393
+
Default Value: `false`.
394
+
395
+
Will generate API docs using [TypeDoc](https://typedoc.org/). by default these docs will be in Markdown format.
396
+
397
+
TypeDoc can be configured by creating a config file e.g. `typedoc.config.mjs` in your project root (see the [config docs](https://typedoc.org/options/configuration/#options) for a full list of supported file names) or by passing a config filename to the `config` option below.
398
+
399
+
See the TypeDoc [configuration documentation](https://typedoc.org/options/) for more details.
400
+
401
+
The `docs` option can take some properties to customize the generation if you set it to an object. If you set it to `true`, the default options will be used.
402
+
403
+
#### config
404
+
405
+
Type: `String`.
406
+
407
+
Use to specify a TypeDoc config filename. This can be useful if your project already has a TypeDoc config for other docs.
0 commit comments