From 15545eaef6c874151fd1826d7878dc3c48aea343 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isaac=20Rold=C3=A1n?= Date: Thu, 2 Apr 2026 17:46:29 +0200 Subject: [PATCH] Put organization commands into general commands --- docs-shopify.dev/categories/organization.doc.ts | 10 ---------- docs-shopify.dev/commands/organization-list.doc.ts | 2 +- .../generated/generated_category_pages.json | 5 ----- docs-shopify.dev/generated/generated_docs_data.json | 2 +- packages/cli/src/cli/commands/docs/generate.ts | 2 +- 5 files changed, 3 insertions(+), 18 deletions(-) delete mode 100644 docs-shopify.dev/categories/organization.doc.ts diff --git a/docs-shopify.dev/categories/organization.doc.ts b/docs-shopify.dev/categories/organization.doc.ts deleted file mode 100644 index ea5f663e8ec..00000000000 --- a/docs-shopify.dev/categories/organization.doc.ts +++ /dev/null @@ -1,10 +0,0 @@ -import {CategoryTemplateSchema} from '@shopify/generate-docs' - -const data: CategoryTemplateSchema = { - // Name of the category - category: 'organization', - title: 'Shopify CLI Organization commands', - sections: [], -} - -export default data diff --git a/docs-shopify.dev/commands/organization-list.doc.ts b/docs-shopify.dev/commands/organization-list.doc.ts index e9dff85b875..2e80d3dd424 100644 --- a/docs-shopify.dev/commands/organization-list.doc.ts +++ b/docs-shopify.dev/commands/organization-list.doc.ts @@ -26,7 +26,7 @@ const data: ReferenceEntityTemplateSchema = { type: 'organizationlist', }, ], - category: 'organization', + category: 'general commands', related: [ ], } diff --git a/docs-shopify.dev/generated/generated_category_pages.json b/docs-shopify.dev/generated/generated_category_pages.json index 212174b4f8e..f7d59ab4c85 100644 --- a/docs-shopify.dev/generated/generated_category_pages.json +++ b/docs-shopify.dev/generated/generated_category_pages.json @@ -14,11 +14,6 @@ "title": "Shopify CLI Hydrogen commands", "sections": [] }, - { - "category": "organization", - "title": "Shopify CLI Organization commands", - "sections": [] - }, { "category": "store", "title": "Shopify CLI Store commands", diff --git a/docs-shopify.dev/generated/generated_docs_data.json b/docs-shopify.dev/generated/generated_docs_data.json index 231885f03fa..75162409d11 100644 --- a/docs-shopify.dev/generated/generated_docs_data.json +++ b/docs-shopify.dev/generated/generated_docs_data.json @@ -5749,7 +5749,7 @@ } } ], - "category": "organization", + "category": "general commands", "related": [] }, { diff --git a/packages/cli/src/cli/commands/docs/generate.ts b/packages/cli/src/cli/commands/docs/generate.ts index 2c5e90d8b2b..8e57e7782b3 100644 --- a/packages/cli/src/cli/commands/docs/generate.ts +++ b/packages/cli/src/cli/commands/docs/generate.ts @@ -49,7 +49,7 @@ export default class DocsGenerate extends Command { const hiddenTopics: string[] = ['commands', 'help', 'plugins'] // Topics that are included in the general commands category -const generalTopics: string[] = ['config', 'auth'] +const generalTopics: string[] = ['config', 'auth', 'organization'] function isHidden(command: oclifCommand.Loadable) { // Some commands rely on the hidden property of the parent topic, but is not returned in the oclif command object