Merge pull request #4471 from stephenfin/issue/4470

sphinx: Call 'sphinx.cmd.build.main' function
This commit is contained in:
Takeshi KOMIYA 2018-01-21 12:05:21 +09:00 committed by GitHub
commit e114adc53f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,9 @@
:copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS. :copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details. :license: BSD, see LICENSE for details.
""" """
import sys import sys
from sphinx import main
from sphinx.cmd.build import main
sys.exit(main(sys.argv[1:])) sys.exit(main(sys.argv[1:]))