We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f928dd commit 8a56bb4Copy full SHA for 8a56bb4
_ext/rss.py
@@ -12,8 +12,6 @@
12
from typing import TYPE_CHECKING
13
from urllib.parse import urljoin
14
15
-from sphinx.util import logging
16
-
17
if TYPE_CHECKING:
18
from sphinx.application import Sphinx
19
@@ -86,6 +84,8 @@ def render(self) -> str:
86
84
87
85
88
def generate_tutorials_feed(app: "Sphinx"):
+ from sphinx.util import logging
+
89
logger = logging.getLogger("_ext.rss")
90
logger.info("Generating RSS feed for tutorials")
91
metadata = app.builder.env.metadata
0 commit comments