fix publish/doc config