Closed ReinhardKeil closed 3 months ago
Hi @ReinhardKeil
For long description, I find it will show multiple lines for description information. It holds enough characters and is easy to read. So why not have a multi-line display based on 50 or 60 characters to a line?
For example:
I think it's more friendly for user to get enough information about the project from Pack Installer. And 256 character limitation could be a hard-to-find limitation for the average developer.
@FelixWang47831 it's about usability. We want to show a "table of content". There is also a way to link a documentation (could be local or a web URL) that should provide more information. The example below shows a README.md file that could use the formatting features of Markdown (shown nicely in VS Code).
<example name="Blinky" doc="README.md" folder="Projects/Blinky">
<description>CMSIS-RTOS2 Blinky example with VIO</description>
<board name="B-L475E-IOT01A" vendor="STMicroelectronics"/>
In your case the title could be "Shows usage of CMSIS-Driver Ethernet (transmits frames and prints received frames)."
Note: the link to a document is not yet implemented, but IMHO has higher priority. The document could be also shown once the example is imported into the IDE. It could be part of the project.
OK to implement the proposed limitations.
Raised packchk issue: https://github.com/Open-CMSIS-Pack/devtools/issues/1324 ToDo: update documentation with recommendation for all description related elements and attributes.
Documentation got updated. Packchk update is tracked in above mentioned issue.
https://open-cmsis-pack.github.io/Open-CMSIS-Pack-Spec/main/html/pdsc_package_pg.html#element_package https://open-cmsis-pack.github.io/Open-CMSIS-Pack-Spec/main/html/pdsc_examples_pg.html#element_example
Problem
The Open-CMSIS-Pack spec uses the term "brief description", however there is no guidance of a reasonable size or any limit enforcement.
Tools that show such descriptions have however practical limitations (see below)
Suggestion