diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index 6219e2be98..421d403cf6 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -9,6 +9,9 @@ export default defineConfig({ starlight({ title: "GenAIScript", favicon: "/images/favicon.png", + logo: { + src: "./src/assets/icon.svg", + }, components: { Footer: "./src/components/Footer.astro", }, diff --git a/docs/src/content/docs/getting-started/automating-scripts.mdx b/docs/src/content/docs/getting-started/automating-scripts.mdx index 6ae5ef579d..47c6d0fc2c 100644 --- a/docs/src/content/docs/getting-started/automating-scripts.mdx +++ b/docs/src/content/docs/getting-started/automating-scripts.mdx @@ -7,26 +7,12 @@ import { FileTree } from '@astrojs/starlight/components'; Once you have a script that you are happy with, you can automate it using the [command line interface](/genaiscript/reference/cli). -## Installation - -The CLI, `.genaiscript/genaiscript.cjs` is copied as part of loading the GenAIScript extension. If you have not already installed the extension, you can do so by following the [installation instructions](/genaiscript/getting-started/installation). - - - -- … -- .genaiscript - - … - - **genaiscript.cjs** -- … - - - ## Running a script using the CLI The basic usage of the CLI is to [run](/genaiscript/reference/cli/run/) a script with a tool name and a list of files. ```sh -genaiscript run <...files> +npx --yes genaiscript run <...files> ``` The CLI will use the secrets in the `.env` file and emit the output to the standard output. diff --git a/docs/src/content/docs/getting-started/installation.mdx b/docs/src/content/docs/getting-started/installation.mdx index eccb72dba7..025f6a902f 100644 --- a/docs/src/content/docs/getting-started/installation.mdx +++ b/docs/src/content/docs/getting-started/installation.mdx @@ -16,14 +16,6 @@ GenAiScript is available as a [Visual Studio Code Extension](https://marketplace ## Manual Installation - download the [latest release](https://github.com/microsoft/genaiscript/releases/latest/) on GitHub (if you are getting a 404 page, you need to sign in), - -:::tip[Getting 404?] - -You need to sign with your **linked** Github Account to access this page until the project is public. -Read more about [linking your GitHub account to your Microsoft account](https://docs.opensource.microsoft.com/github/opensource/accounts/linking/). - -::: - - download the `genaiscript.vsix` into your project in VSCode - right click on the `.vsix` file and select **Install Extension VSIX...**