mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Update sphinx_runner to use Sphinx >= 2
sphinx_runner does not work with Sphinx >= 2.0 since it checks for sphinx >= 1.7, < 2 instead of checking for sphinx >= 1.7. GitOrigin-RevId: 79a3f72cc71228808d99899304763af052a988e4
This commit is contained in:
committed by
intellij-monorepo-bot
parent
91f3430bbc
commit
8d1990cc07
@@ -8,7 +8,7 @@ if __name__ == "__main__":
|
||||
raise NameError("Cannot find sphinx in selected interpreter.")
|
||||
|
||||
version = sphinx.version_info
|
||||
if version[0] >= 1 and version[1] >= 7:
|
||||
if (version[0] >= 1 and version[1] >= 7) or version[0] >= 2:
|
||||
from sphinx.cmd import build
|
||||
build.main(sys.argv[1:])
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user