setup.cfg (6 lines of code) (raw):

[build_sphinx] source-dir = doc build-dir = doc/_build all-files = 1 [upload_sphinx] upload-dir = doc/_build/html