Skip to content

Commit 443dc82

Browse files
authored
Merge pull request #6742 from Shopify/kbav/update_urls_in_description_for_app_generate_extension
update URLs in description for app generate extension
2 parents 6340b9d + 70320ac commit 443dc82

6 files changed

Lines changed: 13 additions & 12 deletions

File tree

docs-shopify.dev/commands/app-generate-extension.doc.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import {ReferenceEntityTemplateSchema} from '@shopify/generate-docs'
33

44
const data: ReferenceEntityTemplateSchema = {
55
name: 'app generate extension',
6-
description: `Generates a new [app extension](/docs/apps/app-extensions). For a list of app extensions that you can generate using this command, refer to [Supported extensions](/docs/apps/structure/app-extensions/list).
6+
description: `Generates a new [app extension](/docs/apps/build/app-extensions). For a list of app extensions that you can generate using this command, refer to [Supported extensions](/docs/apps/build/app-extensions/list-of-app-extensions).
77
8-
Each new app extension is created in a folder under \`extensions/\`. To learn more about the extensions file structure, refer to [App structure](/docs/apps/tools/cli/structure) and the documentation for your extension.
8+
Each new app extension is created in a folder under \`extensions/\`. To learn more about the extensions file structure, refer to [App structure](/docs/apps/build/cli-for-apps/app-structure) and the documentation for your extension.
99
`,
1010
overviewPreviewDescription: `Generate a new app Extension.`,
1111
type: 'command',

docs-shopify.dev/generated/generated_docs_data.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2180,7 +2180,7 @@
21802180
},
21812181
{
21822182
"name": "app generate extension",
2183-
"description": "Generates a new [app extension](/docs/apps/app-extensions). For a list of app extensions that you can generate using this command, refer to [Supported extensions](/docs/apps/structure/app-extensions/list).\n\n Each new app extension is created in a folder under `extensions/`. To learn more about the extensions file structure, refer to [App structure](/docs/apps/tools/cli/structure) and the documentation for your extension.\n ",
2183+
"description": "Generates a new [app extension](/docs/apps/build/app-extensions). For a list of app extensions that you can generate using this command, refer to [Supported extensions](/docs/apps/build/app-extensions/list-of-app-extensions).\n\n Each new app extension is created in a folder under `extensions/`. To learn more about the extensions file structure, refer to [App structure](/docs/apps/build/cli-for-apps/app-structure) and the documentation for your extension.\n ",
21842184
"overviewPreviewDescription": "Generate a new app Extension.",
21852185
"type": "command",
21862186
"isVisualComponent": false,

docs/cli/conventions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Default exports force the module importer to decide on a name, which leads to in
1212
import { join } from "node:path"
1313
```
1414

15-
A better name for the above function would have beeen:
15+
A better name for the above function would have been:
1616

1717
```ts
1818
import { joinPath } from "node:path"

packages/app/src/cli/commands/app/generate/extension.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import {renderWarning} from '@shopify/cli-kit/node/ui'
1111
export default class AppGenerateExtension extends AppLinkedCommand {
1212
static summary = 'Generate a new app Extension.'
1313

14-
static descriptionWithMarkdown = `Generates a new [app extension](https://shopify.dev/docs/apps/app-extensions). For a list of app extensions that you can generate using this command, refer to [Supported extensions](https://shopify.dev/docs/apps/structure/app-extensions/list).
14+
static descriptionWithMarkdown = `Generates a new [app extension](https://shopify.dev/docs/apps/build/app-extensions). For a list of app extensions that you can generate using this command, refer to [Supported extensions](https://shopify.dev/docs/apps/build/app-extensions/list-of-app-extensions).
1515
16-
Each new app extension is created in a folder under \`extensions/\`. To learn more about the extensions file structure, refer to [App structure](https://shopify.dev/docs/apps/tools/cli/structure) and the documentation for your extension.
16+
Each new app extension is created in a folder under \`extensions/\`. To learn more about the extensions file structure, refer to [App structure](https://shopify.dev/docs/apps/build/cli-for-apps/app-structure) and the documentation for your extension.
1717
`
1818

1919
static description = this.descriptionWithoutMarkdown()

packages/cli/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -710,12 +710,13 @@ FLAGS
710710
DESCRIPTION
711711
Generate a new app Extension.
712712
713-
Generates a new "app extension" (https://shopify.dev/docs/apps/app-extensions). For a list of app extensions that you
714-
can generate using this command, refer to "Supported extensions"
715-
(https://shopify.dev/docs/apps/structure/app-extensions/list).
713+
Generates a new "app extension" (https://shopify.dev/docs/apps/build/app-extensions). For a list of app extensions
714+
that you can generate using this command, refer to "Supported extensions"
715+
(https://shopify.dev/docs/apps/build/app-extensions/list-of-app-extensions).
716716
717717
Each new app extension is created in a folder under `extensions/`. To learn more about the extensions file structure,
718-
refer to "App structure" (https://shopify.dev/docs/apps/tools/cli/structure) and the documentation for your extension.
718+
refer to "App structure" (https://shopify.dev/docs/apps/build/cli-for-apps/app-structure) and the documentation for
719+
your extension.
719720
```
720721

721722
## `shopify app import-custom-data-definitions`

packages/cli/oclif.manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1946,8 +1946,8 @@
19461946
"args": {
19471947
},
19481948
"customPluginName": "@shopify/app",
1949-
"description": "Generates a new \"app extension\" (https://shopify.dev/docs/apps/app-extensions). For a list of app extensions that you can generate using this command, refer to \"Supported extensions\" (https://shopify.dev/docs/apps/structure/app-extensions/list).\n\n Each new app extension is created in a folder under `extensions/`. To learn more about the extensions file structure, refer to \"App structure\" (https://shopify.dev/docs/apps/tools/cli/structure) and the documentation for your extension.\n ",
1950-
"descriptionWithMarkdown": "Generates a new [app extension](https://shopify.dev/docs/apps/app-extensions). For a list of app extensions that you can generate using this command, refer to [Supported extensions](https://shopify.dev/docs/apps/structure/app-extensions/list).\n\n Each new app extension is created in a folder under `extensions/`. To learn more about the extensions file structure, refer to [App structure](https://shopify.dev/docs/apps/tools/cli/structure) and the documentation for your extension.\n ",
1949+
"description": "Generates a new \"app extension\" (https://shopify.dev/docs/apps/build/app-extensions). For a list of app extensions that you can generate using this command, refer to \"Supported extensions\" (https://shopify.dev/docs/apps/build/app-extensions/list-of-app-extensions).\n\n Each new app extension is created in a folder under `extensions/`. To learn more about the extensions file structure, refer to \"App structure\" (https://shopify.dev/docs/apps/build/cli-for-apps/app-structure) and the documentation for your extension.\n ",
1950+
"descriptionWithMarkdown": "Generates a new [app extension](https://shopify.dev/docs/apps/build/app-extensions). For a list of app extensions that you can generate using this command, refer to [Supported extensions](https://shopify.dev/docs/apps/build/app-extensions/list-of-app-extensions).\n\n Each new app extension is created in a folder under `extensions/`. To learn more about the extensions file structure, refer to [App structure](https://shopify.dev/docs/apps/build/cli-for-apps/app-structure) and the documentation for your extension.\n ",
19511951
"flags": {
19521952
"client-id": {
19531953
"description": "The Client ID of your app.",

0 commit comments

Comments
 (0)