mozilla / sphinx-js

Autodoc-style extraction into Sphinx for your JS project
https://pypi.python.org/pypi/sphinx-js/
MIT License
282 stars 81 forks source link

feat: Be more lenient on errors if app.config.sphinxjs_lax is set #116

Open ptbrowne opened 5 years ago

ptbrowne commented 5 years ago

When integrating sphinxjs for a multi repository documentation site, I stumbled upon several conflicts errors and Rule 'path_and_formal_params' didn't match at (#109).

For my usecase, it is more convenient to ignore those errors and fix them on a case by case basis, so I do not mind if I ignore those doclets.

This PR adds a config attribute sphinxjs_lax that make sphinxjs doclet generation not fail if it has errors.

ptbrowne commented 5 years ago

Should be OK now, thanks for the review.