From 1251c49c4156c8373d2131d21cf8b40e4c2f3ec8 Mon Sep 17 00:00:00 2001 From: object-Object Date: Fri, 5 Jul 2024 14:17:09 -0400 Subject: [PATCH] Fix hexdoc_smart_var docstring (was '!Variable', should be 'variable') --- src/hexdoc/jinja/filters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hexdoc/jinja/filters.py b/src/hexdoc/jinja/filters.py index e0afd8b7..8f7acf71 100644 --- a/src/hexdoc/jinja/filters.py +++ b/src/hexdoc/jinja/filters.py @@ -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.