Installation

Poetry

poetry add sphinxcontrib-cadquery

Pip

pip install sphinxcontrib-cadquery

Note

It is not possible to install sphinxcontrib-cadquery from VCS i.e. python -m pip install git+https://github.com/…, or poetry add git+https://github.com/… as this circumvents the build process.

Enable the extension in your Sphinx conf.py file:

extensions = [
    "sphinxcontrib.cadquery",
]