From 7a856708215b12427883f71fc4c09c2ab1fbe42e Mon Sep 17 00:00:00 2001 From: Donald Coffin Date: Sat, 7 Feb 2026 19:41:16 -0500 Subject: [PATCH] fix: remove unsupported logo config and fix preview command - 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 --- package.json | 2 +- redocly.yaml | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/package.json b/package.json index bf85cee..abbb1bf 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ }, "private": true, "scripts": { - "start": "redocly preview-docs", + "start": "redocly preview openapi/openapi.yaml", "start:swagger": "npx http-server dist -p 8081", "build": "npm run build:redocly && npm run build:swagger", "build:redocly": "redocly build-docs openapi/openapi.yaml -o dist/index.html", diff --git a/redocly.yaml b/redocly.yaml index 6dc876c..9a95ba1 100644 --- a/redocly.yaml +++ b/redocly.yaml @@ -16,9 +16,6 @@ rules: openapi: htmlTemplate: ./docs/index.html theme: - logo: - image: ./logo.png - link: https://www.greenbuttonalliance.org/ colors: primary: main: "#10a54a" # Green Button green