From faf79e52feeb613774ab861440d352519ee31f3c Mon Sep 17 00:00:00 2001 From: strowk Date: Tue, 10 Dec 2024 21:04:47 +0100 Subject: [PATCH] zed_extension_api: Add a short explanation of `repo` format (#21824) Improved extension api documentation for latest_github_release function Release Notes: - N/A --------- Co-authored-by: Marshall Bowers --- crates/extension_api/wit/since_v0.2.0/github.wit | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/extension_api/wit/since_v0.2.0/github.wit b/crates/extension_api/wit/since_v0.2.0/github.wit index bb138f5d31bf8..21cd5d48056af 100644 --- a/crates/extension_api/wit/since_v0.2.0/github.wit +++ b/crates/extension_api/wit/since_v0.2.0/github.wit @@ -24,6 +24,8 @@ interface github { } /// Returns the latest release for the given GitHub repository. + /// + /// Takes repo as a string in the form "/", for example: "zed-industries/zed". latest-github-release: func(repo: string, options: github-release-options) -> result; /// Returns the GitHub release with the specified tag name for the given GitHub repository.