Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

Add a link to CLI docs in the export dialog (#2305)

Oleg Isonenc5493c557d4d
diff --git a/apps/builder/app/builder/features/topbar/publish.tsx b/apps/builder/app/builder/features/topbar/publish.tsx
index 4b5060b251..1016e019e7 100644
--- a/apps/builder/app/builder/features/topbar/publish.tsx
+++ b/apps/builder/app/builder/features/topbar/publish.tsx
@@ -500,7 +500,7 @@ const ExportContent = () => {
Step 1
</Text>
<Text color="subtle">
- Download and install node v18+ from{" "}
+ Download and install Node v18+ from{" "}
<StyledLink
href="https://nodejs.org/"
target="_blank"
@@ -564,10 +564,8 @@ const ExportContent = () => {
to publish your project on Vercel.
</Text>
</Grid>
-
<Flex gap={2}>
<InputField css={{ flex: 1 }} readOnly value={npxVercelCommand} />
-
<Tooltip content={"Copy to clipboard"}>
<Button
color="neutral"
@@ -581,6 +579,18 @@ const ExportContent = () => {
</Tooltip>
</Flex>
</Grid>
+ <Grid columns={1} gap={1}>
+ <Text color="subtle">
+ Read the detailed documentation{" "}
+ <StyledLink
+ href="https://github.com/webstudio-is/webstudio/tree/main/packages/cli"
+ target="_blank"
+ rel="noreferrer"
+ >
+ here
+ </StyledLink>
+ </Text>
+ </Grid>
</Grid>
);
};
diff --git a/packages/cli/Readme.md b/packages/cli/README.md
similarity index 95%
rename from packages/cli/Readme.md
rename to packages/cli/README.md
index 5d9267b630..047b80e9b9 100644
--- a/packages/cli/Readme.md
+++ b/packages/cli/README.md
@@ -30,15 +30,15 @@ To get started with the Webstudio CLI:
1. Download and install the CLI using the following command:
-```bash
-npm install -g webstudio-cli
-```
+ ```bash
+ npm install -g webstudio-cli
+ ```
1. Confirm the installation by checking the CLI version:
-```bash
-webstudio-cli --version
-```
+ ```bash
+ webstudio-cli --version
+ ```
1. To keep your CLI updated, use the same command used for installation whenever a new release is available.
@@ -74,8 +74,6 @@ webstudio-cli link
This command will prompt you to paste a link which you can create using the S*hare* option in your project.
-Make sure to provide B*uild* access when generating the link in Webstudio Cloud.
-
### sync
Once the project is linked, use the **`sync`** command to sync it with the workspace project: