Skip to content

Commit 575f3e2

Browse files
committed
docs: add missing tag/filter links on sidebar/table, #482
1 parent 7dfb620 commit 575f3e2

8 files changed

Lines changed: 14 additions & 9 deletions

File tree

docs/source/_data/sidebar.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ tags:
8484
cycle: cycle.html
8585
decrement: decrement.html
8686
echo: echo.html
87+
else: if.html
88+
elsif: if.html
8789
for: for.html
8890
if: if.html
8991
include: include.html
@@ -94,6 +96,7 @@ tags:
9496
render: render.html
9597
tablerow: tablerow.html
9698
unless: unless.html
99+
when: case.html
97100

98101
api:
99102
quick_entry:

docs/source/filters/overview.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ There's 40+ filters supported by LiquidJS. These filters can be categorized into
99

1010
Categories | Filters
1111
--- | ---
12-
Math | plus, minus, modulo, times, floor, ceil, round, divided_by, abs
12+
Math | plus, minus, modulo, times, floor, ceil, round, divided_by, abs, at_least, at_most
1313
String | append, prepend, capitalize, upcase, downcase, strip, lstrip, rstrip, strip_newlines, split, replace, replace_first, remove, remove_first, truncate, truncatewords
1414
HTML/URI | escape, escape_once, url_encode, url_decode, strip_html, newline_to_br
15-
Array | slice, map, sort, sort_natural, uniq, where, first, last, join, reverse, concat
15+
Array | slice, map, sort, sort_natural, uniq, where, first, last, join, reverse, concat, compact, size
1616
Date | date
17+
Misc | default, json
1718

1819
[shopify/liquid]: https://github.com/Shopify/liquid

docs/source/tags/overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Category | Purpose | Tags
1111
--- | --- | ---
1212
Iteration | iterate over a collection | for, cycle, tablerow
1313
Control Flow | control the execution branch of template rendering | if, unless, elsif, else, case, when
14-
Variable | define and alter variables | assign, increment, decrement
14+
Variable | define and alter variables | assign, increment, decrement, capture, echo
1515
File | include another template or extend a layout template | render, include, layout
16-
Language | temporarily disable LiquidJS syntax | raw, comment
16+
Language | temporarily disable LiquidJS syntax | raw, comment, liquid
1717

1818
[shopify/liquid]: https://github.com/Shopify/liquid

docs/source/zh-cn/filters/overview.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ LiquidJS 共支持 40+ 个过滤器,可以分为如下几类:
99

1010
类别 | 过滤器
1111
--- | ---
12-
数学 | plus, minus, modulo, times, floor, ceil, round, divided_by, abs
12+
数学 | plus, minus, modulo, times, floor, ceil, round, divided_by, abs, at_least, at_most
1313
字符串 | append, prepend, capitalize, upcase, downcase, strip, lstrip, rstrip, strip_newlines, split, replace, replace_first, remove, remove_first, truncate, truncatewords
1414
HTML/URI | escape, escape_once, url_encode, url_decode, strip_html, newline_to_br
15-
数组 | slice, map, sort, sort_natural, uniq, wheres, first, last, join, reverse, concat
15+
数组 | slice, map, sort, sort_natural, uniq, wheres, first, last, join, reverse, concat, compact, size
1616
日期 | date
17+
其他 | default, json
1718

1819
[shopify/liquid]: https://github.com/Shopify/liquid

docs/source/zh-cn/tags/overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ LiquidJS 支持十几个过滤器,可以分为如下几类:
1111
--- | --- | ---
1212
迭代 | 遍历一个集合 | for, cycle, tablerow
1313
控制流 | 控制模板渲染的执行分支 | if, unless, elif, else, case, when
14-
变量 | 定义和修改变量 | assign, increment, decrement
14+
变量 | 定义和修改变量 | assign, increment, decrement, capture, echo
1515
文件 | 引入或继承其他模板 | render, include, layout
16-
语言 | 暂时禁用 Liquid 语法 | raw, comment
16+
语言 | 暂时禁用 Liquid 语法 | raw, comment, liquid
1717

1818
[shopify/liquid]: https://github.com/Shopify/liquid

src/builtin/filters/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ export * from './math'
33
export * from './url'
44
export * from './array'
55
export * from './date'
6-
export * from './object'
6+
export * from './misc'
77
export * from './string'
File renamed without changes.

0 commit comments

Comments
 (0)