Skip to content

Commit

Permalink
Fix deprecated app.info warning, removed in Sphinx 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
doctorlard committed Apr 9, 2019
1 parent f928692 commit 7e23c36
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/sphinxjp/themes/basicstrap/directives.py
Expand Up @@ -8,6 +8,9 @@
"""
from docutils import nodes
from docutils.parsers.rst.roles import set_classes
from sphinx.util import logging

log = logging.getLogger(__name__)


def fonticon_role(name, rawtext, text, lineno,
Expand All @@ -33,6 +36,6 @@ def setup(app):
"""Initialize
:param app: Sphinx application context.
"""
app.info('Initializing Basicstrap theme directives')
log.info('Initializing Basicstrap theme directives')
app.add_role('fonticon', fonticon_role)
return

0 comments on commit 7e23c36

Please sign in to comment.