Only make docs when doc is enabled