-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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 "fixture flowchart" to docs #4440
Conversation
also add some references to global fixtures Signed-off-by: Christopher Hiller <boneskull@boneskull.com>
4c72600
to
7b94d86
Compare
OK, I think I've addressed the responsiveness issue. I've also added a |
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.
Including SVG is broken.
This flowchart will help you decide which of [hooks], [root hook plugins] or | ||
[global fixtures] you should use. | ||
|
||
{% include fixture-wizard.html %} |
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.
Including HTML is not handled properly and SVG is broken.
I don't know why even I checked it.
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.
ohh I know what happened. prettier broke it. I am not sure if this is a bug in prettier or liquid or eleventy, but when prettier reformats it, the svg breaks.
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.
OK, wrapping the svg in a div works. I think this is an 11ty bug
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.
- added source `.sketch` file to repo - enabled skip of supporter image download in 11ty via env var `MOCHA_DOCS_SKIP_IMAGE_DOWNLOAD` for faster iteration - made the links underline on hover Signed-off-by: Christopher Hiller <boneskull@boneskull.com>
7b94d86
to
4fb2bb7
Compare
(semver minor b/c it references other stuff that will land in a minor) |
@Munter You know more about web stuff than I do. Is this a reasonable way to use an SVG? In particular, I wanted to make portions of it clickable, and couldn't figure out how to do that without embedding the
<svg>
into the page.