Skip to content

Commit

Permalink
Merge pull request #25 from catalyst/fix-logging
Browse files Browse the repository at this point in the history
Fix deprecated app.info warning, removed in Sphinx 2.x
  • Loading branch information
tell-k committed May 5, 2019
2 parents f928692 + 7e23c36 commit 2f67918
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 2f67918

Please sign in to comment.