An open source design system that's fully customizable and agent ready
TypeScript
docs: the Authoring guides carry the keyword "authoring" (#10354)
Joey556835044f51
diff --git a/.changeset/authoring-guides-keyword.md b/.changeset/authoring-guides-keyword.mdnew file mode 100644index 0000000000..6999461885--- /dev/null+++ b/.changeset/authoring-guides-keyword.md@@ -0,0 +1,7 @@+---+'@astryxdesign/cli': patch+---++[docs] The Authoring guides (Quick Start, Field reference, Building Blocks, Ship, Help, and Make your integration work globally) now carry the keyword "authoring", so `astryx search authoring` lists them right after the Authoring overview instead of after API function pages.++@josephfarinadiff --git a/packages/cli/assets/docs/tree/building-blocks.doc.mjs b/packages/cli/assets/docs/tree/building-blocks.doc.mjsindex a9070a55cd..ab8bb145e5 100644--- a/packages/cli/assets/docs/tree/building-blocks.doc.mjs+++ b/packages/cli/assets/docs/tree/building-blocks.doc.mjs@@ -11,6 +11,7 @@ export const docs = {summary:'Add components, templates, themes, docs, and codemods, and configure how it behaves.',keywords: [+ 'authoring','building blocks','contribute','add to an integration',diff --git a/packages/cli/assets/docs/tree/global-integrations.doc.mjs b/packages/cli/assets/docs/tree/global-integrations.doc.mjsindex a70209a499..f482282e8f 100644--- a/packages/cli/assets/docs/tree/global-integrations.doc.mjs+++ b/packages/cli/assets/docs/tree/global-integrations.doc.mjs@@ -18,6 +18,7 @@ export const docs = {title: 'Make your integration work globally',category: 'guide',keywords: [+ 'authoring','global integration','global mode','npm i -g',diff --git a/packages/cli/assets/docs/tree/help.doc.mjs b/packages/cli/assets/docs/tree/help.doc.mjsindex 595c264b97..621a116c43 100644--- a/packages/cli/assets/docs/tree/help.doc.mjs+++ b/packages/cli/assets/docs/tree/help.doc.mjs@@ -9,7 +9,7 @@ export const docs = {placement: {parent: 'namespace:authoring', slot: 'guides', order: 40},title: 'Help',summary: 'Find a CLI message and how to fix it.',- keywords: ['help', 'troubleshooting', 'error'],+ keywords: ['authoring', 'help', 'troubleshooting', 'error'],slots: {guides: {title: 'Help', accepts: {kinds: ['generic']}},},diff --git a/packages/cli/assets/docs/tree/quick-start.doc.mjs b/packages/cli/assets/docs/tree/quick-start.doc.mjsindex 9ea27e2b9f..a24694a623 100644--- a/packages/cli/assets/docs/tree/quick-start.doc.mjs+++ b/packages/cli/assets/docs/tree/quick-start.doc.mjs@@ -12,6 +12,7 @@ export const docs = {title: 'Quick Start',category: 'guide',keywords: [+ 'authoring','make a package','make an integration','first integration',diff --git a/packages/cli/assets/docs/tree/ship.doc.mjs b/packages/cli/assets/docs/tree/ship.doc.mjsindex 888e284289..4c9c7d8982 100644--- a/packages/cli/assets/docs/tree/ship.doc.mjs+++ b/packages/cli/assets/docs/tree/ship.doc.mjs@@ -9,7 +9,7 @@ export const docs = {placement: {parent: 'namespace:authoring', slot: 'guides', order: 30},title: 'Ship',summary: 'Test, publish, and upgrade your package.',- keywords: ['ship', 'publish', 'release', 'upgrade'],+ keywords: ['authoring', 'ship', 'publish', 'release', 'upgrade'],slots: {guides: {title: 'Ship', accepts: {kinds: ['generic']}},},diff --git a/packages/cli/foundation/discovery/authoring-self-docs.mjs b/packages/cli/foundation/discovery/authoring-self-docs.mjsindex cc06332469..5d4751c100 100644--- a/packages/cli/foundation/discovery/authoring-self-docs.mjs+++ b/packages/cli/foundation/discovery/authoring-self-docs.mjs@@ -229,7 +229,12 @@ export function buildAuthoringReferenceDoc(docs) {placement: {parent: 'namespace:authoring', slot: 'reference', order: 10},title: 'Field reference',category: 'guide',- keywords: ['authoring reference', 'field reference', 'every field'],+ keywords: [+ 'authoring',+ 'authoring reference',+ 'field reference',+ 'every field',+ ],description:'Every file an integration author writes, field by field: the integration manifest, astryx.config, codemods, identity, and each doc type. The guides that use them are the rest of {@link namespace:authoring}.',sections: docs