Skip to content

Commit

Permalink
doc/app/index: using icons
Browse files Browse the repository at this point in the history
  • Loading branch information
shankerwangmiao committed Mar 7, 2024
1 parent 8a68b97 commit 957c5e0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 5 additions & 3 deletions content/docs/apps/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ cascade:

libLoL 应用兼容性数据由社区贡献者维护,兼容性报告对应的应用版本、来源和更新时间等信息均在页面中列出。其中兼容性使用如下方式表示:

- 可用:应用程序的所有功能均可正常使用。
- 存在问题:应用程序部分功能不可用或存在问题。
- 不可用:应用程序完全无法正常使用。
- {{< compatibility-icon 4 >}} 应用程序已经提供新世界 ABI 版本或提供了源代码,无需使用旧世界上的软件包;
- {{< compatibility-icon 3 >}} 应用程序的功能均可正常使用,尚未发现功能异常;
- {{< compatibility-icon 2 >}} 应用程序已知部分功能不可用或存在问题;
- {{< compatibility-icon 1 >}} 应用程序完全无法正常使用;
- {{< compatibility-icon 0 >}} 尚未测试该应用程序。

请注意,一些应用可能会需要额外操作才能实现相对应的兼容性。

Expand Down
4 changes: 4 additions & 0 deletions layouts/shortcodes/compatibility-icon.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{{ partial
"apputils/compatibility"
(dict "Params" (dict "compatibility" (.Get 0)))
}}

0 comments on commit 957c5e0

Please sign in to comment.