mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-21 09:38:01 +02:00
Doc: Added news item about new plugin manifest info
This commit is contained in:
parent
af59295968
commit
857e25d84f
Binary file not shown.
After Width: | Height: | Size: 87 KiB |
BIN
Assets/WebsiteAssets/images/news/20240127-promo-tile.png
Normal file
BIN
Assets/WebsiteAssets/images/news/20240127-promo-tile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 282 KiB |
@ -15,8 +15,8 @@ Name | Type | Required? | Description
|
||||
`repository_url` | string | No | Repository URL where the plugin source code is hosted.
|
||||
`categories` | string[] | No | [Categories](#categories) that describes the functionality of the plugin.
|
||||
`screenshots` | Image[] | No | [Screenshots](#Screenshot) are used for listing on Joplin Plugin website.
|
||||
`icons` | Icons | No | If [Icons](#Icons) is not supplied, a standard extension icon will be used by default. You should supply at least a main icon, ideally 48x48 px in size. This is the icon that will be used in various plugin pages. You may, however, supply icons of any size and Joplin will attempt to find the best icon to display in different components. Only PNG icons are allowed.
|
||||
`promo_tile` | Image | No | [Promo tile](#promo-tile) is an optional image that is used to promote your extension on the Joplin Plugins website.
|
||||
`icons` | Icons | No | If [Icons](#Icons) is not supplied, a standard plugin icon will be used by default. You should supply at least a main icon, ideally 48x48 px in size. This is the icon that will be used in various plugin pages. You may, however, supply icons of any size and Joplin will attempt to find the best icon to display in different components. Only PNG icons are allowed.
|
||||
`promo_tile` | Image | No | [Promo tile](#promo-tile) is an optional image that is used to promote your plugin on the Joplin Plugins website.
|
||||
|
||||
## Categories
|
||||
|
||||
|
31
readme/news/20240127-new-plugin-metadata.md
Normal file
31
readme/news/20240127-new-plugin-metadata.md
Normal file
@ -0,0 +1,31 @@
|
||||
# Support for new plugin metadata
|
||||
|
||||
The plugin manifest now supports new properties to better describe and present your plugins on Joplin Plugins website. Those are the `icons`, `categories`, `screenshots` and `promo_tile` properties.
|
||||
|
||||
## Icon
|
||||
|
||||
This is the icon that will be used in various plugin pages, including in your main plugin page. It will be shown on the main result page too. If not provided, a default icon will be displayed instead.
|
||||
|
||||
## Category
|
||||
|
||||
You can supply one or more category for your plugin - it will be used to filter the plugins on the website.
|
||||
|
||||
## Screenshots
|
||||
|
||||
Again you can provide one or more screenshots to present your plugin on the website.
|
||||
|
||||
![](https://raw.githubusercontent.com/laurent22/joplin/dev/Assets/WebsiteAssets/images/news/20240127-icon-category-screenshot.png)
|
||||
|
||||
*An example of plugin with icon, category and screenshot*
|
||||
|
||||
## Promo tile
|
||||
|
||||
The promo tile is an optional image that is used to display your plugin on the main website page. If no promo tile is supplied, the icon will be used instead.
|
||||
|
||||
![](https://raw.githubusercontent.com/laurent22/joplin/dev/Assets/WebsiteAssets/images/news/20240127-promo-tile.png)
|
||||
|
||||
*An example of promo tile*
|
||||
|
||||
## More information
|
||||
|
||||
For more information on how to set this plugin metadata, please check the [Plugin Manifest documentation](https://joplinapp.org/help/api/references/plugin_manifest)
|
Loading…
Reference in New Issue
Block a user