Files
penpot/plugins/docs/api-docs.md
Andrey Antukh ec1af4ad96 🎉 Import penpot-plugins repository
As commit 819a549e4928d2b1fa98e52bee82d59aec0f70d8
2025-12-30 14:56:15 +01:00

24 lines
818 B
Markdown

### Plugins API Documentation
This document shows you how to create API documentation.
#### On your local
If you want to see what the document will look like (the HTML that's generated), you can run the following command:
```shell
npm run create:api-docs
```
Once you've done that, you'll find the result in `./dist/apps/api-doc`
#### Deploy the API Documentation
Just move to the `stable` branch in this repository and rebase it with the latest changes from the `main` branch. This will trigger the deployment at Cloudfare if the `/libs/plugin-types/index.d.ts` or the `/tools/typedoc.css` files have been updated.
Take a look at the [Penpot plugins API](https://penpot-plugins-api-doc.pages.dev/) to see what's new.
#### Styles
If you want to make some style changes you can do it in `/tools/typedoc.css`.