readthedocs / readthedocs-build

Work in Progress builder
19 stars 25 forks source link

sphinx-build: error: argument -d/--maxdepth: invalid int value: '_build/doctrees-readthedocs' #44

Closed jakirkham closed 6 years ago

jakirkham commented 6 years ago

Ran into the following issue trying to build our docs recently. Maybe a compatibility issue between Read the Docs and Sphinx 1.7.

Running Sphinx v1.7.1
loading translations [en]... done
making output directory...
usage: usage: sphinx-build [OPTIONS] -o <OUTPUT_PATH> <MODULE_PATH> [EXCLUDE_PATTERN, ...]
sphinx-build: error: argument -d/--maxdepth: invalid int value: '_build/doctrees-readthedocs'

ref: https://readthedocs.org/projects/dask-image/builds/6832288/

oruebel commented 6 years ago

@jakirkham I'm seeing the same issue. Did you manage to find a workaround?

stsewd commented 6 years ago

@oruebel here https://github.com/rtfd/readthedocs.org/issues/3769 is a little more of info about this issue

jakirkham commented 6 years ago

Sorry for duping myself. 😞 Forgot this was already opened.

jakirkham commented 6 years ago

Added a workaround that solved the issue for me in this comment.