Redocly / redoc

📘 OpenAPI/Swagger-generated API Reference Documentation
https://redocly.github.io/redoc/
MIT License
23.36k stars 2.29k forks source link

hideRightPanel configuration does not have any effect #2566

Open lcdunne opened 2 months ago

lcdunne commented 2 months ago

I am trying out redocly via the cli. I was testing out some of the configurations and noticed that the hideRightPanel option does not seem to have any effect.

To reproduce: create a redocly.yaml:

theme:
  openapi:
    disableSearch: true
    hideRightPanel: true

Then run redocly build-docs openapi.yaml and view the resulting html page

I was expecting the entire right panel to disappear but it did not. The configuration appears to be correct as the disableSearch works, and there are no errors or warnings in the terminal.

I'm using redocly version 1.18.1 and node v20.10.0.

tatomyr commented 2 months ago

Redocly CLI correctly resolves the config. It looks like that's related to Redoc itself. Transferring there.