Skip to content

Commit 52ccd06

Browse files
Chores and fixes (#97)
* chore: remove VS Code config * chore: update .gitignore for local builds * chore: fix .gitignore * chore: fix .gitignore * remove ignored templates * chore: fix whitespace and EOF newline * chore: fix .gitignore * chore: remove extra .editorconfig * fix: release notes linking * fix: rename release notes sidelist * fix: rename release notes sidelist --------- Co-authored-by: Tom Kent <[email protected]>
1 parent 0b61ea2 commit 52ccd06

File tree

60 files changed

+406
-879
lines changed

Some content is hidden

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

60 files changed

+406
-879
lines changed

.editorconfig

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

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

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,9 @@ jobs:
4343
server: ${{ secrets.FTP_DYNAMSOFT_LOCAL_SERVER }}
4444
username: ${{ secrets.FTP_DYNAMSOFT_LOCAL_USER }}
4545
password: ${{ secrets.FTP_DYNAMSOFT_LOCAL_PASSWORD }}
46-
port: 21
46+
port: 21
4747
local-dir: /home/ubuntu/MWCDoc/_site/
48-
server-dir: /www.dynamsoft.com/mobile-web-capture/docs/
49-
48+
server-dir: /www.dynamsoft.com/mobile-web-capture/docs/
5049

5150
Build-Preview:
5251
if: ${{ github.ref == 'refs/heads/preview' }}
@@ -57,8 +56,7 @@ jobs:
5756
steps:
5857
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
5958
#- uses: actions/checkout@v2
60-
61-
59+
6260
# Runs a set of commands using the runners shell
6361
- name: Build the site
6462
run: |
@@ -72,15 +70,13 @@ jobs:
7270
sed -i -e "1,3s/blob\/master$/blob\/preview/" \
7371
-e "1,3s/blob\/main$/blob\/preview/" /home/ubuntu/MWCDocPreview/_config.yml
7472
cd MWCDocPreview && bundle exec jekyll build
75-
7673
7774
- name: Sync files
7875
uses: SamKirkland/[email protected]
7976
with:
8077
server: ${{ secrets.FTP_TEST_SITE_SERVER }}
8178
username: ${{ secrets.FTP_TEST_SITE_USER }}
8279
password: ${{ secrets.FTP_TEST_SITE_PASSWORD }}
83-
port: 7500
80+
port: 7500
8481
local-dir: /home/ubuntu/MWCDocPreview/_site/
8582
server-dir: /www.dynamsoft.com/mobile-web-capture/docs/
86-

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ name: CI
66
on:
77
# Triggers the workflow on push events but only for the master branch
88
push:
9-
branches:
10-
- main
11-
# - preview
9+
branches:
10+
- main
11+
# - preview
1212

1313
# Allows you to run this workflow manually from the Actions tab
1414
workflow_dispatch:
@@ -30,4 +30,4 @@ jobs:
3030
with:
3131
doc-repo: mobile-web-capture-docs
3232
doc-url: mobile-web-capture/docs/
33-
secrets: inherit
33+
secrets: inherit

.gitignore

Lines changed: 37 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,38 @@
1-
################################################################################
2-
# 此 .gitignore 文件已由 Microsoft(R) Visual Studio 自动创建。
3-
################################################################################
1+
# Layout templates
2+
_layouts/
43

5-
/.vs
4+
# Assets
5+
assets/font-face/
6+
assets/img-icon/
7+
assets/js/**
8+
!assets/js/setLatestVersion.js
9+
assets/scripts/
10+
assets/css/
11+
12+
# Includes
13+
_includes/productNav/
14+
_includes/auto-version-list.html
15+
_includes/head.html
16+
_includes/liquid_autoGenerateHistoryList.html
17+
_includes/liquid_breadcrumb.html
18+
_includes/liquid_generateFullTree.html
19+
_includes/liquid_searchVersionTreeFile.html
20+
_includes/livehelp.html
21+
_includes/main-page-head.html
22+
_includes/page_footer.html
23+
_includes/page_header.html
24+
_includes/productNav_OLD.html
25+
_includes/productNav.html
26+
_includes/search-input.html
27+
_includes/trialLicense.html
28+
29+
# Plugins
30+
_plugins/
31+
32+
# Site resources
33+
_site/
34+
35+
sitemap.xml
36+
Hide_Tree_Page.md
37+
Gemfile.lock
38+
Gemfile

.vscode/settings.json

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# Mobile-Web-Capture-Docs
1+
# Mobile-Web-Capture-Docs

_config.yml

Lines changed: 44 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,44 @@
1-
repository: dynamsoft-docs/mobile-web-capture-docs
2-
repositoryUrl: https://github.com/dynamsoft-docs/mobile-web-capture-docs/blob/main
3-
docFullPath: https://www.dynamsoft.com/mobile-web-capture/docs
4-
firstLevelUrl: /mobile-web-capture/docs
5-
docHomePage: /mobile-web-capture/docs/introduction/
6-
7-
introduction: /mobile-web-capture/docs/introduction/
8-
gettingstarted: /mobile-web-capture/docs/gettingstarted/
9-
codegallery: /mobile-web-capture/docs/codegallery/
10-
api: /mobile-web-capture/docs/api/
11-
12-
guides: /mobile-web-capture/docs/guides/
13-
14-
15-
releasenotes: /mobile-web-capture/docs/releasenotes/
16-
17-
useVersionTree: true
18-
19-
assets: /mobile-web-capture/docs/assets/
20-
edit_icon: /mobile-web-capture/docs/assets/img-icon/edit-icon.png
21-
smile_icon: /mobile-web-capture/docs/assets/img-icon/icon-smile.png
22-
sad_icon: /mobile-web-capture/docs/assets/img-icon/icon-sad.png
23-
24-
baseurl: "/mobile-web-capture/docs"
25-
26-
download: "/mobile-web-capture/downloads/"
27-
28-
plugins:
29-
- jemoji
30-
- jekyll-sitemap
31-
32-
33-
defaults:
34-
- scope:
35-
path: ""
36-
values:
37-
layout: "default-layout"
38-
noTitleIndex: true
39-
needAutoGenerateSidebar: true
40-
needGenerateH3Content: true
41-
- scope:
42-
path: "Hide_Tree_Page.html"
43-
values:
44-
sitemap: false
45-
46-
url: "https://www.dynamsoft.com" # sitemap root
1+
repository: dynamsoft-docs/mobile-web-capture-docs
2+
repositoryUrl: https://github.com/dynamsoft-docs/mobile-web-capture-docs/blob/main
3+
docFullPath: https://www.dynamsoft.com/mobile-web-capture/docs
4+
firstLevelUrl: /mobile-web-capture/docs
5+
docHomePage: /mobile-web-capture/docs/introduction/
6+
7+
introduction: /mobile-web-capture/docs/introduction/
8+
gettingstarted: /mobile-web-capture/docs/gettingstarted/
9+
codegallery: /mobile-web-capture/docs/codegallery/
10+
api: /mobile-web-capture/docs/api/
11+
12+
guides: /mobile-web-capture/docs/guides/
13+
14+
release-notes: /mobile-web-capture/docs/release-notes/
15+
16+
useVersionTree: true
17+
18+
assets: /mobile-web-capture/docs/assets/
19+
edit_icon: /mobile-web-capture/docs/assets/img-icon/edit-icon.png
20+
smile_icon: /mobile-web-capture/docs/assets/img-icon/icon-smile.png
21+
sad_icon: /mobile-web-capture/docs/assets/img-icon/icon-sad.png
22+
23+
baseurl: "/mobile-web-capture/docs"
24+
25+
download: "/mobile-web-capture/downloads/"
26+
27+
plugins:
28+
- jemoji
29+
- jekyll-sitemap
30+
31+
defaults:
32+
- scope:
33+
path: ""
34+
values:
35+
layout: "default-layout"
36+
noTitleIndex: true
37+
needAutoGenerateSidebar: true
38+
needGenerateH3Content: true
39+
- scope:
40+
path: "Hide_Tree_Page.html"
41+
values:
42+
sitemap: false
43+
44+
url: "https://www.dynamsoft.com" # sitemap root

_data/full_tree.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ tree_file_list:
22
- sidelist-introduction.html
33
- sidelist-guides.html
44
- sidelist-api.html
5-
- sidelist-releasenotes.html
5+
- sidelist-release-notes.html
66
- sidelist-full-tree.html
77
- sidelist-apis-v2.0.html
88
- sidelist-full-tree.v2.0.html
9-
- sidelist-introduction-v2.0.html
9+
- sidelist-introduction-v2.0.html

_data/product_version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ version_info_list:
66
- value: 2.0
77
- value: 1.x
88
child:
9-
- 1.1
9+
- 1.1

_includes/sidelist-api.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
<li><a href="{{ site.api }}document-scanner.html" class="otherLinkColour">Document Scanner</a></li>
44
<li><a href="{{ site.api }}mobile-web-capture.html" class="otherLinkColour">Mobile Web Capture</a></li>
55
</ul>
6-
</li>
6+
</li>

0 commit comments

Comments
 (0)