mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-19 19:00:39 -07:00
Merge pull request #1940 from Shopify/jm/update_snippet_url_links
Update snippet URLs in documentation links to point to newly created snippet page
This commit is contained in:
@@ -10,7 +10,7 @@ module Liquid
|
|||||||
# @liquid_description
|
# @liquid_description
|
||||||
# Variables that are declared with `decrement` are unique to the [layout](/themes/architecture/layouts), [template](/themes/architecture/templates),
|
# Variables that are declared with `decrement` are unique to the [layout](/themes/architecture/layouts), [template](/themes/architecture/templates),
|
||||||
# or [section](/themes/architecture/sections) file that they're created in. However, the variable is shared across
|
# or [section](/themes/architecture/sections) file that they're created in. However, the variable is shared across
|
||||||
# [snippets](/themes/architecture#snippets) included in the file.
|
# [snippets](/themes/architecture/snippets) included in the file.
|
||||||
#
|
#
|
||||||
# Similarly, variables that are created with `decrement` are independent from those created with [`assign`](/docs/api/liquid/tags/assign)
|
# Similarly, variables that are created with `decrement` are independent from those created with [`assign`](/docs/api/liquid/tags/assign)
|
||||||
# and [`capture`](/docs/api/liquid/tags/capture). However, `decrement` and [`increment`](/docs/api/liquid/tags/increment) share
|
# and [`capture`](/docs/api/liquid/tags/capture). However, `decrement` and [`increment`](/docs/api/liquid/tags/increment) share
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ module Liquid
|
|||||||
# @liquid_category theme
|
# @liquid_category theme
|
||||||
# @liquid_name include
|
# @liquid_name include
|
||||||
# @liquid_summary
|
# @liquid_summary
|
||||||
# Renders a [snippet](/themes/architecture#snippets).
|
# Renders a [snippet](/themes/architecture/snippets).
|
||||||
# @liquid_description
|
# @liquid_description
|
||||||
# Inside the snippet, you can access and alter variables that are [created](/docs/api/liquid/tags/variable-tags) outside of the
|
# Inside the snippet, you can access and alter variables that are [created](/docs/api/liquid/tags/variable-tags) outside of the
|
||||||
# snippet.
|
# snippet.
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ module Liquid
|
|||||||
# @liquid_description
|
# @liquid_description
|
||||||
# Variables that are declared with `increment` are unique to the [layout](/themes/architecture/layouts), [template](/themes/architecture/templates),
|
# Variables that are declared with `increment` are unique to the [layout](/themes/architecture/layouts), [template](/themes/architecture/templates),
|
||||||
# or [section](/themes/architecture/sections) file that they're created in. However, the variable is shared across
|
# or [section](/themes/architecture/sections) file that they're created in. However, the variable is shared across
|
||||||
# [snippets](/themes/architecture#snippets) included in the file.
|
# [snippets](/themes/architecture/snippets) included in the file.
|
||||||
#
|
#
|
||||||
# Similarly, variables that are created with `increment` are independent from those created with [`assign`](/docs/api/liquid/tags/assign)
|
# Similarly, variables that are created with `increment` are independent from those created with [`assign`](/docs/api/liquid/tags/assign)
|
||||||
# and [`capture`](/docs/api/liquid/tags/capture). However, `increment` and [`decrement`](/docs/api/liquid/tags/decrement) share
|
# and [`capture`](/docs/api/liquid/tags/capture). However, `increment` and [`decrement`](/docs/api/liquid/tags/decrement) share
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ module Liquid
|
|||||||
# @liquid_category theme
|
# @liquid_category theme
|
||||||
# @liquid_name render
|
# @liquid_name render
|
||||||
# @liquid_summary
|
# @liquid_summary
|
||||||
# Renders a [snippet](/themes/architecture#snippets) or [app block](/themes/architecture/sections/section-schema#render-app-blocks).
|
# Renders a [snippet](/themes/architecture/snippets) or [app block](/themes/architecture/sections/section-schema#render-app-blocks).
|
||||||
# @liquid_description
|
# @liquid_description
|
||||||
# Inside snippets and app blocks, you can't directly access variables that are [created](/docs/api/liquid/tags/variable-tags) outside
|
# Inside snippets and app blocks, you can't directly access variables that are [created](/docs/api/liquid/tags/variable-tags) outside
|
||||||
# of the snippet or app block. However, you can [specify variables as parameters](/docs/api/liquid/tags/render#render-passing-variables-to-a-snippet)
|
# of the snippet or app block. However, you can [specify variables as parameters](/docs/api/liquid/tags/render#render-passing-variables-to-a-snippet)
|
||||||
|
|||||||
Reference in New Issue
Block a user