formatting API doc