Skip to content

Commit fe7ef7b

Browse files
authored
ignore cloud's saas folder when exporting images (#1031)
1 parent 429c7d0 commit fe7ef7b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/docs-assembler/Navigation/GlobalNavigationPathProvider.cs

+3
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ public GlobalNavigationPathProvider(GlobalNavigationFile navigationFile, Assembl
6969

7070
var l = ContentSourceMoniker.CreateString(repositoryName, relativePath).TrimEnd('/');
7171
var lookup = l.AsSpan();
72+
//TODO clean up docs folders in the following repositories
73+
if (lookup.StartsWith("cloud://saas/", StringComparison.Ordinal))
74+
return null;
7275
if (lookup.StartsWith("docs-content://serverless/", StringComparison.Ordinal))
7376
return null;
7477
if (lookup.StartsWith("eland://sphinx/", StringComparison.Ordinal))

0 commit comments

Comments
 (0)