docs: use literalincludes for whole text files

.. literalinclude
http://sphinx-doc.org/markup/code.html#directive-literalinclude is a
much richer way of showing external files.