From 7605815edfaac2e34a6d75abbf9a0760a202b79f Mon Sep 17 00:00:00 2001 From: lyzhang0113 Date: Tue, 4 Aug 2026 17:01:34 +0800 Subject: [PATCH 1/2] Remove Aztec-code archive duplicate; unlink onFrameRead archive page - barcode-reader/server/archive/unable-to-scan-aztec-code.md duplicated the live web-edition page (barcode-reader/web/scan-setting/unable-to-scan-aztec-code.md) and didn't belong in the server FAQ. Removed the file and its entry in server/configuration/index.md. - barcode-reader/web/archive/use-of-onFrameRead-and-onUnduplicateRead.md stays in the repo as historical/archived content, but is no longer linked from web/configuration/index.md. Its filename typo (onUnduplicateRead vs onUniqueRead) isn't worth fixing now that it's unlinked archived content. Closes #41, closes #42 Co-Authored-By: Claude Sonnet 5 --- .../server/archive/unable-to-scan-aztec-code.md | 17 ----------------- barcode-reader/server/configuration/index.md | 1 - barcode-reader/web/configuration/index.md | 1 - 3 files changed, 19 deletions(-) delete mode 100644 barcode-reader/server/archive/unable-to-scan-aztec-code.md diff --git a/barcode-reader/server/archive/unable-to-scan-aztec-code.md b/barcode-reader/server/archive/unable-to-scan-aztec-code.md deleted file mode 100644 index 98f086a..0000000 --- a/barcode-reader/server/archive/unable-to-scan-aztec-code.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -layout: default-layout -title: Why am I unable to scan an Aztec code in the helloworld sample? -keywords: Dynamsoft Barcode Reader, FAQ, tech basic, hello world sample, aztec code -description: Why am I unable to scan an Aztec code in the helloworld sample? -needAutoGenerateSidebar: false ---- - -# Why am I unable to scan an Aztec code in the helloworld sample? - -The reason for this is that the JavaScript edition defaults to the `compact engine`, rather than the `full engine`. The compact engine currently only supports `1D`, `QR`, `PDF417`, and `DataMatrix` codes. - -To switch to the full engine, please call the following before creating the `BarcodeReader/BarcodeScanner` instance: - -```javascript -Dynamsoft.DBR.BarcodeScanner._bUseFullFeature = true; -``` diff --git a/barcode-reader/server/configuration/index.md b/barcode-reader/server/configuration/index.md index 932922e..da3334f 100644 --- a/barcode-reader/server/configuration/index.md +++ b/barcode-reader/server/configuration/index.md @@ -13,7 +13,6 @@ noTitleIndex: true - [How to create custom settings template?](custom-settings-template.html) - [How to enable DPM?](how-to-enable-dpm.html) - [How can I sort the barcodes of my image in reading order?](sort-barcodes-image.html) -- [Unable to scan Aztec code](../archive/unable-to-scan-aztec-code.html) - [How to handle non-English characters?](non-english-characters.html) - [The error message "-10022 The PDF DLL is missing" on Linux?](error-10022-the-PDF-DLL-is-missing.html) - [How to resolve error failed to read or write license buffer?](error-license-buffer.html) \ No newline at end of file diff --git a/barcode-reader/web/configuration/index.md b/barcode-reader/web/configuration/index.md index 1f0b5f3..58bf595 100644 --- a/barcode-reader/web/configuration/index.md +++ b/barcode-reader/web/configuration/index.md @@ -21,5 +21,4 @@ noTitleIndex: true - [Read from existing files](read-from-existing-files.html) - [Scan US driver's license](scan-US-drivers-license.html) - [Upgrade old to new version](upgrade-old-to-new.html) -- [Use of onFrameRead and onUnduplicateRead](../archive/use-of-onFrameRead-and-onUnduplicateRead.html) - [Ways to copy DBR-JS deployable files](ways-to-copy-dbr-js-deployable-files.html) From 89d53d01a0e876e88c4d94edc4459c3cf42ab703 Mon Sep 17 00:00:00 2001 From: lyzhang0113 Date: Tue, 4 Aug 2026 17:04:01 +0800 Subject: [PATCH 2/2] Exclude archived FAQ directories from the Jekyll build barcode-reader/{mobile,server,web}/archive/ hold historical, version-pinned content (e.g. v9.6.40, v10.4.2000 snapshots) that's no longer linked from any live index or sidebar. Excluding them from the build means they're kept in the repo for reference but are no longer built, hosted, or listed in sitemap.xml. Verified locally with `jekyll build`: the three directories are absent from the generated _site output and from sitemap.xml, and the two edited index pages (server/configuration, web/configuration) render with no dangling references. Co-Authored-By: Claude Sonnet 5 --- _config.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/_config.yml b/_config.yml index 6e3d8ba..5360564 100644 --- a/_config.yml +++ b/_config.yml @@ -34,6 +34,13 @@ sad_icon: /faq/assets/img-icon/icon-sad.png plugins: - jekyll-sitemap +# Archived, version-pinned FAQ content. Kept in the repo for reference, +# but not built/hosted on the live site and not listed in sitemap.xml. +exclude: + - barcode-reader/mobile/archive + - barcode-reader/server/archive + - barcode-reader/web/archive + defaults: - scope: path: ""