Skip to content

Commit

Permalink
Fix hexdoc_smart_var docstring (was '!Variable', should be 'variable')
Browse files Browse the repository at this point in the history
  • Loading branch information
object-Object committed Jul 5, 2024
1 parent 14fc4ce commit 1251c49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hexdoc/jinja/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def hexdoc_item(
def hexdoc_smart_var(context: Context, value: Any):
"""Smart template argument filter.
If `value` is of the form `{"!Variable": str(ref)}`, returns the value of the
If `value` is of the form `{"variable": str(ref)}`, returns the value of the
template variable called `ref`.
Otherwise, returns `value` unchanged.
Expand Down

0 comments on commit 1251c49

Please sign in to comment.