Merge pull request #80824 from DougGregor/diag-group-docs-on-swift-org-6.2

[6.2] Point at diagnostic group documentation on docs.swift.org
This commit is contained in:
Doug Gregor
2025-04-16 05:29:33 -07:00
committed by GitHub
7 changed files with 54 additions and 36 deletions

View File

@@ -2636,7 +2636,7 @@ static void configureDiagnosticEngine(
std::string docsPath = Options.DiagnosticDocumentationPath;
if (docsPath.empty()) {
// Point at the latest Markdown documentation on GitHub.
docsPath = "https://github.com/swiftlang/swift/tree/main/userdocs/diagnostics";
docsPath = "https://docs.swift.org/compiler/documentation/diagnostics";
}
Diagnostics.setDiagnosticDocumentationPath(docsPath);