RTD uses different Sphinx.
Hopefully adding a language to code directive resolves the error.