library doc