Skip to content

DEVREL-2692: Branch navigation examples#52

Open
AndrewDiMola wants to merge 1 commit intoWebflow-Examples:mainfrom
AndrewDiMola:2692-branch-navigation-docs
Open

DEVREL-2692: Branch navigation examples#52
AndrewDiMola wants to merge 1 commit intoWebflow-Examples:mainfrom
AndrewDiMola:2692-branch-navigation-docs

Conversation

@AndrewDiMola
Copy link
Copy Markdown

Companion examples for the docs work in webflow/openapi-internal#796.

Adds a pageBranching section to src/examples/pages.ts with:

  • getBranchId — read the branch ID of the current page.
  • getParentPageId — read the source page ID of a branch.
  • listBranches — discover all branches for a page.
  • navigateToBranch — discover branches and switch to the first one.
  • navigateBackToMain — get parent page ID and switch back to the main page.

Companion examples for docs PR webflow/openapi-internal#796.

New pageBranching section with:
- getBranchId: read branch ID of current page
- getParentPageId: read source page ID
- listBranches: discover all branches for a page
- navigateToBranch: discover + switchPage to first branch
- navigateBackToMain: getParentPageId + switchPage back
@AndrewDiMola AndrewDiMola force-pushed the 2692-branch-navigation-docs branch from ef2ff27 to 507a0b5 Compare April 17, 2026 06:38
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