Skip to content

Oxygen template: logo, no print button/footer, hide 7 Questions for instructor, .glc launcher - #201

Merged
IanMayo merged 1 commit into
mainfrom
claude/compassionate-hypatia-el5kdn
Oct 2, 2026
Merged

IanMayo merged 1 commit into
mainfrom
claude/compassionate-hypatia-el5kdn

Conversation

@IanMayo

@IanMayo IanMayo commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Closes #196, closes #197, closes #198, closes #199, closes #200.

Changes

Issue Fix
#196 logo Stock webhelp.logo.image parameter in pptx-transform.opt, type="filePath" (resolved relative to the template). The placeholder image (Fi3ldMan pub-5 image020.png) is in theme/oxygen-logo/.
#197 print button webhelp.show.print.link=no, plus a CSS fallback (theme/oxygen-chrome-trim/).
#200 "Generated by Oxygen" footer webhelp.footer.include=no, with the same CSS fallback. The protective-marking footer is a separate element and isn't affected. Instructions for the target network are in theme/oxygen-chrome-trim/README.md. You can either set the two scenario parameters locally (no transfer) or install the updated template.
#198 7 Questions on instructor pages Root cause: the Oxygen instructor scenario runs with no DITAVAL, so the existing audience="student-only" tag is never filtered out. The search-flag marker now also emits wh-edition-instructor / wh-edition-student. A new student-only.css uses it to hide .seven-questions and its gram-nav jump link on instructor pages. No re-tagging needed.
#199 .glc opens as text theme/glc-launch/: on pages opened from a drive or share (file://), JS rewrites each WAV .glc link to glc:<full Windows path> and adds a Copy path button that shows the path (to paste into Win+R). client/ holds a per-user glc: handler (a .reg file plus a PowerShell launcher), installed once per PC. The launcher only opens existing .glc files, through their file association. The .glc opens where it's published, so its relative .wav still resolves. sync.py skips client/.

Docs: README operator section, CLAUDE.md overlay list, and a README for each overlay. Tests: test_package_release.py now checks the new parameters, CSS order, the glc fragment, the edition markers and the packaged client files.

Validation

  • python -m unittest discover tests/: 523 tests pass (2 skipped).
  • I ran the JS path logic in node against drive-letter, UNC, spaced and ../ hrefs.

Risks / needs a manual Oxygen publish (no local WebHelp licence)

  • type="filePath" on webhelp.logo.image, and the placeholder name webhelp.fragment.after.topic.content, come from Oxygen's documented features but haven't been checked in a real publish.
  • The glc: handler runs PowerShell with -ExecutionPolicy Bypass. Group policy may block it; Copy path is the fallback. Any web page can trigger a glc: link, so the launcher refuses anything that isn't an existing .glc file.
  • Pages served over http(s) are left unchanged. This only works when the pages are opened from a mapped drive or share.
  • The committed demo/oxygen-sample/published/ builds need an Oxygen republish to show the new parameters.

🤖 Generated with Claude Code

https://claude.ai/code/session_01MEMWFFUqqy3KcvGhdY9tuk


Generated by Claude Code

…or, glc launcher

- #196: corporate logo via stock webhelp.logo.image (template-relative
  filePath), placeholder image in theme/oxygen-logo/.
- #197/#200: webhelp.show.print.link=no and webhelp.footer.include=no,
  with a CSS fallback in theme/oxygen-chrome-trim/.
- #198: the search-flag marker now also names the edition; new
  theme/oxygen-student-only/ hides the 7 Questions section and jump link
  on instructor pages published with no DITAVAL.
- #199: theme/glc-launch/ rewrites WAV .glc links (file:// pages only) to
  glc:<full Windows path> plus a Copy-path fallback; client/ ships a
  per-user glc: URL handler (.reg + PowerShell launcher) that opens only
  existing .glc files. sync.py skips client/.

Closes #196, closes #197, closes #198, closes #199, closes #200

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MEMWFFUqqy3KcvGhdY9tuk
github-actions Bot added a commit that referenced this pull request Oct 2, 2026
@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

📄 DITA-OT preview — full corpus, rebuilt from source/ on every push:

It carries no stylesheet — that is deliberate. It is here to check content, filtering and structure.

🎨 Oxygen sample — the design surface, and the only place theme changes are visible:

Nine gram pages from demo/oxygen-sample/, served from the committed build — Oxygen is a licensed desktop publisher and cannot run on the runner. It only moves when someone republishes by hand and commits, so on a PR that changes theme/ but not that tree, this shows the old design.

Rebuilt on every push to this PR; removed when the PR closes. (May take a minute for GitHub Pages to refresh.)

@IanMayo
IanMayo merged commit 45d8cc7 into main Oct 2, 2026
4 checks passed
@IanMayo
IanMayo deleted the claude/compassionate-hypatia-el5kdn branch October 2, 2026 13:00
github-actions Bot added a commit that referenced this pull request Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants