build docs as part of publish