doc: try to fix jinja infinite recursion error