May 8, 2025 - Added option to provide a readme file for particular plugins in a package

Change Header


Change Type: Feature
Product area: Platform services
Component: Administration
Deployed at: eu.latest.cumulocity.com, apj.cumulocity.com, jp.cumulocity.com

Technical details

Build artifact: ui-c8y (1021.64.0)
Internal ID: MTM-62166

Change Description


Previously, only one readme file could be added to a package - by storing the README.md file in the package root folder. With this update a readme file can be created for each plugin within a package, thus providing users with a better experience and placing the information closer to the plugin.

To add the readme for the plugin, the README.md file must be provided in the plugin codebase (the recommended place is the same folder as the exposed plugin module) and thereadmePath property (indicating the path to this file) must be added to the exports. For example:

{
  name: 'Example widget plugin',
  module: 'WidgetPluginModule',
  path: './src/app/widget/widget-plugin.module.ts',
  readmePath: './src/app/widget/README.md',
  description: 'Adds a custom widget to the shell application'
}

When the package is deployed, the readme can be viewed in the package details, the package versions view (readme for specific version), the installed plugins list and the available plugins list.