-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[ui] Marketplace: Extract code examples in build script #29028
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
Conversation
Deploy preview for dagit-core-storybook ready! ✅ Preview Built with commit cbd22b0. |
b84f4fd
to
2fda052
Compare
917f332
to
7936528
Compare
2fda052
to
cbd22b0
Compare
7936528
to
cbcfed6
Compare
const CODE_EXAMPLE_PATH_REGEX = | ||
/<(?:(?:CodeExample)|(?:CliInvocationExample))\s+[^>]*path=["']([^"']+)["'][^>]*language=["']([^"']+)["'][^>]*>/g; |
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.
😬
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.
Cribbed directly from docs code. 😅 When we unify this, at least it can just be scary living in one place.
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.
generated files look legit
Summary & Motivation
Extract code snippets for generating integration docs.
How I Tested These Changes
yarn generate-integration-docs
, verify that code is extracted correctly.