Use smarty extension when building docs