by adom
0402 SMD Red LED · 2.1 V drop · 25 mA max
← Commit history
Point the datasheet buttons at the release-asset download and the publisher copy, now that the PDF has left the repo to drop the duplicate native Datasheet section
2 files changed
+19−11
README.html+2−2@@ -3773,8 +3773,8 @@ var META={"pasteApertures":2,"pasteDots":2}; </div> <div class="ds-foot"> <span class="pageno">Page <b id="ds-page">1</b> / 14</span>- <a class="btn" href="https://wiki.adom.inc/blob/component/in-s42atr/ds/IN-S42ATR-datasheet.pdf" target="_blank" rel="noopener">Open PDF ↗</a>- <a class="btn" href="https://wiki.adom.inc/blob/component/in-s42atr/ds/IN-S42ATR-datasheet.pdf" download>Download PDF</a>+ <a class="btn" href="https://wiki.adom.inc/download/aravk/in-s42atr/1.0.0/IN-S42ATR-datasheet.pdf" download>Download PDF</a>+ <a class="btn" href="https://www.inolux-corp.com/datasheet/SMDLED/Mono%20Color%20Top%20View/IN-S42AT%20Series_V1.1.pdf" target="_blank" rel="noopener">Read at Inolux ↗</a> <span>Retrieved 10 August 2026 from <a href="https://www.inolux-corp.com/datasheet/SMDLED/Mono%20Color%20Top%20View/IN-S42AT%20Series_V1.1.pdf" target="_blank" rel="noopener">inolux-corp.com</a>, byte-identical to the publisher's copy —
README.md+17−9@@ -56,25 +56,33 @@ and byte-identical to the publisher's copy — `md5 0bfcecda84d3ef15fc6776f3c429 The embedded copy on the page is a strip of WebP page images in `ds/`, not the PDF itself: a sandboxed browsing context may not instantiate the browser's PDF viewer, and the README-CSP sets `object-src 'none'`. The PDF is one click away via Open / Download.+CSP sets `object-src 'none'`. The PDF is one click away — **Download PDF** for the archived+copy, **Read at Inolux** to open it in-browser (the release asset is served+`content-disposition: attachment`, so it can only download). -The PDF lives at `ds/IN-S42ATR-datasheet.pdf`, **not** at the repo root. The wiki generates-a native "Datasheet" section from any root-level PDF — `metadata.has_datasheet` and-`datasheet_path` are computed by a repo scan and there is no manifest opt-out — which-duplicated the datasheet this README already embeds. Keeping it under `ds/` suppresses that-section without giving up the file.+The PDF is a **release asset**, not a file in this repo:+[download it](https://wiki.adom.inc/download/aravk/in-s42atr/1.0.0/IN-S42ATR-datasheet.pdf)+(`sha256 0ec2cca7d951c192472319d418649c2b6c7fdd21e6c4b7609c2a866781ff2dbe`). -Regenerate the page images with:+That is deliberate. The wiki generates a native "Datasheet" section whenever the repo+contains a PDF — `metadata.has_datasheet` / `datasheet_path` are computed by a **recursive**+scan with no manifest opt-out — which duplicated the datasheet this README already embeds.+Measured 2026-08-10: moving the file to `ds/` did not help (the path just followed it), and+neither did renaming it away from "datasheet" (a probe named `IN-S42ATR-source-document.pdf`+was picked up just the same). Any PDF anywhere in the repo triggers it, so keeping the repo+PDF-free is the only way to drop the duplicate.++Regenerate the page images with (fetch the release asset first): ```bash-python3 gen/render_datasheet_pages.py ds/IN-S42ATR-datasheet.pdf ds+python3 gen/render_datasheet_pages.py IN-S42ATR-datasheet.pdf ds ``` ## Downloads | File | Description | |------|-------------|-| [IN-S42ATR-datasheet.pdf](/blob/component/in-s42atr/ds/IN-S42ATR-datasheet.pdf) | Datasheet (V1.1) |+| [IN-S42ATR-datasheet.pdf](https://wiki.adom.inc/download/aravk/in-s42atr/1.0.0/IN-S42ATR-datasheet.pdf) | Datasheet (V1.1) — release asset | | [IN-S42ATR.kicad_sym](/blob/component/in-s42atr/IN-S42ATR.kicad_sym) | KiCad Symbol | | [IN-S42ATR.kicad_mod](/blob/component/in-s42atr/IN-S42ATR.kicad_mod) | KiCad Footprint | | [IN-S42ATR.step](/blob/component/in-s42atr/IN-S42ATR.step) | 3D STEP Model |