Use templates for doc publish jobs

Change-Id: I836f4da39d7f411ea5f3599400e733cfc8605ff9