title: Sphinx documentation in Django
body: <p>I am currently integrating sphinx generated documentation in my Django app. I want documentation to extend my app templates. The HTML generated by Sphinx should look like this</p>
  
  <pre><code>{% extends "base.html" %}
  {% block content %}
  ...
  </code></pre>
  
  <p>My sphinx theme template looks is:</p>
  
  <pre><code>{{ '{% extends "base.html" %}' }}
  {{ '{% block content %}' }}
  ...
  </code></pre>
  
  <p>Is there nicer way to achieve this? </p>