-
Notifications
You must be signed in to change notification settings - Fork 764
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
Allow example selection in playground #485
Conversation
anthony-c-martin
commented
Sep 14, 2020
•
edited
Loading
edited
Codecov Report
@@ Coverage Diff @@
## master #485 +/- ##
=======================================
Coverage 93.54% 93.54%
=======================================
Files 209 209
Lines 7170 7170
=======================================
Hits 6707 6707
Misses 463 463
Flags with carried forward coverage won't be shown. Click here to find out more. |
wow! that's so great |
import example_201_vnet_peering from '../../../docs/examples/201/vnet-peering/main.bicep' | ||
import example_201_sql from '../../../docs/examples/201/sql/main.bicep' | ||
|
||
export const examples = { |
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.
examples [](start = 13, length = 8)
Any chance we could automatically populate the list at runtime or build time?
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.
I'm sure there's a way to do this with webpack. I'm no expert with webpack unfortunately. Agree that we should do this, but I think I'll leave that as a future exercise.
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 this is a great idea. |
is the updated playground supposed to be live at https://bicepdemo.z22.web.core.windows.net/ ? |