Build doc before install