Replaced code in .rst file with literalinclude as suggested