mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-08-26 05:07:35 -05:00
Remove sphinx.builder usage.
This commit is contained in:
+2
-1
@@ -19,7 +19,8 @@ from subprocess import Popen, PIPE
|
|||||||
from util import *
|
from util import *
|
||||||
from etree13 import ElementTree as ET
|
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
|
from sphinx.writers.latex import LaTeXTranslator
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -12,7 +12,8 @@
|
|||||||
from util import *
|
from util import *
|
||||||
|
|
||||||
from sphinx.environment import BuildEnvironment
|
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
|
app = env = None
|
||||||
warnings = []
|
warnings = []
|
||||||
|
|||||||
+1
-1
@@ -19,7 +19,7 @@ except ImportError:
|
|||||||
# functools is new in 2.4
|
# functools is new in 2.4
|
||||||
wraps = lambda f: (lambda w: w)
|
wraps = lambda f: (lambda w: w)
|
||||||
|
|
||||||
from sphinx import application, builder
|
from sphinx import application
|
||||||
|
|
||||||
from path import path
|
from path import path
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user