-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Sphinx.build_main no longer exists in 1.7.0 #4623
Copy link
Copy link
Closed
Labels
Milestone
Description
It doesn't seem there was any mention of this in the changelog, and i'm not aware of a replacement for sphinx.build_main. What can I replace this command with for > 1.7.0?
Problem
- As of 1.7.0,
sphinx.build_mainno longer exists and present a problem for repositories which use this function to build documentation within a script.
Procedure to reproduce the problem
import sphinx
sphinx.build_main(args)
Error logs / results
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'sphinx' has no attribute 'build_main'
Expected results
Pre 1.7, this function was used inside https://github.com/Syntaf/travis-sphinx to build docs and auto deploy to github web pages.
Reproducible project / your project
Environment info
- Python version: 3
- Sphinx version: 1.7.0
Reactions are currently unavailable