-
Notifications
You must be signed in to change notification settings - Fork 49
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 missing Javadoc + update README #70
Conversation
README.md
Outdated
.addTemplate("users :: list") | ||
.addTemplate("users :: count"); | ||
.addTemplate("user-list") | ||
.addTemplate("user-count"); |
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.
Why the removal of the ::
notation? That is a common usage with partials. (At least in my experience) I recommend keeping them since it can be a hiccup for folks new to Thymeleaf.
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.
Because they are Thymeleaf specific and this part of the documentation is no longer Thymeleaf related. It could be confusing for users like me who use another template engine, e.g. FreeMarker.
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.
I understand your point @xhaggi , but I would like to keep such an example in the docs for those of that do use Thymeleaf so they know a partial fragment can be used there. Not sure if we can somehow combine the examples or just add a 2nd example, indicating that it is Thymeleaf specific?
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.
I have added a new sub-section "Markup Selectors and Out Of Band Swaps" under the "Thymleaf" section explaining this in more detail.
Looks good to me. Just the merge conflict and the remark about the docs and this can be merged. Thank you for your work! |
785552b
to
6a30911
Compare
Mind taking another look, especially at the new section "Markup Selectors and Out Of Band Swaps". |
* Inform about available annotations * Explain Thymeleaf Markup Selector usage * Link to javadoc.io
6a30911
to
005c931
Compare
No description provided.