Skip to content

Comments

2026-01 POS V2#3939

Draft
laurelthorburn wants to merge 5 commits into2026-01from
pos-v2-docs
Draft

2026-01 POS V2#3939
laurelthorburn wants to merge 5 commits into2026-01from
pos-v2-docs

Conversation

@laurelthorburn
Copy link
Contributor

@laurelthorburn laurelthorburn commented Feb 20, 2026

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 2026-01 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 and others added 3 commits February 20, 2026 11:31
Ensures ClickableEvents and other Events/Slots (EmptyStateSlots,
ChoiceListEvents, DateFieldEvents, ModalEvents, ModalSlots,
TextFieldEvents, TextFieldSlots, SearchFieldEvents, TimeFieldEvents,
NumberFieldEvents, NumberFieldSlots, DatePickerEvents, DateSpinnerEvents,
SectionSlots, TimePickerEvents, PageSlots, PosBlockSlots) are included
in generated POS docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
laurelthorburn and others added 2 commits February 20, 2026 11:49
- Add @publicdocs to Events and Slots interfaces in point-of-sale components.d.ts
- Add @publicdocs to component/object interfaces (Button, Clickable, SearchField,
  DatePicker, Modal, etc.) so they appear as top-level keys in generated_docs_data_v2.json
- Add @publicdocs to EmbedProps, TabListJSXProps; Navigation and Window in navigation-api
- Ensures all 86 types referenced in 2026-01 MDX are emitted to v2 (no fallback needed)

Co-authored-by: Cursor <cursoragent@cursor.com>
@laurelthorburn laurelthorburn changed the title Pos v2 docs 2026-01 POS V2 Feb 20, 2026
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.

1 participant