layout | regenerate |
---|---|
tree-layout |
true |
{%- if site.useVersionTree -%}
{%- if site.edition -%}
{%- if site.edition == 'algorithm' -%}
{%- assign validVerInfo = site.data.product_version.version_info_list_algorithm -%}
{%- elsif site.edition == 'js' -%}
{%- assign validVerInfo = site.data.product_version.version_info_list_js -%}
{%- elsif site.edition == 'mobile' -%}
{%- assign validVerInfo = site.data.product_version.version_info_list_mobile -%}
{%- else -%}
{%- assign validVerInfo = site.data.product_version.version_info_list_desktop -%}
{%- endif -%}
{%- else -%}
{%- assign validVerInfo = site.data.product_version.version_info_list -%}
{%- endif -%}
{%- if site.data.product_version.useGroupedVersion -%}
{%- for verInfo in validVerInfo -%}
{%- if verInfo.child -%}
{%- for childVersion in verInfo.child -%}
{%- assign c_version = childVersion | downcase | strip -%}
{%- if c_version contains '' -%}
{%- assign arr = childVersion | split: "" -%}
{%- assign c_version = arr.first -%}
{%- endif -%}
{%- if c_version contains 'latest version' -%}
{%- assign c_version = 'latest version' -%}
{%- endif -%}
{%- assign curId = "version_tree_" | append: c_version | replace: " ", "" | downcase -%}
{%- endif -%}
-
{%- include liquid_searchVersionTreeFile.html ver=childVersion curPath="" targetRelativePath="sidelist-full-tree.html" -%}
-
{%- include liquid_searchVersionTreeFile.html ver=verInfo.value curPath="" targetRelativePath="sidelist-full-tree.html" -%}
-
{%- include liquid_searchVersionTreeFile.html ver=verInfo curPath="" targetRelativePath="sidelist-full-tree.html" -%}