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 de9b8f8 commit ad1b63cCopy full SHA for ad1b63c
eng/build/Build.Website.cs
@@ -247,8 +247,9 @@ void CreateRedirectsFromOldWebsiteUrlsToNewWebsiteUrls(AbsolutePath basePath)
247
continue;
248
}
249
250
+ Directory.CreateDirectory(dir.Parent / $"{dir.Name}.html");
251
File.WriteAllText(
- dir.Parent / $"{dir.Name}.html",
252
+ dir.Parent / $"{dir.Name}.html" / "index.html",
253
GetRedirect(basePath.GetRelativePathTo(dir).ToString().Replace('\\', '/'))
254
);
255
0 commit comments