Skip to content

Commit d3f9163

Browse files
Merge pull request #61 from dynamsoft-docs/preview
Preview
2 parents f71fbcc + a9fe80f commit d3f9163

File tree

260 files changed

+731
-27595
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

260 files changed

+731
-27595
lines changed

.github/workflows/full-site-build.yml

Lines changed: 0 additions & 85 deletions
This file was deleted.

.github/workflows/main.yml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,14 @@ jobs:
3131
run: |
3232
cd /home/ubuntu
3333
[ -d DDNDoc ] && rm -rf DDNDoc
34+
[ -d document-normalizer-docs ] && rm -rf document-normalizer-docs
35+
[ -d Docs-Template-Repo-Preview ] && rm -rf Docs-Template-Repo-Preview
3436
[ ! -d DDNDoc ] && mkdir -p DDNDoc
35-
cd document-normalizer-docs && git pull && cd .. && cp -rfp ./document-normalizer-docs/* ./DDNDoc/
36-
cd Docs-Template-Repo-Preview && git pull && cd .. && cp -rfp ./Docs-Template-Repo-Preview/* ./DDNDoc/
37-
cd DDNDoc && bundle exec jekyll build
38-
#python3 /home/ubuntu/ftp.py /home/ubuntu/DDNDoc/_site/ ./www.dynamsoft.com/document-normalizer/docs/ prod
37+
git clone --depth 1 https://github.com/dynamsoft-docs/document-normalizer-docs.git document-normalizer-docs
38+
git clone --depth 1 --branch preview https://github.com/dynamsoft-docs/Docs-Template-Repo.git Docs-Template-Repo-Preview
39+
cp -rfp ./document-normalizer-docs/* ./DDNDoc/
40+
cp -rfp ./Docs-Template-Repo-Preview/* ./DDNDoc/
41+
cd DDNDoc && bundle exec jekyll build --incremental
3942
4043
- name: Sync files
4144
uses: SamKirkland/[email protected]
@@ -45,7 +48,7 @@ jobs:
4548
password: ${{ secrets.FTP_DYNAMSOFT_LOCAL_PASSWORD }}
4649
port: 21
4750
local-dir: /home/ubuntu/DDNDoc/_site/
48-
server-dir: /www.dynamsoft.com/document-normalizer/docs/
51+
server-dir: /www.dynamsoft.com/document-normalizer/docs/core/
4952

5053
Build-Preview:
5154
if: ${{ github.ref == 'refs/heads/preview' }}
@@ -67,13 +70,13 @@ jobs:
6770
run: |
6871
cd /home/ubuntu
6972
[ ! -d DDNDocPreview ] && mkdir -p DDNDocPreview
70-
[ ! -d document-normalizer-docs-preview ] && git clone --depth 1 --branch preview https://github.com/dynamsoft-docs/document-normalizer-docs.git document-normalizer-docs-preview
71-
[ ! -d Docs-Template-Repo-Preview ] && git clone --depth 1 --branch preview https://github.com/dynamsoft-docs/Docs-Template-Repo.git Docs-Template-Repo-Preview
72-
cd document-normalizer-docs-preview && git pull && cd .. && cp -rfp ./document-normalizer-docs-preview/* ./DDNDocPreview/
73-
cd Docs-Template-Repo-Preview && git pull && cd .. && cp -rfp ./Docs-Template-Repo-Preview/* ./DDNDocPreview/
73+
git clone --depth 1 --branch preview https://${{ secrets.GIT_USER }}:${{ secrets.GIT_PAT }}@github.com/dynamsoft-docs/document-normalizer-docs.git document-normalizer-docs-preview
74+
git clone --depth 1 --branch preview https://github.com/dynamsoft-docs/Docs-Template-Repo.git Docs-Template-Repo-Preview
75+
cp -rfp ./document-normalizer-docs-preview/* ./DDNDocPreview/
76+
cp -rfp ./Docs-Template-Repo-Preview/* ./DDNDocPreview/
7477
sed -i -e "1,3s/blob\/master$/blob\/preview/" \
7578
-e "1,3s/blob\/main$/blob\/preview/" /home/ubuntu/DDNDocPreview/_config.yml
76-
cd DDNDocPreview && bundle exec jekyll build
79+
cd DDNDocPreview && bundle exec jekyll build --incremental
7780
7881
- name: Sync files
7982
uses: SamKirkland/[email protected]
@@ -83,6 +86,6 @@ jobs:
8386
password: ${{ secrets.FTP_TEST_SITE_PASSWORD }}
8487
port: 7500
8588
local-dir: /home/ubuntu/DDNDocPreview/_site/
86-
server-dir: /www.dynamsoft.com/document-normalizer/docs/
89+
server-dir: /www.dynamsoft.com/document-normalizer/docs/core/
8790

8891

.vscode/settings.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

_config.yml

Lines changed: 43 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,47 @@
11
repository: dynamsoft-docs/document-normalizer-docs
22
repositoryUrl: https://github.com/dynamsoft-docs/document-normalizer-docs/blob/main
3-
docFullPath: https://www.dynamsoft.com/document-normalizer/docs
4-
firstLevelUrl: /document-normalizer/docs
5-
docHomePage: /document-normalizer/docs/introduction/
6-
7-
introduction: /document-normalizer/docs/introduction/
8-
programming: /document-normalizer/docs/programming/
9-
parameters: /document-normalizer/docs/parameters/
10-
license: /document-normalizer/docs/license/
11-
12-
c: /document-normalizer/docs/programming/c/
13-
c_api: /document-normalizer/docs/programming/c/api-reference/
14-
c_release_notes: /document-normalizer/docs/programming/c/release-notes/
15-
16-
cpp: /document-normalizer/docs/programming/cplusplus/
17-
cpp_api: /document-normalizer/docs/programming/cplusplus/api-reference/
18-
cpp_release_notes: /document-normalizer/docs/programming/cplusplus/release-notes/
19-
20-
ios: /document-normalizer/docs/programming/ios/
21-
ios_api: /document-normalizer/docs/programming/ios/api-reference/
22-
ios_release_notes: /document-normalizer/docs/programming/ios/release-notes/
23-
ios_camera_enhancer: /document-normalizer/docs/programming/ios/api-reference/camera-enhancer/
24-
25-
android: /document-normalizer/docs/programming/android/
26-
android_api: /document-normalizer/docs/programming/android/api-reference/
27-
android_release_notes: /document-normalizer/docs/programming/android/release-notes/
28-
android_camera_enhancer: /document-normalizer/docs/programming/android/api-reference/camera-enhancer/
29-
30-
javascript: /document-normalizer/docs/programming/javascript/
31-
javascript_api: /document-normalizer/docs/programming/javascript/api-reference/
32-
javascript_release_notes: /document-normalizer/docs/programming/javascript/release-notes/
33-
javascript_user_guide: /document-normalizer/docs/programming/javascript/user-guide/
34-
35-
xamarin: /document-normalizer/docs/programming/xamarin/
36-
xamarin_api: /document-normalizer/docs/programming/xamarin/api-reference/
37-
xamarin_release_notes: /document-normalizer/docs/programming/xamarin/release-notes/
38-
xamarin_camera_enhancer: /document-normalizer/docs/programming/xamarin/api-reference/camera-enhancer/
39-
40-
enumerations: /document-normalizer/docs/programming/enumerations/
41-
parameters_reference: /document-normalizer/docs/parameters/reference/
42-
release_notes: /document-normalizer/docs/release-notes/
3+
docFullPath: https://www.dynamsoft.com/document-normalizer/docs/core
4+
firstLevelUrl: /document-normalizer/docs/core
5+
docHomePage: /document-normalizer/docs/core/
6+
7+
introduction: /document-normalizer/docs/core/introduction/
8+
9+
c: /document-normalizer/docs/server/programming/c/
10+
c_api: /document-normalizer/docs/server/programming/c/api-reference/
11+
c_release_notes: /document-normalizer/docs/server/programming/c/release-notes/
12+
13+
cpp: /document-normalizer/docs/server/programming/cplusplus/
14+
cpp_release_notes: /document-normalizer/docs/server/programming/cplusplus/release-notes/
15+
16+
ios: /document-normalizer/docs/mobile/programming/ios/
17+
ios_release_notes: /document-normalizer/docs/mobile/programming/ios/release-notes/
18+
19+
android: /document-normalizer/docs/mobile/programming/android/
20+
android_release_notes: /document-normalizer/docs/mobile/programming/android/release-notes/
21+
22+
js: /document-normalizer/docs/web/programming/javascript/
23+
js_release_notes: /document-normalizer/docs/web/programming/javascript/release-notes/
24+
25+
xamarin: /document-normalizer/docs/mobile/programming/xamarin/
26+
xamarin_release_notes: /document-normalizer/docs/mobile/programming/xamarin/release-notes/
27+
28+
release_notes: /document-normalizer/docs/core/release-notes/
29+
30+
enumerations: /capture-vision/docs/core/enums/
31+
dcv_parameters: /capture-vision/docs/core/parameters/
32+
parameters_reference: /capture-vision/docs/core/parameters/reference/
33+
parameters_ddn: /document-normalizer/docs/core/parameters/
34+
parameters_reference_ddn: /document-normalizer/docs/core/parameters/reference/
35+
license: /capture-vision/docs/core/license/
4336

4437
useVersionTree: true
4538

46-
assets: /document-normalizer/docs/assets/
47-
edit_icon: /document-normalizer/docs/assets/img-icon/edit-icon.png
48-
smile_icon: /document-normalizer/docs/assets/img-icon/icon-smile.png
49-
sad_icon: /document-normalizer/docs/assets/img-icon/icon-sad.png
39+
assets: /document-normalizer/docs/core/assets/
40+
edit_icon: /document-normalizer/docs/core/assets/img-icon/edit-icon.png
41+
smile_icon: /document-normalizer/docs/core/assets/img-icon/icon-smile.png
42+
sad_icon: /document-normalizer/docs/core/assets/img-icon/icon-sad.png
5043

51-
baseurl: "/document-normalizer/docs"
44+
baseurl: "/document-normalizer/docs/core"
5245

5346
download: "/document-normalizer/downloads/1000023-confirmation/"
5447

@@ -65,6 +58,11 @@ defaults:
6558
noTitleIndex: true
6659
needAutoGenerateSidebar: true
6760
needGenerateH3Content: true
61+
- scope:
62+
path: ""
63+
values:
64+
docRootName: "Document Normalizer"
65+
docHomePage: "/document-normalizer/docs/core/introduction/"
6866
- scope:
6967
path: "Hide_Tree_Page.html"
7068
values:

_data/full_tree.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
tree_file_list:
22
- sidelist-full-tree.html
3+
- sidelist-development.html
4+
- sidelist-development-v1.0.21.html
35
- sidelist-introduction.html
4-
- sidelist-parameters.html
5-
- sidelist-programming.html
6-
- sidelist-useful.html
7-
- sidelist-release-notes.html
86
- sidelist-license.html
9-
- sidelist-programming/programming-android.html
10-
- sidelist-programming/programming-ios.html
11-
- sidelist-programming/programming-c.html
12-
- sidelist-programming/programming-cpp.html
13-
- sidelist-programming/programming-xamarin.html
14-
- sidelist-programming/programming-javascript.html
15-
- sidelist-parameters/parameters-reference.html
7+
- sidelist-parameters-organization.html
8+
- sidelist-parameters-reference.html
9+
- sidelist-parameters-reference-v1.0.21.html
10+
- sidelist-release-notes.html
11+
- sidelist-useful.html
12+
- sidelist-understanding.html
13+
- sidelist-understanding-v1.0.21.html

_data/product_version.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
1+
useGroupedVersion: true
2+
13
version_info_list:
2-
- latest version
3-
- 1.0.12
4-
- 1.0.11
5-
- 1.0.10
6-
- 1.0.0
4+
- value: latest version
5+
- value: 1.x
6+
child:
7+
- 1.0.21
8+
- 1.0.20
9+
- 1.0.12
10+
- 1.0.11
11+
- 1.0.10
12+
- 1.0.0
713

814

_includes/api-reference/drawing-item-android.md

Lines changed: 0 additions & 84 deletions
This file was deleted.

0 commit comments

Comments
 (0)