backport doc job to groovy
Merge pull request #582 from mikeferguson/master

update doc job