Redocly API Block - No Sidebar

Display the Redocly API Block without the left sidebar navigation, providing a streamlined, full-width documentation view.

Overview

By default, the Redocly API Block shows a left sidebar with navigation (disableSidebar: false). Setting disableSidebar to true or using the disableSidebar attribute removes the left navigation panel that typically shows API endpoints and tags. This is useful for:

Syntax

<RedoclyAPIBlock src="path/to/openapi.yaml" disableSidebar />

Parameters

Example

data-src=../../assets/openapi.yaml
data-disableSidebar=