From d12f1c5f3141c91d252207ea546c43b4194e78f6 Mon Sep 17 00:00:00 2001 From: Arun Sharma Date: Tue, 3 Feb 2026 13:18:52 -0800 Subject: [PATCH] Update extension docs --- src/content/docs/extensions/index.mdx | 34 ++++----------------------- 1 file changed, 5 insertions(+), 29 deletions(-) diff --git a/src/content/docs/extensions/index.mdx b/src/content/docs/extensions/index.mdx index a56d21e..b8ce1fd 100644 --- a/src/content/docs/extensions/index.mdx +++ b/src/content/docs/extensions/index.mdx @@ -7,16 +7,6 @@ Ladybug has an extension API that is designed to dynamically extend its capabili you to dynamically load the functionality you need at runtime, while helping limit the size of the core Ladybug library. -:::caution[Note] -Ladybug no longer provides an official extensions server, from where you can directly install the official extensions. - -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. -You do not need to manually INSTALL or LOAD these extensions. - -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. -The instructions of setting up a local extension server can be found [here](/extensions#host-your-own-extension-server). -::: - ## Available extensions The following extensions are currently implemented: @@ -54,15 +44,10 @@ CALL SHOW_OFFICIAL_EXTENSIONS() RETURN *; Ladybug requires you to install the extension before loading and using it. -:::caution[Note] -In the latest version v0.11.3 Ladybug has pre-installed four commonly used extensions (`algo`, `fts`, `json`, `vector`) for you. -You do not need to manually INSTALL these extensions. -::: - -Official extensions can be installed from a [local extension server](/extensions#host-your-own-extension-server) by running the `INSTALL` command. +Official extensions can be installed from the official extension server by running the `INSTALL` command. ```cypher -INSTALL FROM 'http://localhost:8080/'; +INSTALL ; ``` You only need to install an extension once. @@ -80,11 +65,6 @@ UPDATE ; ### Load an extension -:::caution[Note] -In the latest version v0.11.3, Ladybug has pre-loaded four commonly used extensions (`algo`, `fts`, `json`, `vector`) for you. -You do not need to manually LOAD these extensions anymore. -::: - You must load extensions before you can use them: ```cypher @@ -131,17 +111,13 @@ Uninstalling a currently loaded extension won't affect the running database inst ### Host your own extension server -You can host your own extension server for Ladybug using Docker. +If you need to host your own extension server for custom extensions, you can do so using Docker. -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: +You can pull the Docker image and run it in your environment: ```bash docker pull ghcr.io/ladybugdb/extension-repo:latest docker run -d -p 8080:80 ghcr.io/ladybugdb/extension-repo:latest ``` -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: - -```cypher -INSTALL FROM 'http://localhost:8080/'; -``` +In this example, the extension server will be available at `http://localhost:8080`.