﻿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
31025	HTMLTranslator.highlightlinenothreshold will be removed in Sphinx 3.0.	Baptiste Mispelon	Baptiste Mispelon	"I noticed a deprecation warning while building the documentation locally today:
{{{
./django/docs/_ext/djangodocs.py:260: RemovedInSphinx30Warning: HTMLTranslator.highlightlinenothreshold is deprecated.                                              
  linenos = win_text.count('\n') >= self.highlightlinenothreshold - 1
}}}

Looks like the `highlightlinenothreshold` property is going away in Sphinx 3.0.
Luckily it looks like the fix should be straightforward (`highlightlinenothreshold` was basically an alias for `sys.maxsize`). [1]

PR incoming.

[1] https://github.com/sphinx-doc/sphinx/commit/61098a0ae2e696a804459d36bd74ca57db76eda5#diff-9ae39fbf16dabc27af998b9c0a6968a0L977"	Cleanup/optimization	closed	Documentation	dev	Normal	fixed			Accepted	1	0	0	0	0	0
