Since http://pygments.org/ (what Sphinx uses for syntax highlighting) doesn't do DTS yet, implement DTS syntax highlighting and then use it (and the standard C source highlighting). I'll be submitting the DTS highlighting upstream too, but having it in tree will ensure it works for people not running a future version of pygments. Stewart Smith (2): Enable syntax highlighting of device tree source Syntax highlight C and DTS source/conf.py | 6 +++ source/devicenodes.rst | 18 ++++----- source/devicetree-basics.rst | 14 ++++--- source/extensions/DtsLexer.py | 89 +++++++++++++++++++++++++++++++++++++++++++ source/flattened-format.rst | 6 +-- 5 files changed, 115 insertions(+), 18 deletions(-) create mode 100644 source/extensions/DtsLexer.py -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree-spec" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html