Skip to content

Conversation

@askpatrickw
Copy link
Contributor

Thanks @makermelissa for reporting this
adafruit/Adafruit_CircuitPython_SSD1681#3

Those {%- and %} to trim whitespace are confusing. ;-)

I also notice that the RTD Badge would have been included if docs was "no" and fixed that as well.

Copy link
Collaborator

@makermelissa makermelissa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not familiar with the specific cookiecutter template symbols, but this makes sense to me. It looks like it has something to do with nesting and un-nesting.

@askpatrickw
Copy link
Contributor Author

No so much nesting but trimming or leaving whitespace in JINJA templates.
I had never seen it before I dug into this myself.
https://jinja.palletsprojects.com/en/2.11.x/templates/#whitespace-control

@tannewt tannewt merged commit 421a8aa into adafruit:master Feb 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants