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.
2 parents 84057c4 + f9b5d3e commit b566e0aCopy full SHA for b566e0a
CommunityToolkit.Labs.Core.SourceGenerators/ToolkitSampleMetadataGenerator.Documentation.cs
@@ -147,7 +147,7 @@ private ImmutableArray<ToolkitFrontMatter> GatherDocumentFrontMatter(SourceProdu
147
}
148
149
// Get the filepath we need to be able to load the markdown file in sample app.
150
- var filepath = file.Path.Split(new string[] { @"\labs\" }, StringSplitOptions.RemoveEmptyEntries).LastOrDefault();
+ var filepath = file.Path.Split(new string[] { @"\labs\", "/labs/" }, StringSplitOptions.RemoveEmptyEntries).LastOrDefault();
151
152
// Look for sample id tags
153
var matches = MarkdownRegexSampleTag.Matches(content);
0 commit comments