feat: add GBA logos to Redocly and Swagger UI documentation#10
Merged
Conversation
- Add GBA logo (300px) to docs/ folder for inclusion in built documentation - Update favicon.png with GBA logo (250px) for browser tabs - Inject GBA logo into Redocly sidebar with fixed positioning - Add GBA logo to Swagger UI topbar using ::before pseudo-element - Update build-swagger.js to copy logo files to dist/ and dist/swagger/ - Logos are sourced from repository, not external URLs - Responsive design: logo adjusts for mobile viewports Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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.
Summary
Adds Green Button Alliance logos to both Redocly and Swagger UI documentation pages. Logos are sourced from the repository for reliability, performance, and offline development support.
Changes
Logo Assets
docs/logo.png(300px) - Main logo for documentation displaydocs/favicon.png(250px) - Browser tab icon with GBA logoRedocly Documentation
Swagger UI
::beforepseudo-elementBuild Process
scripts/build-swagger.jsto copy logos todist/anddist/swagger/Technical Implementation
Redocly CSS:
Swagger UI CSS:
Advantages
✅ Reliability - No dependency on external CDNs or URLs
✅ Performance - No external HTTP requests, faster load times
✅ Offline Development - Works without internet connection
✅ Version Control - Logo changes tracked in git
✅ Consistency - Same logo across all environments
✅ GitHub Pages Compatible - Served from same domain as docs
Testing
/logo.png(HTTP 200)/swagger/logo.png(HTTP 200)Preview
After merging, the logos will appear on:
Files Changed
🤖 Generated with Claude Code