ENH:add support for select template when make doc