Repository navigation
#436 Doc-site polish: dark default, SVG pan/zoom lightbox, GA4 + ship sibling XML docs in Typhon bundle - #469
Merged
Merged
Conversation
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.
Fast-follow to #468 (which shipped the doc site at doc.typhondb.io). Part of epic #436.
What
doc/templates/typhon/public/main.css+main.jssetdefaultTheme: 'dark'to match the dark-only typhondb.io apex; the switcher still works. Orange accent carried into both themes with AA-safe link colors (light#c26900, dark#ff8c00).svg-pan-zoom(viewBox/matrix, crisp at any zoom), instead of navigating to the raw.svg. Raster images get a plain bitmap zoom. This is what actually fixes the "opening an SVG gives no pan/zoom" issue — it was not live before this PR._googleAnalyticsTagId: "G-NJ9FF28G41"indoc/docfx.json; the modern template injects the canonicalgtag.jsloader + config into every page<head>at build time (no template/JS edit). Verified present across landing / api / tools / demos / generated type pages.TyphonNuGet bundle —Typhon.Engine.csprojnow packsTyphon.Profiler/Typhon.Protocol/Typhon.Schema.Definition.xmlalongside their DLLs, so inline IntelliSense works for the whole bundled surface, not justTyphon.Engine.PACKAGE.mdlinks point to doc.typhondb.io + typhondb.io.scripts/build-docs.ps1— native PowerShell twin ofbuild-docs.shfor local Windows builds (no Git Bash / WSL needed). CI continues to use the.shon Linux; the two are kept in lockstep.Verification
build-docs.ps1 Debug→ 0 errors, 22 known warnings; gtag snippet confirmed in generated_sitepages.doc/templates/typhon/public/vendor/svg-pan-zoom.LICENSE.txt(© Andrea Leofreddi) — closes the one redistribution-compliance gap for the vendored minified file.main(post-#440 Documentation site (doc.typhondb.io): DocFX build, CI deploy, brand theme #468 squash) → diff is exactly these 9 files, nothing already-merged.Follow-up (post-merge)
build-docs.ymldeploys, verify GA via GA4 → Reports → Realtime against https://doc.typhondb.io/.🤖 Generated with Claude Code
https://claude.ai/code/session_016LWhJqY8FJznYVBjL6uPas