Skip to content

docs(help): CI guard + image checks, remove stale HTML, de-dup, drop junk folder - #170

Merged
ddehilster merged 1 commit into
VisualText:mainfrom
ddehilster:docs/help-maintenance
Jun 25, 2026
Merged

ddehilster merged 1 commit into
VisualText:mainfrom
ddehilster:docs/help-maintenance

Conversation

@ddehilster

Copy link
Copy Markdown
Member

Summary

Documentation-maintenance batch — the five follow-up suggestions, done together.

1. CI guard (.github/workflows/check-help-docs.yml)

Runs Help/check-help-docs.ps1 on every PR/push touching Help/ (on windows-latest, matching the script's path logic). Fails the build on broken .md links, broken image links, or table/index drift — so none of the prior cleanup can silently regress.

5. Guard script: image checking

Added broken-image-link detection to the gating path, plus a -Images mode that lists orphaned image assets (on disk, referenced by no page). (-Stubs from before still lists empty doc sections.)

2. Removed the stale CHM/HTML build tree under Help/helps/

Deleted the 561 .htm plus the .html/.css/.hhc/.hhk/.js/.xml/.glo/.brs CHM artifacts. Kept all 480 image assets — the markdown references them via ../helps/…, so the folder is the live image store, not just dead HTML.

3. De-duplicated debug / fail

Each existed twice (flat + under Functions/) and had diverged. Merged the PRE-action accuracy into the flat debug.md, added the CHECK-Actions link to fail.md, repointed every reference (index, exitpass, or, succeed) to the flat copies, and removed the Functions/ folder.

4. Removed Possibly_JUNK/

NLP++.md was explicitly marked "slated for removal" (and is superseded by the NLP++ section); Basic_steps… is a legacy desktop-GUI walkthrough. Removed both and their index entries.

Validation

check-help-docs.ps1: 0 broken links, 0 broken images, 0 table/index drift.

Follow-up the new tooling surfaced

-Images reports 131 orphaned image assets — almost entirely desktop-UI screenshots (helps/VisualText_Interface/Popups, Menus, Toolbars, Tools, Toolbar_buttons…) orphaned when the desktop-UI pages were removed. Left out of this PR as a separate decision; happy to purge them next.

🤖 Generated with Claude Code

…junk folder

Maintenance batch (stacked on the desktop-UI prune):

#1 CI: add .github/workflows/check-help-docs.yml running check-help-docs.ps1
   on PRs/pushes touching Help/ (windows-latest); fails on broken .md links,
   broken image links, or table/index drift.

VisualText#5 Guard script: add broken-image-link checking to the gating path and a
   -Images mode that lists orphaned image assets (referenced by no page).

#2 Remove the stale CHM/HTML build tree under Help/helps/ (561 .htm plus
   .html/.css/.hhc/.hhk/.js/.xml/.glo/.brs). KEPT all 480 image assets, which
   the markdown references via ../helps/.

#3 De-duplicate debug/fail: the flat pages and the Functions/ copies had
   diverged. Merged the PRE-action accuracy into flat debug.md, added the
   CHECK Actions link to fail.md, repointed all references (index, exitpass,
   or, succeed) to the flat copies, and removed the Functions/ folder.

#4 Remove the Possibly_JUNK/ folder: NLP++.md was explicitly marked "slated
   for removal" and is superseded by the NLP++ section; Basic_steps... is a
   legacy desktop-GUI walkthrough. Removed both and their index entries.

Verified: check-help-docs.ps1 reports 0 broken links, 0 broken images,
0 table/index drift. Note: -Images surfaces 131 orphaned image assets (mostly
desktop-UI screenshots orphaned by the page prune) -- left for a follow-up.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ddehilster
ddehilster merged commit 7823457 into VisualText:main Jun 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant