document pre-compile process