Skip to content

2025-10 gen-docs v1#3945

Draft
johndcollett wants to merge 11 commits into2025-10from
2025-10-gen-docs-v1
Draft

2025-10 gen-docs v1#3945
johndcollett wants to merge 11 commits into2025-10from
2025-10-gen-docs-v1

Conversation

@johndcollett
Copy link

Background

Closes https://github.com/Shopify/temp-project-mover-Archetypically-20260312105649/issues/388

TL;DR: We are ready to begin the migration of POS docs to the latest major gen docs release.

Solution

  • Doc generation: Added /** @publicDocs */ immediately before every top level interface for POS ONLY.

  • Why this approach: The existing doc pipeline uses @publicDocs to decide what to include; adding the tag is the minimal, consistent fix and matches how other public API surfaces are documented.

yarn docs:point-of-sale 2025-10 to generate the generated docs data v2 json file in the shopify-dev repo

Checklist

  • I have 🎩'd these changes
  • I have updated relevant documentation

@laurelthorburn laurelthorburn force-pushed the 2025-10-gen-docs-v1 branch 2 times, most recently from 784dd6c to 0da6efa Compare March 3, 2026 03:47
@laurelthorburn laurelthorburn force-pushed the 2025-10-gen-docs-v1 branch 4 times, most recently from b9721a0 to a7b7168 Compare March 6, 2026 22:23
johndcollett and others added 10 commits March 12, 2026 11:50
 to component Props

- Add v2ToArray in build-docs.mjs so transformJson works with generated_docs_data_v2.json (object format)
- Add @publicdocs to admin component Props types in .d.ts for public docs generation

Made-with: Cursor
… API types

- build-docs.mjs: write extensions output as v2 format (arrayToV2) so types like ActionExtensionApi appear as top-level keys in generated_docs_data_v2.json
- Add @publicdocs to admin API types: ActionExtensionApi, StandardApi, ShouldRenderApi, BlockExtensionApi, PrintActionExtensionApi, OrderRoutingRuleApi, PurchaseOptionsCardConfigurationApi, CustomerSegmentTemplateApi, IntentInvokeApi, ProductDetailsConfigurationApi, ProductVariantDetailsConfigurationApi, PickerApi, ResourcePickerApi, ResourcePickerOptions

Made-with: Cursor
Copy generate-docs output to generated_docs_data_v2.json and run version replacement on the v2 file so downstream receives the v2 filename.
- Add @types/react resolution to deduplicate conflicting type declarations
  from @shopify/generate-docs dependency
- Fix build-doc-shared.mjs to use absolute paths for generated file operations
- Update build-docs.mjs to handle v2 JSON format (object or array)
- Add @publicdocs annotations to api/docs.ts interfaces for doc generation
- Fix doc reference types in authenticated-account.doc.ts and extension.doc.ts
@jgray7019 jgray7019 force-pushed the 2025-10-gen-docs-v1 branch from 3b5d4a4 to 35fb614 Compare March 12, 2026 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants