Add directory as input for libdoc