Add docs for cloning extensions repository (#32897)
Release Notes: - N/A --------- Co-authored-by: Peter Tripp <peter@zed.dev>
This commit is contained in:
parent
0191f16ebc
commit
051fa06c7c
1 changed files with 16 additions and 2 deletions
|
@ -89,12 +89,26 @@ impl zed::Extension for MyExtension {
|
||||||
zed::register_extension!(MyExtension);
|
zed::register_extension!(MyExtension);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Forking and cloning the repo
|
||||||
|
|
||||||
|
1. Fork the repo
|
||||||
|
|
||||||
|
> Note: It is very helpful if you fork the `zed-industries/extensions` repo to a personal GitHub account instead of a GitHub organization, as this allows Zed staff to push any needed changes to your PR to expedite the publishing process.
|
||||||
|
|
||||||
|
2. Clone the repo to your local machine
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# Substitute the url of your fork here:
|
||||||
|
# git clone https://github.com/zed-industries/extensions
|
||||||
|
cd extensions
|
||||||
|
git submodule init
|
||||||
|
git submodule update
|
||||||
|
```
|
||||||
|
|
||||||
## Publishing your extension
|
## Publishing your extension
|
||||||
|
|
||||||
To publish an extension, open a PR to [the `zed-industries/extensions` repo](https://github.com/zed-industries/extensions).
|
To publish an extension, open a PR to [the `zed-industries/extensions` repo](https://github.com/zed-industries/extensions).
|
||||||
|
|
||||||
> Note: It is very helpful if you fork the `zed-industries/extensions` repo to a personal GitHub account instead of a GitHub organization, as this allows Zed staff to push any needed changes to your PR to expedite the publishing process.
|
|
||||||
|
|
||||||
In your PR, do the following:
|
In your PR, do the following:
|
||||||
|
|
||||||
1. Add your extension as a Git submodule within the `extensions/` directory
|
1. Add your extension as a Git submodule within the `extensions/` directory
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue