Skip to content

Deference reusable content at the API level#3847

Merged
SamyPesse merged 10 commits intomainfrom
reusable-content-deref
Jan 23, 2026
Merged

Deference reusable content at the API level#3847
SamyPesse merged 10 commits intomainfrom
reusable-content-deref

Conversation

@SamyPesse
Copy link
Member

@SamyPesse SamyPesse commented Dec 5, 2025

Demo

You can see the issue RND-8768 on https://gitbook-open-e2e-sites.gitbook.io/reusable-contents/
and fixed on https://gitbook-v2-eep7gqtc5-gitbook.vercel.app/url/gitbook-open-e2e-sites.gitbook.io/reusable-contents

Tasks

  1. Implement new data API to fetch a document page with reusable content dereferenced
  2. For a % of traffic, use it instead of the old method
  3. If JSONDocument.meta.token is defined, used this to resolve content-refs within the document

@changeset-bot
Copy link

changeset-bot bot commented Dec 5, 2025

⚠️ No Changeset found

Latest commit: f1bc099

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@argos-ci
Copy link

argos-ci bot commented Dec 5, 2025

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
customers-v2 (Inspect) 👍 Changes approved 46 changed Jan 23, 2026, 8:34 AM
v2-cloudflare (Inspect) 👍 Changes approved 42 changed, 4 added Jan 23, 2026, 8:38 AM
v2-vercel (Inspect) 👍 Changes approved 45 changed, 4 added Jan 23, 2026, 8:38 AM

@SamyPesse SamyPesse merged commit e90f57b into main Jan 23, 2026
16 checks passed
@SamyPesse SamyPesse deleted the reusable-content-deref branch January 23, 2026 09:34
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.

2 participants