@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
65 lines (34 loc) • 1.14 kB
Markdown
---
lang: en
title: 'API docs: tsdocs.updateapidocs'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/tsdocs
permalink: /doc/en/lb4/apidocs.tsdocs.updateapidocs.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/tsdocs](./tsdocs.md) > [updateApiDocs](./tsdocs.updateapidocs.md)
## updateApiDocs() function
Update markdown files generated by api-documenter to prepend Jekyll metadata and generate `apidocs/index.md`<!-- -->.
**Signature:**
```typescript
export declare function updateApiDocs(options?: ApiDocsOptions): Promise<void>;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td markdown="1">
options
</td><td markdown="1">
[ApiDocsOptions](./tsdocs.apidocsoptions.md)
</td><td markdown="1">
_(Optional)_ Options for api docs
</td></tr>
</tbody></table>
**Returns:**
Promise<void>