Skip to content

Conversation

@dfcoffin
Copy link

@dfcoffin dfcoffin commented Feb 8, 2026

Summary

  • Removes unsupported theme.logo configuration from redocly.yaml that was causing warnings in Redocly CLI 2.16.0
  • Fixes npm start command to use correct redocly preview syntax
  • Eliminates 2 build warnings during local development

Changes

  • redocly.yaml: Removed theme.logo.image and theme.logo.link properties (not supported in CLI 2.16.0)
  • package.json: Updated start script from redocly preview-docs to redocly preview openapi/openapi.yaml

Impact

  • ✅ Zero build warnings when running npm start
  • ✅ Logo still displays correctly (via HTML template in docs/index.html)
  • ✅ No visual changes to deployed documentation
  • ✅ GitHub Pages deployment unaffected (uses npm run build which is unchanged)

Test Plan

  • Verify npm start runs without warnings
  • Confirm both Redocly and Swagger UI servers start correctly
  • Check logo still appears in HTML documentation
  • Validate OpenAPI spec passes linting

🤖 Generated with Claude Code

- Remove theme.logo.image and theme.logo.link from redocly.yaml
  (these properties are not supported in Redocly CLI 2.16.0)
- Fix npm start command to use 'redocly preview' instead of deprecated
  'redocly preview-docs'
- Eliminates 2 build warnings during local development
- Logo still appears via HTML template in docs/index.html

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@dfcoffin dfcoffin merged commit aeab580 into main Feb 8, 2026
2 checks passed
@dfcoffin dfcoffin deleted the fix/remove-logo-warnings branch February 8, 2026 00:54
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