Basically all the configuration would contain two things - enabling external renderer (rst2htmlbody) and allowance to use class for code blocks.
Docutils can leverage pygments python package to create syntax highlight inside code blocks. Implementation consists two custom classes for getting HTML code tag contain appropriate class keyword and value.