Comment #3 on issue 925 by [email protected]: [Category] attribute to keyword declaration for libdoc.py
http://code.google.com/p/robotframework/issues/detail?id=925
I just chose an example for explaining the concept. Your way is better actually. It allows us to be able to categorize keywords implemented in libraries, without any additional work, which the example I chose didn't really consider.
