Added document generator job
Fixed rubocop errors