Comment #3 on issue 840 by pekka.klarck: libdoc.py: is an actual import of dependencies really required?
http://code.google.com/p/robotframework/issues/detail?id=840
Could you install the required modules into your CI environment or set up a fake environment there?
As I already wrote, libdoc.py uses Robot's modules for importing the test library. This is much easier solution that parsing the source somehow as Robot already has all library importing mechanisms in place. Parsing the source wouldn't even work with any kind of dynamic libraries. Adding another option for parsing the source when it is possible isn't, in my opinion, worth the effort.
