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:
Thomas Herve 2018-03-03 10:40:26 +01:00
parent fbe3c0f898
commit 346e5561b5
1 changed files with 2 additions and 2 deletions

View File

@ -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