-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a cmsPreview flag to use alternative CMS dataset #1135
Conversation
Good enough to view new Reference sections assuming they're published but the top-level document that adds them is a draft.
Preview build will be at |
@@ -48,10 +50,11 @@ interface FlagMetadata { | |||
|
|||
const allFlags: FlagMetadata[] = [ | |||
// Alphabetical order. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah so not so much before 😄
You can now tell this is working as you can see the work-in-progress Neopixels section. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
I tried using draft documents but that requires authentication. This way if we copy + publish to preview it's easy to see content changes deep in the tree which would otherwise be awkward as we fetch it all in one go.