redoc icon indicating copy to clipboard operation
redoc copied to clipboard

Fails to build some targets

Open DavidZeise opened this issue 6 years ago • 1 comments

Apparently, sphinx-build fails to build some targets (e.g. text, latexpdf, XML) with this extension included. An IOError Exception is thrown.

IOError: [Errno 2] No such file or directory: u'/mnt/g/git/api-docs/build/text/_static/redoc.js'

This appears to happen because redoc.py is unable to copy the redoc.js to the target folder for some reason.

Build target in the traceback: text

The full traceback: sphinx-err-Zm6iYM.log

DavidZeise avatar Sep 13 '18 11:09 DavidZeise

Thanks for reporting. ReDoc.js will not work with any target but html. However, it's definitely a bug because it must not error on other targets.

ikalnytskyi avatar Sep 14 '18 19:09 ikalnytskyi