Skip to content

Commit 1ca9b85

Browse files
Help: fix stale "Raw Output" TOC entry → "Analysis"
The user-guide chrome in scripts/generate-help.js hardcoded the old tab set. The §3.4 table-of-contents link still read "Raw Output" pointing at #3-4-raw-output (a dead anchor — the body heading is #3-4-analysis), and the app-mockup SVG tab strip still labelled the fourth tab "Raw Output". Both are stale: the tab was replaced by "Analysis" (see lib/tabs.js). Updated both hardcoded spots in the generator and regenerated help.html. MANUAL.md's own TOC was already correct; this only touched the generator's page chrome (TOC + diagram), which is not derived from MANUAL.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XTfq9wJh9ZWT1fTN62LkDN
1 parent 053cd39 commit 1ca9b85

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

frontend/public/help.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ <h1>ICC Profile Tool — User Manual</h1>
8080
<li><a href="#3-1-header">Header</a></li>
8181
<li><a href="#3-2-tags">Tags</a></li>
8282
<li><a href="#3-3-validation">Validation</a></li>
83-
<li><a href="#3-4-raw-output">Raw Output</a></li>
83+
<li><a href="#3-4-analysis">Analysis</a></li>
8484
<li><a href="#3-5-xml">XML</a></li>
8585
<li><a href="#3-6-json">JSON</a></li>
8686
</ol>
@@ -141,7 +141,7 @@ <h2 id="1-loading-a-profile">1. Loading a profile</h2>
141141
.diag text.tA { fill:var(--txA); font-weight:bold; }
142142
.diag text.mono { font-family:ui-monospace,Menlo,Consolas,monospace; }
143143
</style>
144-
<rect x="0" y="0" width="780" height="420" rx="0" class="bg"/><rect x="30" y="10" width="640" height="400" rx="8" class="pnl"/><text x="50" y="36" text-anchor="start" class="tT">ICC Profile Tool</text><text x="50" y="60" text-anchor="start" class="t3">Upload an ICC profile to validate it against the ICC.1 specification</text><text x="50" y="74" text-anchor="start" class="t3">using the iccDEV reference implementation.</text><line x1="50" y1="84" x2="650" y2="84" class="div"/><rect x="50" y="96" width="110" height="22" rx="4" class="act"/><text x="105" y="111" text-anchor="middle" class="tW tB">Save ICC profile</text><rect x="166" y="96" width="100" height="22" rx="4" class="btn"/><text x="216" y="111" text-anchor="middle" class="t2">Load another</text><rect x="274" y="100" width="130" height="16" rx="3" class="lnbd"/><text x="339" y="112" text-anchor="middle" class="tA">● Modified — unsaved</text><rect x="50" y="130" width="600" height="260" rx="6" class="pnl"/><rect x="50" y="130" width="600" height="28" rx="6" class="sec"/><text x="60" y="148" text-anchor="start" class="tB mono">sample-cmyk.icc</text><text x="180" y="148" text-anchor="start" class="t3">· 488 bytes · IccProfLib 2.3.1</text><rect x="590" y="136" width="50" height="16" rx="3" class="green"/><text x="615" y="148" text-anchor="middle" class="tW tB">VALID</text><line x1="60" y1="188" x2="120" y2="188" stroke="var(--act)" stroke-width="3"/><text x="90" y="178" text-anchor="middle" class="tA">Header</text><text x="161" y="178" text-anchor="middle" class="t2">Tags</text><rect x="174" y="167" width="20" height="12" rx="6" class="act"/><text x="184" y="177" text-anchor="middle" class="tW">14</text><text x="241" y="178" text-anchor="middle" class="t2">Validation</text><text x="325" y="178" text-anchor="middle" class="t2">Raw Output</text><text x="395" y="178" text-anchor="middle" class="t2">XML</text><text x="451" y="178" text-anchor="middle" class="t2">JSON</text><line x1="50" y1="190" x2="650" y2="190" class="div"/><rect x="60" y="202" width="580" height="24" rx="4" class="sec"/><text x="70" y="217" text-anchor="start" class="t3 tB">PROFILE ID</text><text x="150" y="217" text-anchor="start" class="tA mono">9efa8dc6c12f4e0b8b3a04e6c5a6e51c</text><rect x="60" y="230" width="580" height="18" rx="0" class="sec"/><text x="70" y="242" text-anchor="start" class="t3">Profile Class</text><text x="250" y="242" text-anchor="start" class="t2">Output Profile</text><text x="70" y="260" text-anchor="start" class="t3">Data Color Space</text><text x="250" y="260" text-anchor="start" class="t2">CMYK</text><rect x="60" y="266" width="580" height="18" rx="0" class="sec"/><text x="70" y="278" text-anchor="start" class="t3">PCS</text><text x="250" y="278" text-anchor="start" class="t2">Lab</text><text x="70" y="296" text-anchor="start" class="t3">Profile Version</text><text x="250" y="296" text-anchor="start" class="t2">4.30.00</text><rect x="60" y="302" width="580" height="18" rx="0" class="sec"/><text x="70" y="314" text-anchor="start" class="t3">Rendering Intent</text><text x="250" y="314" text-anchor="start" class="t2">Perceptual</text><text x="70" y="332" text-anchor="start" class="t3">Creation Date</text><text x="250" y="332" text-anchor="start" class="t2">2025-08-14 10:24:09 UTC</text><rect x="60" y="338" width="580" height="18" rx="0" class="sec"/><text x="70" y="350" text-anchor="start" class="t3">Cmm</text><text x="250" y="350" text-anchor="start" class="t2">Adobe ACMS</text><text x="70" y="368" text-anchor="start" class="t3">Platform</text><text x="250" y="368" text-anchor="start" class="t2">Apple</text><rect x="700" y="10" width="6" height="400" rx="0" class="pnl"/><rect x="706" y="30" width="38" height="34" rx="5" class="btn"/><text x="725" y="51" text-anchor="middle" class="t2 tB"></text><rect x="706" y="70" width="38" height="34" rx="5" class="btn"/><text x="725" y="91" text-anchor="middle" class="t2 tB">?</text><rect x="706" y="110" width="38" height="34" rx="5" class="btn"/><text x="725" y="131" text-anchor="middle" class="t2"></text><line x1="105" y1="111" x2="105" y2="88" stroke="var(--tx3)" stroke-width="1" stroke-dasharray="3,2"/>
144+
<rect x="0" y="0" width="780" height="420" rx="0" class="bg"/><rect x="30" y="10" width="640" height="400" rx="8" class="pnl"/><text x="50" y="36" text-anchor="start" class="tT">ICC Profile Tool</text><text x="50" y="60" text-anchor="start" class="t3">Upload an ICC profile to validate it against the ICC.1 specification</text><text x="50" y="74" text-anchor="start" class="t3">using the iccDEV reference implementation.</text><line x1="50" y1="84" x2="650" y2="84" class="div"/><rect x="50" y="96" width="110" height="22" rx="4" class="act"/><text x="105" y="111" text-anchor="middle" class="tW tB">Save ICC profile</text><rect x="166" y="96" width="100" height="22" rx="4" class="btn"/><text x="216" y="111" text-anchor="middle" class="t2">Load another</text><rect x="274" y="100" width="130" height="16" rx="3" class="lnbd"/><text x="339" y="112" text-anchor="middle" class="tA">● Modified — unsaved</text><rect x="50" y="130" width="600" height="260" rx="6" class="pnl"/><rect x="50" y="130" width="600" height="28" rx="6" class="sec"/><text x="60" y="148" text-anchor="start" class="tB mono">sample-cmyk.icc</text><text x="180" y="148" text-anchor="start" class="t3">· 488 bytes · IccProfLib 2.3.1</text><rect x="590" y="136" width="50" height="16" rx="3" class="green"/><text x="615" y="148" text-anchor="middle" class="tW tB">VALID</text><line x1="60" y1="188" x2="120" y2="188" stroke="var(--act)" stroke-width="3"/><text x="90" y="178" text-anchor="middle" class="tA">Header</text><text x="161" y="178" text-anchor="middle" class="t2">Tags</text><rect x="174" y="167" width="20" height="12" rx="6" class="act"/><text x="184" y="177" text-anchor="middle" class="tW">14</text><text x="241" y="178" text-anchor="middle" class="t2">Validation</text><text x="325" y="178" text-anchor="middle" class="t2">Analysis</text><text x="395" y="178" text-anchor="middle" class="t2">XML</text><text x="451" y="178" text-anchor="middle" class="t2">JSON</text><line x1="50" y1="190" x2="650" y2="190" class="div"/><rect x="60" y="202" width="580" height="24" rx="4" class="sec"/><text x="70" y="217" text-anchor="start" class="t3 tB">PROFILE ID</text><text x="150" y="217" text-anchor="start" class="tA mono">9efa8dc6c12f4e0b8b3a04e6c5a6e51c</text><rect x="60" y="230" width="580" height="18" rx="0" class="sec"/><text x="70" y="242" text-anchor="start" class="t3">Profile Class</text><text x="250" y="242" text-anchor="start" class="t2">Output Profile</text><text x="70" y="260" text-anchor="start" class="t3">Data Color Space</text><text x="250" y="260" text-anchor="start" class="t2">CMYK</text><rect x="60" y="266" width="580" height="18" rx="0" class="sec"/><text x="70" y="278" text-anchor="start" class="t3">PCS</text><text x="250" y="278" text-anchor="start" class="t2">Lab</text><text x="70" y="296" text-anchor="start" class="t3">Profile Version</text><text x="250" y="296" text-anchor="start" class="t2">4.30.00</text><rect x="60" y="302" width="580" height="18" rx="0" class="sec"/><text x="70" y="314" text-anchor="start" class="t3">Rendering Intent</text><text x="250" y="314" text-anchor="start" class="t2">Perceptual</text><text x="70" y="332" text-anchor="start" class="t3">Creation Date</text><text x="250" y="332" text-anchor="start" class="t2">2025-08-14 10:24:09 UTC</text><rect x="60" y="338" width="580" height="18" rx="0" class="sec"/><text x="70" y="350" text-anchor="start" class="t3">Cmm</text><text x="250" y="350" text-anchor="start" class="t2">Adobe ACMS</text><text x="70" y="368" text-anchor="start" class="t3">Platform</text><text x="250" y="368" text-anchor="start" class="t2">Apple</text><rect x="700" y="10" width="6" height="400" rx="0" class="pnl"/><rect x="706" y="30" width="38" height="34" rx="5" class="btn"/><text x="725" y="51" text-anchor="middle" class="t2 tB"></text><rect x="706" y="70" width="38" height="34" rx="5" class="btn"/><text x="725" y="91" text-anchor="middle" class="t2 tB">?</text><rect x="706" y="110" width="38" height="34" rx="5" class="btn"/><text x="725" y="131" text-anchor="middle" class="t2"></text><line x1="105" y1="111" x2="105" y2="88" stroke="var(--tx3)" stroke-width="1" stroke-dasharray="3,2"/>
145145
<text x="105" y="85" text-anchor="end" class="t3">Toolbar</text><line x1="615" y1="148" x2="615" y2="128" stroke="var(--tx3)" stroke-width="1" stroke-dasharray="3,2"/>
146146
<text x="615" y="125" text-anchor="end" class="t3">Validity badge</text><line x1="180" y1="177" x2="570" y2="166" stroke="var(--tx3)" stroke-width="1" stroke-dasharray="3,2"/>
147147
<text x="570" y="163" text-anchor="start" class="t3">Tabs · count badge on Tags</text><line x1="725" y1="51" x2="690" y2="51" stroke="var(--tx3)" stroke-width="1" stroke-dasharray="3,2"/>

scripts/generate-help.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,10 @@ function diag_layout() {
131131

132132
// Tab strip
133133
const TY = VY+28;
134-
const tabs = [['Header', true], ['Tags', false], ['Validation', false], ['Raw Output', false], ['XML', false], ['JSON', false]];
134+
const tabs = [['Header', true], ['Tags', false], ['Validation', false], ['Analysis', false], ['XML', false], ['JSON', false]];
135135
let tx = CX+30;
136136
for (const [label, active] of tabs) {
137-
const tw = label === 'Header' ? 60 : label === 'Validation' || label === 'Raw Output' ? 78 : label === 'Tags' ? 70 : 50;
137+
const tw = label === 'Header' ? 60 : label === 'Validation' || label === 'Analysis' ? 78 : label === 'Tags' ? 70 : 50;
138138
if (active) {
139139
b += `<line x1="${tx}" y1="${TY+30}" x2="${tx+tw}" y2="${TY+30}" stroke="var(--act)" stroke-width="3"/>`;
140140
b += T(tx + tw/2, TY+20, label, 'tA');
@@ -405,7 +405,7 @@ ${intro}
405405
<li><a href="#3-1-header">Header</a></li>
406406
<li><a href="#3-2-tags">Tags</a></li>
407407
<li><a href="#3-3-validation">Validation</a></li>
408-
<li><a href="#3-4-raw-output">Raw Output</a></li>
408+
<li><a href="#3-4-analysis">Analysis</a></li>
409409
<li><a href="#3-5-xml">XML</a></li>
410410
<li><a href="#3-6-json">JSON</a></li>
411411
</ol>

0 commit comments

Comments
 (0)