fix 3.0.3 + add ability disable docs by use flag