mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Remove sphinx.builder usage.
This commit is contained in:
parent
f5ea8295cd
commit
409cc1fe39
@ -19,7 +19,8 @@ from subprocess import Popen, PIPE
|
||||
from util import *
|
||||
from etree13 import ElementTree as ET
|
||||
|
||||
from sphinx.builder import StandaloneHTMLBuilder, LaTeXBuilder
|
||||
from sphinx.builders.html import StandaloneHTMLBuilder
|
||||
from sphinx.builders.latex import LaTeXBuilder
|
||||
from sphinx.writers.latex import LaTeXTranslator
|
||||
|
||||
|
||||
|
@ -12,7 +12,8 @@
|
||||
from util import *
|
||||
|
||||
from sphinx.environment import BuildEnvironment
|
||||
from sphinx.builder import StandaloneHTMLBuilder, LaTeXBuilder
|
||||
from sphinx.builders.html import StandaloneHTMLBuilder
|
||||
from sphinx.builders.latex import LaTeXBuilder
|
||||
|
||||
app = env = None
|
||||
warnings = []
|
||||
|
@ -19,7 +19,7 @@ except ImportError:
|
||||
# functools is new in 2.4
|
||||
wraps = lambda f: (lambda w: w)
|
||||
|
||||
from sphinx import application, builder
|
||||
from sphinx import application
|
||||
|
||||
from path import path
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user