Increase the maximum recursion depth manual17.05.x 17.05.00
authorJonathan Druart <jonathan.druart@gmail.com>
Mon, 14 Aug 2017 16:26:26 +0000 (13:26 -0300)
committerChris Cormack <chrisc@catalyst.net.nz>
Wed, 4 Oct 2017 14:16:42 +0000 (03:16 +1300)
To avoid 'RuntimeError: maximum recursion depth exceeded while calling a
Python object'

See https://github.com/sphinx-doc/sphinx/pull/2325

1500 was not enough

(cherry picked from commit 95d70ab97108f01761df7c52e7bd37b1e0c7d0a9)

en/source/conf.py

index f6d5dbe..4b18fc3 100644 (file)
@@ -18,6 +18,7 @@
 # documentation root, use os.path.abspath to make it absolute, like shown here.
 #
 # import os
+import sys; sys.setrecursionlimit(3000)
 # import sys
 # sys.path.insert(0, os.path.abspath('.'))