adding examples looks pretty straightforward, dev only needs to check if the name is already occupied and if so add a number. This could be done by a register function though.
When it comes to adding help, this becomes even more complicated. So instead of every library developer coming up with their own way to add their help, why not add a registration function?
e.g. register_help(name, location) or if mods can't read from othre mod's directories:
register_help(name, contents)
also register_example() with same argument signature.
adding examples looks pretty straightforward, dev only needs to check if the name is already occupied and if so add a number. This could be done by a register function though.
When it comes to adding help, this becomes even more complicated. So instead of every library developer coming up with their own way to add their help, why not add a registration function?
e.g.
register_help(name, location)
or if mods can't read from othre mod's directories:register_help(name, contents)
also
register_example()
with same argument signature.