docs: Add note about path in extensions.toml (#25778)

This PR adds a note about the `path` field in `extensions.toml` and how
to use it.

Suggested in https://github.com/zed-industries/extensions/pull/2128.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2025-02-27 16:47:01 -05:00 committed by GitHub
parent eaf3949614
commit c05ce882e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -111,6 +111,8 @@ submodule = "extensions/my-extension"
version = "0.0.1" version = "0.0.1"
``` ```
> If your extension is in a subdirectory within the submodule you can use the `path` field to point to where the extension resides.
3. Run `pnpm sort-extensions` to ensure `extensions.toml` and `.gitmodules` are sorted 3. Run `pnpm sort-extensions` to ensure `extensions.toml` and `.gitmodules` are sorted
Once your PR is merged, the extension will be packaged and published to the Zed extension registry. Once your PR is merged, the extension will be packaged and published to the Zed extension registry.