add option to generate only api or only docs
fix interval start before end in TimewarpOperator