mirror of
https://github.com/mintlify/docs.git
synced 2026-09-14 13:35:46 +08:00
9200586a3a
* docs: boost search ranking for single-word title pages Apply `boost: 3` to English pages whose H1 / frontmatter title is a single word (e.g. "Assistant", "Quickstart", "Cards"). Short titles tend to be canonical landing pages for a topic, so users searching the exact term should land on them first. * docs: drop boost on websocket-playground stub to keep canonical Playground ranking `api-playground/websocket-playground.mdx` is an auto-generated AsyncAPI stub with no body content but shares the title "Playground" with `api-playground/overview.mdx`. Boosting both equally diluted the canonical overview page in search for the query "playground". Drop the boost on the stub.
23 lines
770 B
Plaintext
23 lines
770 B
Plaintext
---
|
|
title: "Panel"
|
|
description: "Customize the right side panel content on documentation pages to display supplementary information, examples, or navigation elements."
|
|
keywords: ["sidebar"]
|
|
boost: 3
|
|
---
|
|
|
|
You can use the `<Panel>` component to customize the right side panel of a page with any components that you want.
|
|
|
|
If a page has a `<Panel>` component, any [RequestExample](/components/examples#requestexample) and [ResponseExample](/components/examples#responseexample) components must be inside `<Panel>`.
|
|
|
|
The components in a `<Panel>` replace a page's table of contents.
|
|
|
|
````mdx
|
|
<Panel>
|
|
<Info>Pin info to the side panel. Or add any other component.</Info>
|
|
</Panel>
|
|
````
|
|
|
|
<Panel>
|
|
<Info>Pin info to the side panel. Or add any other component.</Info>
|
|
</Panel>
|