Skip to content

Comments

2025 04 gen docs v1#3947

Draft
johndcollett wants to merge 330 commits into2026-04-rcfrom
2025-04-gen-docs-v1
Draft

2025 04 gen docs v1#3947
johndcollett wants to merge 330 commits into2026-04-rcfrom
2025-04-gen-docs-v1

Conversation

@johndcollett
Copy link

Background

Closes https://github.com/Shopify/shopify-dev/issues/68438

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-04 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

NathanJolly and others added 30 commits December 18, 2024 12:55
This reverts commit 358facf.
POS UI Extensions API Component Documentation: Image and Box
[Checkout UI extensions] Add Localized Fields API to `Unstable`
[Checkout UI extensions] Optimizes localized field example comments
Updates unstable changelogs with 2025-01 changes
mcvinci and others added 29 commits November 25, 2025 14:15
…rop-descriptions

[POS UI extensions]: Improved target, API, and component descriptions for 2025-04
* Remove deprecated FormattedTextFieldComponent

* Fix type error

* Remove doc files

* Fix type errors
…ey-api-update

[2025-04] Update Buyer Journey API docs
* Add and improve descriptions for Target APIs

* Resource picker and Picker revisions

* Description feedback from Steve

Revamp limitations + best practices

Further revisions

Revise newly added descriptions

(cherry picked from commit b1ffa70)

Fixes:

Type fixes

Fix docs generation

(cherry picked from commit 812f1b2)
(cherry picked from commit 7706f01)
Co-authored-by: Cursor <cursoragent@cursor.com>

* Remove accidentally added types

* Integrate feedback from Steve

* Update Standard API description to match available features

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
…path-2025-04

chore: update shopify-dev asset path
…-docs-2025-04

chore: update all paths in build-docs scripts 2025-04
Co-authored-by: Cursor <cursoragent@cursor.com>
[Target APIs content]: Examples and descriptions for 2025-04
… handling to targets.json scripts

- Customer-account: Add generic recursive component parsing for AllComponents
  - Correctly resolves to 63 customer-account components (not checkout's 60)
  - Excludes Chat (not in shared-checkout-components.ts)
  - Includes local components (Card, Avatar, etc.)
  - Excludes @internal components (PolicyModal)
- Admin: Add RunnableExtension support for should-render targets (27 new targets)
- Admin: Add parseInlineComponentTypes for Pick/Omit handling
  - CustomerSegmentTemplateComponent correctly has 2 components
  - AllComponents correctly excludes 3 omitted components
- Checkout: Add RunnableExtension support for address-autocomplete targets
- Checkout: Add @Private target exclusion
- POS: Add parseInlineComponentTypes for Pick handling
  - ActionComponents correctly has 1 component (Button)
  - SmartGridComponents correctly has 1 component (Tile)
- All scripts: Add @Private JSDoc exclusion for targets
Treat composite APIs (StandardApi, ActionTargetApi) as wrapper types:
expand their constituent APIs in the generated targets but do not
list the composite names in per-target apis or API reverse mappings.
The doc file was referencing example files with incorrect relative paths.
Since the doc file is in purchase-options-card-action/ directory but
the examples are in purchase-options-card/ directory, the paths need
to go up one level first using ../ instead of ./

Co-authored-by: Cursor <cursoragent@cursor.com>
* Make API headings consistent for Admin UI

Co-authored-by: Cursor <cursoragent@cursor.com>

* Make API headings consistent for POS UI

Co-authored-by: Cursor <cursoragent@cursor.com>

Minor fixes

Remove files

Update remaining POS API headings to Methods

Co-authored-by: Cursor <cursoragent@cursor.com>

* Remove reference to non-existent loading prop on Button

Co-authored-by: Cursor <cursoragent@cursor.com>

* Rename 'Methods' to 'Properties' in API headings and descriptions

Co-authored-by: Cursor <cursoragent@cursor.com>

* Remove 'methods' from API description text, use 'properties' instead

Co-authored-by: Cursor <cursoragent@cursor.com>

* Revert title for applyMetafieldChange back to original name

Co-authored-by: Cursor <cursoragent@cursor.com>

* Revert title for picker back to original name

Co-authored-by: Cursor <cursoragent@cursor.com>

* Revert specific function/method titles back to original names

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
Exclude ActionTargetApi and StandardApi from POS targets JSON
* Intros, best practices, limitations, and prop descriptions

Linting

Prop descriptions

Linting

Prop description improvements

* Remove component name code styling

Restore links + catch other code syntax instances

Linting

* Update selection-action target descriptions

Co-authored-by: Cursor <cursoragent@cursor.com>

* Incorporate feedback from Steve

* Integrate feedback from tech writers session

Co-authored-by: Cursor <cursoragent@cursor.com>

* Integrate feedback from Steve

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
[Components content]: Examples for 2025-04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.