Fix doc build
Sphinx 1.7 removed the Directive from the compat module. Let's use the docutils version. Change-Id: I22972feea961f0eb2996d605ff98bbe1f5df2711
This commit is contained in:
parent
fbe3c0f898
commit
346e5561b5
@ -17,8 +17,8 @@ import pydoc
|
||||
|
||||
from docutils import core
|
||||
from docutils import nodes
|
||||
from docutils.parsers import rst
|
||||
import six
|
||||
from sphinx.util import compat
|
||||
|
||||
from heat.common.i18n import _
|
||||
from heat.engine import attributes
|
||||
@ -53,7 +53,7 @@ class contribresourcepages(nodes.General, nodes.Element):
|
||||
pass
|
||||
|
||||
|
||||
class ResourcePages(compat.Directive):
|
||||
class ResourcePages(rst.Directive):
|
||||
has_content = False
|
||||
required_arguments = 0
|
||||
optional_arguments = 1
|
||||
|
Loading…
Reference in New Issue
Block a user