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

Rename parameters of render_nav_item #238

Merged
merged 1 commit into from
Aug 20, 2022
Merged

Rename parameters of render_nav_item #238

merged 1 commit into from
Aug 20, 2022

Conversation

greyli
Copy link
Member

@greyli greyli commented Aug 20, 2022

Rename the following parameters of the render_nav_item macro to prevent shadowing the user's URL variables.

  • badge -> _badge
  • use_li -> _use_li

fixes: #215

I didn't find the way to emit a deprecate warning in a macro. So this change will release with the 2.1 version directly.

Rename the following parameters of the `render_nav_item` macro to prevent shadowing user's URL variables.

- badge -> _badge
- use_li -> _use_li

I didn't find the way to emit a deprecate warning in a macro. So this change will release with the 2.1 version directly.
@codecov-commenter
Copy link

Codecov Report

Merging #238 (f6c982a) into master (23b2a94) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #238   +/-   ##
=======================================
  Coverage   97.01%   97.01%           
=======================================
  Files           1        1           
  Lines         134      134           
  Branches       23       23           
=======================================
  Hits          130      130           
  Misses          1        1           
  Partials        3        3           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@greyli greyli merged commit 67b0a67 into master Aug 20, 2022
@greyli greyli deleted the update-nav-macro branch November 20, 2022 04:19
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.

Remove or rename the badge and use_li parameters in the render_nav_item macro
2 participants