mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Merge branch 'master' into agj/add-build-test
This commit is contained in:
commit
0073409aaa
@ -3,7 +3,15 @@ import os
|
||||
import pytest
|
||||
import sphinx
|
||||
from sphinx import addnodes
|
||||
from sphinx.builders.html import SingleFileHTMLBuilder, DirectoryHTMLBuilder
|
||||
try:
|
||||
# Available from Sphinx 2.0
|
||||
from sphinx.builders.dirhtml import DirectoryHTMLBuilder
|
||||
from sphinx.builders.singlehtml import SingleFileHTMLBuilder
|
||||
except ImportError:
|
||||
from sphinx.builders.html import (
|
||||
DirectoryHTMLBuilder,
|
||||
SingleFileHTMLBuilder,
|
||||
)
|
||||
|
||||
from .util import build_all
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user