Skip to content

Commit bca0380

Browse files
committed
_config.yml & sidelist
1 parent dd66070 commit bca0380

File tree

7 files changed

+61
-0
lines changed

7 files changed

+61
-0
lines changed

_config.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
repository: dynamsoft-docs/faq
2+
repositoryUrl: https://github.com/dynamsoft-docs/faq/blob/main
3+
docFullPath: https://www.dynamsoft.com/faq
4+
firstLevelUrl: /faq
5+
docHomePage: /faq/
6+
product-page-url: https://www.dynamsoft.com/faq
7+
8+
product-name: /faq/
9+
product-title: Dynamsoft FAQ
10+
11+
mobile-faq: /faq/mobile/
12+
server-faq: /faq/server/
13+
web-faq: /faq/web/
14+
15+
useVersionTree: true
16+
17+
assets: /faq/assets/
18+
edit_icon: /faq/assets/img-icon/edit-icon.png
19+
smile_icon: /faq/assets/img-icon/icon-smile.png
20+
sad_icon: /faq/assets/img-icon/icon-sad.png
21+
22+
plugins:
23+
- jekyll-sitemap
24+
25+
defaults:
26+
- scope:
27+
path: ""
28+
values:
29+
layout: "default-layout"
30+
noTitleIndex: true
31+
needAutoGenerateSidebar: true
32+
needGenerateH3Content: true
33+
- scope:
34+
path: "Hide_Tree_Page.html"
35+
values:
36+
sitemap: false
37+
38+
url: https://www.dynamsoft.com # sitemap root
39+
baseurl: /faq

_data/full_tree.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
tree_file_list:
2+
- sidelist-server.html
3+
- sidelist-mobile.html
4+
- sidelist-web.html
5+
- sidelist-full-tree.html

_data/product_version.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
useGroupedVersion: true
2+
3+
version_info_list:
4+
- value: latest version

_includes/sidelist-full-tree.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{%- include liquid_searchVersionTreeFile.html ver=include.ver curPath=include.curPath targetRelativePath="sidelist-server.html" -%}
2+
{%- include liquid_searchVersionTreeFile.html ver=include.ver curPath=include.curPath targetRelativePath="sidelist-mobile.html" -%}
3+
{%- include liquid_searchVersionTreeFile.html ver=include.ver curPath=include.curPath targetRelativePath="sidelist-web.html" -%}

_includes/sidelist-mobile.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<li><a href="{{ site.mobile-faq }}/android/index.html" class="otherLinkColour">Android</a>
2+
</li>
3+
<li><a href="{{ site.mobile-faq }}/ios/index.html" class="otherLinkColour">iOS</a>
4+
</li>
5+
<li><a href="{{ site.mobile-faq }}/maui/index.html" class="otherLinkColour">Maui</a>
6+
</li>

_includes/sidelist-server.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<li><a href="{{ site.server-faq }}index.html" class="otherLinkColour">Server</a>
2+
</li>

_includes/sidelist-web.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<li><a href="{{ site.web-faq }}index.html" class="otherLinkColour">Web</a>
2+
</li>

0 commit comments

Comments
 (0)