From 61bd9233b2fccbe1b2b1e5ef323c6c342e65fbb4 Mon Sep 17 00:00:00 2001 From: WithoutPants <53250216+WithoutPants@users.noreply.github.com> Date: Thu, 22 Feb 2024 08:15:40 +1100 Subject: [PATCH] Fix incorrect documentation in Plugins.md --- ui/v2.5/src/docs/en/Manual/Plugins.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/v2.5/src/docs/en/Manual/Plugins.md b/ui/v2.5/src/docs/en/Manual/Plugins.md index c566063ba..18afdff33 100644 --- a/ui/v2.5/src/docs/en/Manual/Plugins.md +++ b/ui/v2.5/src/docs/en/Manual/Plugins.md @@ -127,12 +127,12 @@ As an example, for a plugin with id `foo` with the following `assets` value: ``` assets: foo: bar - root: . + /: . ``` The following URLs will be mapped to these locations: `/plugin/foo/assets/foo/file.txt` -> `{pluginDir}/bar/file.txt` `/plugin/foo/assets/file.txt` -> `{pluginDir}/file.txt` -`/plugin/foo/assets/bar/file.txt` -> `{pluginDir}/bar/file.txt` (via the `root` entry) +`/plugin/foo/assets/bar/file.txt` -> `{pluginDir}/bar/file.txt` (via the `/` entry) Mappings that try to go outside of the directory containing the plugin configuration file will be ignored.