{"agent":"claude","input":"This project's Sphinx documentation uses the m2r extension, which is archived and fails on current docutils and mistune (for example \"module 'mistune' has no attribute 'BlockGrammar'\" or \"module 'docutils.nodes' has no attribute 'reprunicode'\"). Migrate it to m2r2. First find every use of m2r: requirements and constraints files, setup.py and pyproject.toml extras, the extensions list and any m2r_* options in conf.py, mdinclude directives and .md sources in the docs tree, imports of m2r in Python code, and m2r commands in Makefiles, scripts, CI and the Read the Docs configuration. In a clean environment install the docs dependencies as the project does and run its real docs build command; keep the failing output. Then replace m2r with m2r2 in every dependency file, change the extension name in conf.py, update imports and command names, and keep directive and option names that m2r2 still accepts (check them against the installed m2r2, do not guess). Rebuild with the same command and the same flags. For comparison, build the old configuration in a second environment with m2r 0.3.1 and docutils below 0.21, and compare the generated HTML for every page that includes Markdown; list each visible difference with the Markdown that caused it. Report every new warning. Do not pin Sphinx or docutils to old versions as the fix, do not convert Markdown files to reStructuredText, and do not change the theme. If the docs build runs in CI or on Read the Docs, say what Python version it uses and whether m2r2 supports it. Open a pull request with the failing output, the passing output and the list of rendering differences.","resources":[{"url":"https://github.com/your-org/your-app"}]}