Skip to content

Commit 15eeaa5

Browse files
remove hint for unused product keys (#2052)
1 parent e935f61 commit 15eeaa5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Elastic.Markdown/DocumentationGenerator.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,9 @@ private void HintUnusedSubstitutionKeys()
184184
var keysNotInUse = definedKeys.Except(inUse)
185185
// versions keys are injected
186186
.Where(key => !key.StartsWith("version."))
187+
// product keys are injected
188+
.Where(key => !key.StartsWith("product."))
189+
.Where(key => !key.StartsWith('.'))
187190
// reserving context namespace
188191
.Where(key => !key.StartsWith("context."))
189192
.ToArray();

0 commit comments

Comments
 (0)