Change order of html docs generation