Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix the whitespace removal on RTD badge #110

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

Merged
merged 1 commit into from
Feb 23, 2021
Merged

fix the whitespace removal on RTD badge #110

merged 1 commit into from
Feb 23, 2021

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