1
Description: Fix Django to build with Sphinx 1.1.2
2
Origin: upstream, https://code.djangoproject.com/changeset/16223
4
--- a/docs/_ext/djangodocs.py (revision 14652)
5
+++ b/docs/_ext/djangodocs.py (revision 16223)
7
# Don't use border=1, which docutils does by default.
8
def visit_table(self, node):
9
+ self._table_row_index = 0 # Needed by Sphinx
10
self.body.append(self.starttag(node, 'table', CLASS='docutils'))