From 32906400ec3f6ff0d6fd4bf7ccc409c7ea1e8291 Mon Sep 17 00:00:00 2001 From: daimond113 <72147841+daimond113@users.noreply.github.com> Date: Sat, 18 Jan 2025 16:47:07 +0100 Subject: [PATCH] docs: update scripts docs --- docs/src/content/docs/guides/roblox.mdx | 12 ++++++------ docs/src/content/docs/reference/manifest.mdx | 11 ++++------- 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/docs/src/content/docs/guides/roblox.mdx b/docs/src/content/docs/guides/roblox.mdx index 869c25d..20683ea 100644 --- a/docs/src/content/docs/guides/roblox.mdx +++ b/docs/src/content/docs/guides/roblox.mdx @@ -20,15 +20,15 @@ to get it added. Studio. Running `pesde init` will prompt you to select a target, select -`roblox` or `roblox_server` in this case. This will setup the configuration -needed to use pesde in a project using Rojo. +`roblox` or `roblox_server` in this case. You will be prompted to pick out a +scripts package. Select `pesde/scripts_rojo` to get started with Rojo. ## Usage with other tools -If you are using a different sync tool, you should look for it's scripts in the -pesde-scripts repository. If you cannot find them, you can write your own and -optionally submit a PR to help others using the same tool as you get started -quicker. +If you are using a different sync tool, you should look for it's scripts +package on the registry. If you cannot find it, you can write your own and +optionally submit a PR to pesde-scripts to help others using the same tool as +you get started quicker. Scaffold your project with `pesde init`, select the `roblox` or `roblox_server` target, and then create a `.pesde/roblox_sync_config_generator.luau` script diff --git a/docs/src/content/docs/reference/manifest.mdx b/docs/src/content/docs/reference/manifest.mdx index dac80ac..5691fe3 100644 --- a/docs/src/content/docs/reference/manifest.mdx +++ b/docs/src/content/docs/reference/manifest.mdx @@ -159,12 +159,13 @@ when the package is installed in order to generate the necessary configuration. **Allowed in:** `luau`, `lune` -A list of scripts that will be linked to the project's `.pesde` directory, and +A list of scripts that will be linked to the dependant's `.pesde` directory, and copied over to the [scripts](#scripts-1) section when initialising a project with -this package. +this package as the scripts package. ```toml -scripts = { roblox_sync_config_generator = "scripts/roblox_sync_config_generator.luau" } +[target.scripts] +roblox_sync_config_generator = "scripts/roblox_sync_config_generator.luau" ``` ## `[scripts]` @@ -189,10 +190,6 @@ sync tools. of files specified within the [`target.build_files`](#build_files) of the package. -You can find template scripts inside the -[`pesde-scripts` repository](https://github.com/pesde-pkg/scripts) -for various sync tools. -