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 4976fbc commit 8c80506Copy full SHA for 8c80506
src/Elastic.Markdown/Extensions/DetectionRules/DetectionRulesDocsBuilderExtension.cs
@@ -124,7 +124,7 @@ private IReadOnlyCollection<ITocItem> ReadDetectionRuleFolder(ConfigurationFile
124
.Where(f => !f.Directory!.Attributes.HasFlag(FileAttributes.Hidden) && !f.Directory!.Attributes.HasFlag(FileAttributes.System))
125
.Where(f => f.Extension is ".md" or ".toml")
126
.Where(f => f.Name != "README.md")
127
- .Where(f => !f.FullName.Contains("_deprecated"))
+ .Where(f => !f.FullName.Contains($"{Path.DirectorySeparatorChar}_deprecated{Path.DirectorySeparatorChar}"))
128
.Select(f =>
129
{
130
var relativePath = Path.GetRelativePath(sourceDirectory.FullName, f.FullName);
0 commit comments