lib: fix doc formatting