sphinx-doc / sphinx-doc-translations

translated docs for sphinx official document
Other
21 stars 16 forks source link

Install all docs requirements, including optionals #26

Closed rffontenelle closed 6 months ago

rffontenelle commented 8 months ago

sphinxcontrib-websupport is set as an optional dependency for target [docs] in sphinx's pyproject.toml. This will make sure to install it as well.

This solves the current error when building translated Sphinx's documentation:

reading sources... [100%] usage/theming
WARNING: autodoc: failed to import method 'websupport.WebSupport.build' from module 'sphinxcontrib'; the following exception was raised:
No module named 'sphinxcontrib.websupport'

The above error can be seen in readthedocs build logs like https://readthedocs.org/projects/sphinx-pt-br/builds/22377307/ in build step or raw log.