mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
doc: Update workaround for RTD
This commit is contained in:
@@ -148,4 +148,6 @@ def setup(app):
|
|||||||
# workaround for RTD
|
# workaround for RTD
|
||||||
from sphinx.util import logging
|
from sphinx.util import logging
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
app.debug = lambda *args: logger.warning(*args)
|
app.info = lambda *args: logger.info(*args)
|
||||||
|
app.warn = lambda *args: logger.warning(*args)
|
||||||
|
app.debug = lambda *args: logger.debug(*args)
|
||||||
|
|||||||
Reference in New Issue
Block a user