Skip to content

Commit 528681e

Browse files
committed
LinkTree: Fix rendering on RTD (no warnings)
1 parent f007875 commit 528681e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sphinx_design_elements/lib/linktree.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def setup(self) -> None:
8989
# When not running on behalf of a Sphinx context, `pathto` is not available.
9090
# TODO: Is there some other way to get it?
9191
if self.pathto is None:
92-
logger.warning("WARNING: Running without Sphinx context, unable to compute links")
92+
logger.info("WARNING: Running without Sphinx context, unable to compute links using `pathto`")
9393
self.pathto = lambda x: None
9494

9595
def remove_from_title(self, text: t.Optional[str]) -> None:

0 commit comments

Comments
 (0)