QAR-49134: be aware of libdoc when generating aliases