Skip to content

Conversation

@bdenham
Copy link
Collaborator

@bdenham bdenham commented Nov 19, 2025

Purchase Order Documentation

Complete documentation for the Purchase Order B2B drop-in.

📖 Preview

Full preview with all dropins: https://commerce-docs.github.io/microsite-commerce-storefront/dropins-b2b/purchase-order/

📁 Files Added

  • Overview and Quick Start
  • Functions API reference
  • Events reference
  • Containers and slots
  • Styles and i18n

✅ Review Checklist

  • Technical accuracy
  • Examples tested
  • No sensitive info
  • Developer-friendly

Part of #600 - B2B Documentation Initiative

Generated documentation for purchase-order B2B drop-in.

Documentation includes:
- Overview and quick start guides
- Functions API reference with examples
- Events reference with usage scenarios
- Container and slot documentation
- Styles customization guide
- Dictionary for i18n
- Initialization configuration

Files: 21 pages

Preview available in b2b-documentation branch.
Part of B2B documentation initiative.
Updated /dropins/all/extending/#event-bus to /sdk/reference/events
Individual dropin branches should build without referencing other dropins. Full B2B navigation exists on b2b-documentation preview branch.
@bdenham bdenham self-assigned this Nov 19, 2025
@bdenham bdenham added the new-topic A major update published as an entirely new document label Nov 19, 2025
- Descriptions now extracted from source MDX files instead of generic text
- All 17 functions now have meaningful descriptions in the table
- Changed nowrap={[0,1]} to nowrap={[0]} in all container docs
- Allows Type column to wrap naturally for better readability
- Created overview page modeled after B2C dropins overview
- Lists all 5 B2B dropins with descriptions and links
- Uses TableWrapper with nowrap for consistent formatting
- Located at /dropins-b2b/ for B2B drop-ins section
- Added complete 'Drop-ins for B2B' section with all 5 dropins
- Each dropin includes full page set: Overview, Quick Start, Initialization,
  Functions, Events, Containers, Slots, Styles, Dictionary
- Positioned before Drop-ins SDK section
- Includes new B2B overview page at /dropins-b2b/
- Company Management, Company Switcher, Purchase Order, Quote Management,
  Requisition List all fully represented
The overview page links to all 5 B2B dropins, but individual branches
only contain one dropin's content. This causes link validation failures.

The overview page should only exist on b2b-documentation preview branch
where all dropin content is merged together.
@bdenham bdenham force-pushed the releases/b2b-nov-release branch from fbe673a to 083a1b7 Compare November 20, 2025 23:05
All enrichments verified against source code in .temp-repos/
- Removes specific count claim to prevent maintenance issues
- Count accuracy is hard to maintain as APIs evolve
- Overview remains descriptive without the count
@bdenham bdenham merged commit 8580302 into releases/b2b-nov-release Dec 3, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-topic A major update published as an entirely new document

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants