I added a demo image in guide/content/assets/images, so I had to remove this folder from .gitignore . I don't really know why it was there, since there were already images inside. By the way there are only images govuk-specific that we don't use in it so we should clobber them.
in the guide examples calls, I added a html_attributes: {style: "max-width: 20rem;"} so it actually looks like a tile. it sort of pollutes the examples, and would rather have its place in a layout config or something but I don't really want to dig into that
i'm not happy with the render('/partials/related-info.slim', links: tile_info) at the bottom, it's a lot of boilerplate, I'll look into a way to make it simpler for the future.
I'm not happy either with the guide examples code. It's quite a lot of boilerplate, it's very unconvenient to write examples as a raw string, debug messages from nanoc are very mysterious and the stacktrace is broken. I'm looking into a way to use ViewComponent::Preview instead as it's native and would allow us to use lookbook for local iterations.
notes:
guide/content/assets/images
, so I had to remove this folder from .gitignore . I don't really know why it was there, since there were already images inside. By the way there are only images govuk-specific that we don't use in it so we should clobber them.html_attributes: {style: "max-width: 20rem;"}
so it actually looks like a tile. it sort of pollutes the examples, and would rather have its place in a layout config or something but I don't really want to dig into thatrender('/partials/related-info.slim', links: tile_info)
at the bottom, it's a lot of boilerplate, I'll look into a way to make it simpler for the future.ViewComponent::Preview
instead as it's native and would allow us to use lookbook for local iterations.