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 bfdec07 commit 3dde94fCopy full SHA for 3dde94f
sphinxnotes/snippet/picker.py
@@ -26,7 +26,7 @@ def pick(doctree:nodes.document) -> List[Tuple[Snippet,nodes.section]]:
26
Pick snippets from document, return a list of snippet and the section
27
it belongs to.
28
"""
29
- if doctree.source is None or doctree.source == "":
+ if doctree.source == "":
30
logger.debug('Skipped document with empty source')
31
return []
32
0 commit comments