[platform] provide a way to compute URLs for context help pages in ExternalProductResourceUrls (IJPL-204)

The logic which constructs the full URL is moved to ExternalProductResourceUrls's implementations, allowing third-party IDEs to have their own schemas of URLs for context help.

IntelliJ IDEA has been migrated to use the new property.

GitOrigin-RevId: b57b021c07eb84fdd0dd968e057100156a646fb1
This commit is contained in:
Nikolay Chashnikov
2023-08-22 14:28:16 +02:00
committed by intellij-monorepo-bot
parent eee554c5ba
commit 8e07ad9bc1
6 changed files with 40 additions and 11 deletions

View File

@@ -51,4 +51,7 @@ class IntelliJIdeaExternalResourceUrls : BaseJetBrainsExternalProductResourceUrl
override val gettingStartedPageUrl: Url
get() = Urls.newFromEncoded("https://www.jetbrains.com/idea/resources/")
override val baseWebHelpUrl: String
get() = "https://www.jetbrains.com/help/idea/"
}