docs(core): update nx connect feature page (#26957)

Fix the title of "Connect to Nx Cloud" to be consistent

Old inconsistent titles:
![Screenshot 2024-07-16 at 10 09
47 AM](https://github.com/user-attachments/assets/8122aa79-edaf-46a9-b278-a3c4e2fa214d)

Also adds a sentence explaining the `nx-cloud record` line in step 3,
since that isn't obvious what it is doing.
This commit is contained in:
Isaac Mann 2024-07-17 08:08:12 -04:00 committed by GitHub
parent 3a40d37f5e
commit a0baab0d47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 22 additions and 21 deletions

View File

@ -29,14 +29,14 @@
"tags": [] "tags": []
}, },
{ {
"id": "connect-to-cloud", "id": "connect-to-nx-cloud",
"name": "Connect Nx Cloud", "name": "Connect to Nx Cloud",
"description": "", "description": "",
"mediaImage": "", "mediaImage": "",
"file": "nx-cloud/intro/connect-to-cloud", "file": "nx-cloud/intro/connect-to-cloud",
"itemList": [], "itemList": [],
"isExternal": false, "isExternal": false,
"path": "/ci/intro/connect-to-cloud", "path": "/ci/intro/connect-to-nx-cloud",
"tags": [] "tags": []
}, },
{ {
@ -100,15 +100,15 @@
"path": "/ci/intro/why-nx-cloud", "path": "/ci/intro/why-nx-cloud",
"tags": [] "tags": []
}, },
"/ci/intro/connect-to-cloud": { "/ci/intro/connect-to-nx-cloud": {
"id": "connect-to-cloud", "id": "connect-to-nx-cloud",
"name": "Connect Nx Cloud", "name": "Connect to Nx Cloud",
"description": "", "description": "",
"mediaImage": "", "mediaImage": "",
"file": "nx-cloud/intro/connect-to-cloud", "file": "nx-cloud/intro/connect-to-cloud",
"itemList": [], "itemList": [],
"isExternal": false, "isExternal": false,
"path": "/ci/intro/connect-to-cloud", "path": "/ci/intro/connect-to-nx-cloud",
"tags": [] "tags": []
}, },
"/ci/intro/tutorials": { "/ci/intro/tutorials": {

View File

@ -5170,9 +5170,9 @@
"disableCollapsible": false "disableCollapsible": false
}, },
{ {
"name": "Connect Nx Cloud", "name": "Connect to Nx Cloud",
"path": "/ci/intro/connect-to-cloud", "path": "/ci/intro/connect-to-nx-cloud",
"id": "connect-to-cloud", "id": "connect-to-nx-cloud",
"isExternal": false, "isExternal": false,
"children": [], "children": [],
"disableCollapsible": false "disableCollapsible": false
@ -5222,9 +5222,9 @@
"disableCollapsible": false "disableCollapsible": false
}, },
{ {
"name": "Connect Nx Cloud", "name": "Connect to Nx Cloud",
"path": "/ci/intro/connect-to-cloud", "path": "/ci/intro/connect-to-nx-cloud",
"id": "connect-to-cloud", "id": "connect-to-nx-cloud",
"isExternal": false, "isExternal": false,
"children": [], "children": [],
"disableCollapsible": false "disableCollapsible": false

View File

@ -1570,8 +1570,8 @@
"file": "nx-cloud/intro/why-nx-cloud" "file": "nx-cloud/intro/why-nx-cloud"
}, },
{ {
"name": "Connect Nx Cloud", "name": "Connect to Nx Cloud",
"id": "connect-to-cloud", "id": "connect-to-nx-cloud",
"file": "nx-cloud/intro/connect-to-cloud" "file": "nx-cloud/intro/connect-to-cloud"
}, },
{ {

View File

@ -32,12 +32,12 @@ Or, check out our [recipes for the various CI providers](/ci/recipes/set-up).
**Step 3: Run your Nx commands as usual** **Step 3: Run your Nx commands as usual**
```yml ```yml
- run: npx nx-cloud record -- nx format:check - run: npx nx-cloud record -- node tools/custom-script.js
- run: npx nx affected -t lint test build - run: npx nx affected -t lint test build
- run: npx nx affected -t e2e-ci --parallel 1 - run: npx nx affected -t e2e-ci --parallel 1
``` ```
All these commands are automatically picked up by Nx Cloud, split up into smaller tasks and distributed across the specified number of machines. All these commands are automatically picked up by Nx Cloud, split up into smaller tasks and distributed across the specified number of machines. Nx Cloud works with Nx tasks automatically, or you can [record non-Nx commands with `nx-cloud record`](/ci/recipes/other/record-commands).
**Step 4: All results are played back automatically** **Step 4: All results are played back automatically**

View File

@ -23,7 +23,7 @@ Read more about individual features of Nx Cloud in the [features section](/ci/fe
## Integrate Nx Cloud into my CI setup ## Integrate Nx Cloud into my CI setup
Ready to experience fast CI? Read the [connect to Nx Cloud](/ci/intro/connect-to-cloud) page for more details. Ready to experience fast CI? Read the [connect to Nx Cloud](/ci/intro/connect-to-nx-cloud) page for more details.
## Learn more ## Learn more

View File

@ -10,7 +10,7 @@ In this diagram, Teika runs the build once on his machine, then CI, Kimiko and J
## Setting Up Nx Cloud ## Setting Up Nx Cloud
To use **Nx Replay** you need to connect your workspace to Nx Cloud. See the [connect to Nx Cloud recipe](/ci/intro/connect-to-cloud). To use **Nx Replay** you need to connect your workspace to Nx Cloud. See the [connect to Nx Cloud recipe](/ci/intro/connect-to-nx-cloud).
## See Remote Caching in Action ## See Remote Caching in Action

View File

@ -246,7 +246,7 @@
- [Intro](/ci/intro) - [Intro](/ci/intro)
- [CI with Nx](/ci/intro/ci-with-nx) - [CI with Nx](/ci/intro/ci-with-nx)
- [Why Nx Cloud?](/ci/intro/why-nx-cloud) - [Why Nx Cloud?](/ci/intro/why-nx-cloud)
- [Connect Nx Cloud](/ci/intro/connect-to-cloud) - [Connect to Nx Cloud](/ci/intro/connect-to-nx-cloud)
- [Tutorials](/ci/intro/tutorials) - [Tutorials](/ci/intro/tutorials)
- [Circle CI with Nx](/ci/intro/tutorials/circle) - [Circle CI with Nx](/ci/intro/tutorials/circle)
- [GitHub Actions with Nx](/ci/intro/tutorials/github-actions) - [GitHub Actions with Nx](/ci/intro/tutorials/github-actions)

View File

@ -482,7 +482,8 @@ const nxCloudUrls = {
'/ci/concepts/parallelization-distribution', '/ci/concepts/parallelization-distribution',
'/nx-cloud/:path*': '/ci/:path*', '/nx-cloud/:path*': '/ci/:path*',
'/core-features/:path*': '/features/:path*', '/core-features/:path*': '/features/:path*',
'/ci/recipes/set-up/connect-to-cloud': '/ci/intro/connect-to-cloud', '/ci/recipes/set-up/connect-to-cloud': '/ci/intro/connect-to-nx-cloud',
'/ci/intro/connect-to-cloud': '/ci/intro/connect-to-nx-cloud',
}; };
/** /**