Skip to content

Commit 87bc6e7

Browse files
authored
Merge pull request #1940 from Shopify/jm/update_snippet_url_links
Update snippet URLs in documentation links to point to newly created snippet page
2 parents aa16400 + 7f122ae commit 87bc6e7

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lib/liquid/tags/decrement.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module Liquid
1010
# @liquid_description
1111
# Variables that are declared with `decrement` are unique to the [layout](/themes/architecture/layouts), [template](/themes/architecture/templates),
1212
# or [section](/themes/architecture/sections) file that they're created in. However, the variable is shared across
13-
# [snippets](/themes/architecture#snippets) included in the file.
13+
# [snippets](/themes/architecture/snippets) included in the file.
1414
#
1515
# Similarly, variables that are created with `decrement` are independent from those created with [`assign`](/docs/api/liquid/tags/assign)
1616
# and [`capture`](/docs/api/liquid/tags/capture). However, `decrement` and [`increment`](/docs/api/liquid/tags/increment) share

lib/liquid/tags/include.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module Liquid
66
# @liquid_category theme
77
# @liquid_name include
88
# @liquid_summary
9-
# Renders a [snippet](/themes/architecture#snippets).
9+
# Renders a [snippet](/themes/architecture/snippets).
1010
# @liquid_description
1111
# Inside the snippet, you can access and alter variables that are [created](/docs/api/liquid/tags/variable-tags) outside of the
1212
# snippet.

lib/liquid/tags/increment.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module Liquid
1010
# @liquid_description
1111
# Variables that are declared with `increment` are unique to the [layout](/themes/architecture/layouts), [template](/themes/architecture/templates),
1212
# or [section](/themes/architecture/sections) file that they're created in. However, the variable is shared across
13-
# [snippets](/themes/architecture#snippets) included in the file.
13+
# [snippets](/themes/architecture/snippets) included in the file.
1414
#
1515
# Similarly, variables that are created with `increment` are independent from those created with [`assign`](/docs/api/liquid/tags/assign)
1616
# and [`capture`](/docs/api/liquid/tags/capture). However, `increment` and [`decrement`](/docs/api/liquid/tags/decrement) share

lib/liquid/tags/render.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module Liquid
66
# @liquid_category theme
77
# @liquid_name render
88
# @liquid_summary
9-
# Renders a [snippet](/themes/architecture#snippets) or [app block](/themes/architecture/sections/section-schema#render-app-blocks).
9+
# Renders a [snippet](/themes/architecture/snippets) or [app block](/themes/architecture/sections/section-schema#render-app-blocks).
1010
# @liquid_description
1111
# Inside snippets and app blocks, you can't directly access variables that are [created](/docs/api/liquid/tags/variable-tags) outside
1212
# of the snippet or app block. However, you can [specify variables as parameters](/docs/api/liquid/tags/render#render-passing-variables-to-a-snippet)

0 commit comments

Comments
 (0)