added raw_output check in doc template
enable raw output