How to add example to my registered library?


#1

Hi,
I’ve read the documentation but didn’t find how to add example code to a library.

Can you point to the relevant documentation?

EDIT:
Meanwhile, I’ve found https://docs.platformio.org/en/latest/librarymanager/config.html#examples
The “A list of example patterns.” sentence wasn’t clear to me. So the question is how this filed work? Can I point to an external directory? E.g. https://domain.com/path/examples/*.c