Skip to content
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

Convert ERB and Beyond docs to ERB and use capture helper for liquid_render #174

Merged
merged 3 commits into from
Oct 30, 2020

Conversation

jaredcwhite
Copy link
Member

I thought it would be a good exercise to—y'know—make sure the "ERB and Beyond" documentation page is itself using ERB instead of Liquid. In doing so I discovered I needed to fix the liquid_render helper so it uses capture. Will require a point release for 0.18.

Plus fix the `liquid_render` helper so it uses `capture`
@jaredcwhite jaredcwhite added bug Something isn't working documentation Improvements or additions to documentation labels Oct 29, 2020
@jaredcwhite jaredcwhite added this to the 0.18.0 "Taylor Street" milestone Oct 29, 2020
@jaredcwhite
Copy link
Member Author

OK, I've had a love-hate relationship with RuboCop since this project started. As my first experience with both a large codebase and a complex linter setup predating my involvement, I really didn't want to rock the boat too much.

But Metrics/AbcSize is driving me freaking bonkers.

So I relaxed it a bit, which is already relaxed from the default RuboCop setting (17? SEVENTEEN??!!). I welcome feedback, but I'm very likely going to stick with this decision. :)

@jaredcwhite jaredcwhite changed the title Convert ERB and Beyond page to ERB :) Convert ERB and Beyond docs to ERB and use capture helper for liquid_render Oct 30, 2020
@jaredcwhite jaredcwhite merged commit 561e08e into main Oct 30, 2020
@jaredcwhite jaredcwhite deleted the liquid-render-capture-fix branch October 30, 2020 03:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant