﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
29371	Documentation building fails with AssertionError while writing internals/contributing/triaging-tickets	Giovanni Mariani	nobody	"Trying to package Django for Rosa Linux Fresh R10 (a Mandriva derivative), using sphinx 1.4.9.
The build of Django docs (""make -C docs/ html"") fails while writing internals/contributing/triaging-tickets whit this error message:
Exception occurred:
File ""/usr/lib/python2.7/site-packages/docutils/writers/_html_base.py"", line 735, in depart_document assert not self.context, 'len(context) = %s' % len(self.context)
AssertionError: len(context) = 1

The issue is present in 1.8.19 and 1.11.12, with python 2.7,  as well in 2.0.4, with python 3.5.
Attached full log of a 1.11.2 failed build and corresponding sphinx traceback."	Bug	closed	Documentation	2.0	Normal	wontfix			Unreviewed	0	0	0	0	0	0
