Skip to content

Commit 23f859f

Browse files
authored
Staging (#113)
* fix: use different link due to section loading order * fix: add more descriptions and links for self hosting * feat: add note about MWC rewrite in release notes * fix: use X.y.z versioning * fix: use correct JSDelivr page link
1 parent 48799e9 commit 23f859f

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

guide/index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ To use the **Mobile Document Scanner**, first obtain its library files. You can
6161

6262
1. [**GitHub**](https://github.com/Dynamsoft/document-scanner-javascript) – Contains the source files for the **MDS** SDK, which can be compiled into library files.
6363
2. [**npm**](https://www.npmjs.com/package/dynamsoft-document-scanner) – Provides precompiled library files via npm for easier installation.
64-
3. [**CDN**](https://cdn.jsdelivr.net/npm/dynamsoft-document-scanner) – Delivers precompiled library files through a CDN for quick and seamless integration.
64+
3. [**CDN**](https://www.jsdelivr.com/package/npm/dynamsoft-document-scanner) – Delivers precompiled library files through a CDN for quick and seamless integration.
6565

6666
You can choose one of the following methods to set up a Hello World page:
6767

@@ -123,7 +123,7 @@ We publish **MDS** library files on [npm](https://www.npmjs.com/package/dynamsof
123123
To use the precompiled script, simply include the following URL in a `<script>` tag:
124124

125125
```html
126-
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/dds.bundle.js"></script>
126+
<script src="https://cdn.jsdelivr.net/npm/[email protected].0/dist/dds.bundle.js"></script>
127127
```
128128

129129
Below is the complete Hello World sample page that uses this precompiled script from a CDN.
@@ -141,7 +141,7 @@ Below is the complete Hello World sample page that uses this precompiled script
141141
<meta charset="utf-8" />
142142
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
143143
<title>Mobile Document Scanner - Hello World</title>
144-
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/dds.bundle.js"></script>
144+
<script src="https://cdn.jsdelivr.net/npm/[email protected].0/dist/dds.bundle.js"></script>
145145
</head>
146146
<body>
147147
<h1 style="font-size: large">Mobile Document Scanner</h1>
@@ -318,7 +318,7 @@ Here we walk through the code in the Hello World sample to explain how it works.
318318
<title>Mobile Document Scanner - Hello World</title>
319319
<script src="../dist/dds.bundle.js"></script>
320320
<!--Alternatively, reference the script from CDN
321-
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/dds.bundle.js"></script>
321+
<script src="https://cdn.jsdelivr.net/npm/[email protected].0/dist/dds.bundle.js"></script>
322322
-->
323323
</head>
324324
</html>
@@ -333,7 +333,7 @@ In this step, MDS is referenced using a relative local path in the `<head>` sect
333333
Alternatively, the script can be referenced from a CDN:
334334
335335
```html
336-
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/dds.bundle.js"></script>
336+
<script src="https://cdn.jsdelivr.net/npm/[email protected].0/dist/dds.bundle.js"></script>
337337
```
338338
339339
**MDS** wraps all its dependency scripts, so a **MDS** project only needs to include **MDS** itself as a single script. No additional dependency scripts are required.
@@ -642,7 +642,7 @@ We previously covered `container` in [Workflow Customization](#workflow-customiz
642642
> If **MDS** performance does not meet your needs in your usage scenario, you may require a customized algorithm template for better results. In this case, please contact our experienced [Technical Support Team](https://www.dynamsoft.com/company/contact/) to discuss your requirements. They will help tailor a suitable template for you, which you can then apply by updating `templateFilePath`.
643643
644644
By default, `cameraEnhancerUIPath` points to a file hosted on the jsDelivr CDN:
645-
[https://cdn.jsdelivr.net/npm/[email protected]/dist/document-scanner.ui.html](https://cdn.jsdelivr.net/npm/[email protected]/dist/document-scanner.ui.html).
645+
[https://cdn.jsdelivr.net/npm/[email protected].0/dist/document-scanner.ui.html](https://cdn.jsdelivr.net/npm/[email protected].0/dist/document-scanner.ui.html).
646646
647647
This file defines the UI for `DocumentScannerView`. However, since files on the CDN **cannot be modified directly**, you need to use a **local version** to customize the UI. `cameraEnhancerUIPath` is used to specify the local version.
648648

release-notes/mobile-web-capture.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ The most notable improvement in this version is the pluggable scanner feature. T
4141
> [!IMPORTANT]
4242
> **This is a Beta Version**
4343
44+
> [!IMPORTANT]
45+
> MWC version 3.0.0 is a **complete rewrite** and is not based on previous versions.
46+
4447
In this release, **Mobile Web Capture (MWC)** has been completely redesigned from the ground up. It is now a **ready-to-use, fully developed,** browser-based document management system for mobile devices.
4548

4649
### Highlighted Features

0 commit comments

Comments
 (0)