docs: import SphinxWarning in configuration

Fixes a NameError when reporting problems.

[ci skip]
This commit is contained in:
David Adam 2019-04-02 23:26:24 +08:00
parent 4d54147e7e
commit c50eb7c85f

View file

@ -9,6 +9,7 @@
import glob
import os.path
import pygments
from sphinx.errors import SphinxError, SphinxWarning
# -- Helper functions --------------------------------------------------------