Build docs before copying them, doh