From 1783c0c084104c42ce5adc0ae095e923ea824679 Mon Sep 17 00:00:00 2001 From: James Meng Date: Wed, 12 Mar 2025 15:09:48 -0700 Subject: [PATCH 1/2] Add a link to the LiquidDoc reference in doc tag documentation comment --- lib/liquid/tags/doc.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/liquid/tags/doc.rb b/lib/liquid/tags/doc.rb index 6f061650..c3bd4109 100644 --- a/lib/liquid/tags/doc.rb +++ b/lib/liquid/tags/doc.rb @@ -13,6 +13,10 @@ module Liquid # Liquid code inside will be parsed but not executed. This facilitates # tooling support for features like code completion, linting, and inline # documentation. + # + # For detailed documentation syntax and examples, see the + # [`LiquidDoc` reference](/themes/tools/liquid-doc). + # # @liquid_syntax # {% doc %} # Renders a message. From 21432928d0b815693cff9b81613a967debec67d6 Mon Sep 17 00:00:00 2001 From: James Meng <35415298+jamesmengo@users.noreply.github.com> Date: Thu, 13 Mar 2025 09:47:57 -0700 Subject: [PATCH 2/2] Use full relative path for hyperlink --- lib/liquid/tags/doc.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/liquid/tags/doc.rb b/lib/liquid/tags/doc.rb index c3bd4109..ef5d5d80 100644 --- a/lib/liquid/tags/doc.rb +++ b/lib/liquid/tags/doc.rb @@ -15,7 +15,7 @@ module Liquid # documentation. # # For detailed documentation syntax and examples, see the - # [`LiquidDoc` reference](/themes/tools/liquid-doc). + # [`LiquidDoc` reference](/docs/storefronts/themes/tools/liquid-doc). # # @liquid_syntax # {% doc %}