I am using Sphinx documentation tool. While making HTML files using RST files, following error is shown with a hint to solve the error:
Recursion error: maximum recursion depth exceeded in
cmpThis can happen with very large or deeply nested source files.You can carefully increase the default Python recursion limit of 1000 in
conf.pywith Example:
import sys; sys.setrecursionlimit(1500)
I have tried increasing the sys.setrecursionlimit(), but this solution is not working out.
Apart from this, I tried changing the theme for HTML output. But the error remains; regardless of HTML theme.
sphinx-buildthere are a few options (e.g.-P,-Wthat might help)