Skip to content

Commit bf509ca

Browse files
committed
Update extension docs
1 parent dc129d4 commit bf509ca

File tree

1 file changed

+5
-29
lines changed

1 file changed

+5
-29
lines changed

src/content/docs/extensions/index.mdx

Lines changed: 5 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,6 @@ Ladybug has an extension API that is designed to dynamically extend its capabili
77
you to dynamically load the functionality you need at runtime, while helping limit the size of
88
the core Ladybug library.
99

10-
:::caution[Note]
11-
Ladybug no longer provides an official extensions server, from where you can directly install the official extensions.
12-
13-
If you've upgraded to the latest version v0.11.3, Ladybug has pre-installed and pre-loaded four commonly used extensions (`algo`, `fts`, `json`, `vector`) for you.
14-
You do not need to manually INSTALL or LOAD these extensions.
15-
16-
For Ladybug versions before v0.11.3, or to install extensions that haven't been pre-installed into v0.11.3, you have to set up a local extension server.
17-
The instructions of setting up a local extension server can be found [here](/extensions#host-your-own-extension-server).
18-
:::
19-
2010
## Available extensions
2111

2212
The following extensions are currently implemented:
@@ -54,15 +44,10 @@ CALL SHOW_OFFICIAL_EXTENSIONS() RETURN *;
5444

5545
Ladybug requires you to install the extension before loading and using it.
5646

57-
:::caution[Note]
58-
In the latest version v0.11.3 Ladybug has pre-installed four commonly used extensions (`algo`, `fts`, `json`, `vector`) for you.
59-
You do not need to manually INSTALL these extensions.
60-
:::
61-
62-
Official extensions can be installed from a [local extension server](/extensions#host-your-own-extension-server) by running the `INSTALL` command.
47+
Official extensions can be installed from the official extension server by running the `INSTALL` command.
6348

6449
```cypher
65-
INSTALL <EXTENSION_NAME> FROM 'http://localhost:8080/';
50+
INSTALL <EXTENSION_NAME>;
6651
```
6752
You only need to install an extension once.
6853

@@ -80,11 +65,6 @@ UPDATE <EXTENSION_NAME>;
8065

8166
### Load an extension
8267

83-
:::caution[Note]
84-
In the latest version v0.11.3, Ladybug has pre-loaded four commonly used extensions (`algo`, `fts`, `json`, `vector`) for you.
85-
You do not need to manually LOAD these extensions anymore.
86-
:::
87-
8868
You must load extensions before you can use them:
8969

9070
```cypher
@@ -131,17 +111,13 @@ Uninstalling a currently loaded extension won't affect the running database inst
131111

132112
### Host your own extension server
133113

134-
You can host your own extension server for Ladybug using Docker.
114+
If you need to host your own extension server for custom extensions, you can do so using Docker.
135115

136-
The extension server is based on NGINX and is hosted on [GitHub](https://ghcr.io/ladybugdb/extension-repo). You can pull the Docker image and run it in your environment:
116+
You can pull the Docker image and run it in your environment:
137117

138118
```bash
139119
docker pull ghcr.io/ladybugdb/extension-repo:latest
140120
docker run -d -p 8080:80 ghcr.io/ladybugdb/extension-repo:latest
141121
```
142122

143-
In this example, the extension server will be available at `http://localhost:8080`. You can then install extensions from your server by appending the `FROM` clause to the `INSTALL` command:
144-
145-
```cypher
146-
INSTALL <EXTENSION_NAME> FROM 'http://localhost:8080/';
147-
```
123+
In this example, the extension server will be available at `http://localhost:8080`.

0 commit comments

Comments
 (0)