Skip to content

Commit 1f8f960

Browse files
authored
Merge pull request #719 from ztyyLV/Jackson-branch
Jackson branch
2 parents 4912ea7 + 96d2315 commit 1f8f960

File tree

3 files changed

+23
-4
lines changed

3 files changed

+23
-4
lines changed

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

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,16 @@ jobs:
3333
cp -rfp ./web-twain-docs/* ./DWTDoc/
3434
cd Docs-Template-Repo-Preview && git pull && cd .. && cp -rfp ./Docs-Template-Repo-Preview/* ./DWTDoc/
3535
cd DWTDoc && bundle exec jekyll build
36-
python3 /home/ubuntu/ftp.py /home/ubuntu/DWTDoc/_site/ ./www.dynamsoft.com/web-twain/docs/ prod
36+
37+
- name: Sync files
38+
uses: SamKirkland/FTP-Deploy-Action@4.3.0
39+
with:
40+
server: ${{ secrets.FTP_DYNAMSOFT_LOCAL_SERVER }}
41+
username: ${{ secrets.FTP_DYNAMSOFT_LOCAL_USER }}
42+
password: ${{ secrets.FTP_DYNAMSOFT_LOCAL_PASSWORD }}
43+
port: 21
44+
local-dir: /home/ubuntu/DWTDoc/_site/
45+
server-dir: /www.dynamsoft.com/web-twain/docs/
3746

3847
Build-Preview:
3948
if: ${{ github.ref == 'refs/heads/preview' }}

.github/workflows/main.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,16 @@ jobs:
3636
cd web-twain-docs && git pull && cd .. && cp -rfp ./web-twain-docs/* ./DWTDoc/
3737
cd Docs-Template-Repo-Preview && git pull && cd .. && cp -rfp ./Docs-Template-Repo-Preview/* ./DWTDoc/
3838
cd DWTDoc && bundle exec jekyll build --incremental
39-
python3 /home/ubuntu/ftp.py /home/ubuntu/DWTDoc/_site/ ./www.dynamsoft.com/web-twain/docs/ prod
39+
40+
- name: Sync files
41+
uses: SamKirkland/FTP-Deploy-Action@4.3.0
42+
with:
43+
server: ${{ secrets.FTP_DYNAMSOFT_LOCAL_SERVER }}
44+
username: ${{ secrets.FTP_DYNAMSOFT_LOCAL_USER }}
45+
password: ${{ secrets.FTP_DYNAMSOFT_LOCAL_PASSWORD }}
46+
port: 21
47+
local-dir: /home/ubuntu/DWTDoc/_site/
48+
server-dir: /www.dynamsoft.com/web-twain/docs/
4049

4150
Build-Preview:
4251
if: ${{ github.ref == 'refs/heads/preview' }}

faq/general-troubleshooting-steps.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ permalink: /faq/general-troubleshooting-steps.html
2525
- Linux, `/opt/dynamsoft/DynamsoftService/log`
2626

2727
2. Set the log level
28-
Option A - Single client machine troubleshooting - go to the application with Dynamic Web TWAIN integrated, press F12 to open the development tools, switch to "console" tab and enter the command "DWObject.LogLevel = 1" to enable the debugger mode.
29-
Option B - For all client machines (application wide) - set [ `LogLevel` ]({{site.info}}api/WebTwain_Util.html#loglevel) to 1 in your code. This property should be set as soon as the `WebTwain` instance is created. For example, in the event `Dynamsoft_OnReady`
28+
- Option A - (Only recommended for v18.0+) For only one client machine, add the line `LogLevel=14` to `DSConfiguration.ini` on that specific machine. To find the `DSConfiguration.ini` file, please return to the previous directory from the log directory.
29+
- Option B - Single client machine troubleshooting - go to the application with Dynamic Web TWAIN integrated, press F12 to open the development tools, switch to "console" tab and enter the command `DWObject.LogLevel = 1` to enable the debugger mode.
30+
- Option C - For all client machines (application wide) - set [ `LogLevel` ]({{site.info}}api/WebTwain_Util.html#loglevel) to 1 in your code. This property should be set as soon as the `WebTwain` instance is created. For example, in the event `Dynamsoft_OnReady`
3031
```javascript
3132
function Dynamsoft_OnReady() {
3233
DWObject = Dynamsoft.DWT.GetWebTwain("dwtcontrolContainer");

0 commit comments

Comments
 (0)