Skip to content

Commit 41473e7

Browse files
committed
update
1 parent 7480bdb commit 41473e7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/sphinxnotes/snippet/cache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,4 @@ def gen_index_id(self) -> str:
105105

106106
def stringify(self, key: DocID, value: list[Item]) -> str:
107107
"""Overwrite PDict.stringify."""
108-
return key[1]
108+
return key[1] # docname

src/sphinxnotes/snippet/snippets.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ def __init__(self, node: nodes.literal_block) -> None:
120120
# of the code block. This convention also applies to the code,
121121
# code-block, sourcecode directive.
122122
self.desc = para
123-
print('>>>>>>>>>>>>>>>>>>>>>>>>>>>>')
124123
super().__init__(para, node)
125124
elif caption := node.get('caption'):
126125
# Use caption as descritpion.

0 commit comments

Comments
 (0)