Add support for story reference, and update mention reference in outline details

This commit is contained in:
Veronica Berglyd Olsen
2024-10-28 00:08:28 +01:00
parent 07c700f666
commit 785cd3aea9
4 changed files with 96 additions and 65 deletions
+1 -1
View File
@@ -640,7 +640,7 @@ class NWIndex:
"""Extract all references made in a file, and optionally title
section.
"""
tRefs = {x: [] for x in nwKeyWords.KEY_CLASS}
tRefs = {x: [] for x in nwKeyWords.VALID_KEYS}
for rTitle, hItem in self._itemIndex.iterItemHeaders(tHandle):
if sTitle is None or sTitle == rTitle:
for aTag, refTypes in hItem.references.items():