generating sphinx rst documentation automatically