Repository navigation
Oxygen template: logo, no print button/footer, hide 7 Questions for instructor, .glc launcher - #201
Merged
Merged
Conversation
…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
Contributor
|
📄 DITA-OT preview — full corpus, rebuilt from
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 Rebuilt on every push to this PR; removed when the PR closes. (May take a minute for GitHub Pages to refresh.) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #196, closes #197, closes #198, closes #199, closes #200.
Changes
webhelp.logo.imageparameter inpptx-transform.opt,type="filePath"(resolved relative to the template). The placeholder image (Fi3ldMan pub-5image020.png) is intheme/oxygen-logo/.webhelp.show.print.link=no, plus a CSS fallback (theme/oxygen-chrome-trim/).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 intheme/oxygen-chrome-trim/README.md. You can either set the two scenario parameters locally (no transfer) or install the updated template.audience="student-only"tag is never filtered out. The search-flag marker now also emitswh-edition-instructor/wh-edition-student. A newstudent-only.cssuses it to hide.seven-questionsand its gram-nav jump link on instructor pages. No re-tagging needed..glcopens as texttheme/glc-launch/: on pages opened from a drive or share (file://), JS rewrites each WAV.glclink toglc:<full Windows path>and adds a Copy path button that shows the path (to paste into Win+R).client/holds a per-userglc:handler (a.regfile plus a PowerShell launcher), installed once per PC. The launcher only opens existing.glcfiles, through their file association. The.glcopens where it's published, so its relative.wavstill resolves.sync.pyskipsclient/.Docs: README operator section, CLAUDE.md overlay list, and a README for each overlay. Tests:
test_package_release.pynow 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).../hrefs.Risks / needs a manual Oxygen publish (no local WebHelp licence)
type="filePath"onwebhelp.logo.image, and the placeholder namewebhelp.fragment.after.topic.content, come from Oxygen's documented features but haven't been checked in a real publish.glc:handler runs PowerShell with-ExecutionPolicy Bypass. Group policy may block it; Copy path is the fallback. Any web page can trigger aglc:link, so the launcher refuses anything that isn't an existing.glcfile.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