Use asset pipeline when handling docs