docs: add line highlight validation (#14380)

* docs: add line highlight validation

* add to all projects

* fixes

* fixes

* fix

* fixes
This commit is contained in:
Shahed Nasser
2025-12-22 14:10:39 +02:00
committed by GitHub
parent 6380c1fdf4
commit cb33388202
59 changed files with 514 additions and 243 deletions
@@ -197,10 +197,10 @@ So, to add the UI route at the `localhost:9000/app/brands` path, create the file
![Directory structure of the Medusa application after adding the UI route.](https://res.cloudinary.com/dza7lstvk/image/upload/v1733472011/Medusa%20Book/brands-admin-dir-overview-3_syytld.jpg)
export const uiRouteHighlights = [
["8", "BrandsPage", "The UI route that displays a new page."],
["23", "defineRouteConfig", "Export config to add a link for the UI route in the sidebar."],
["24", "label", "The sidebar item's label."],
["25", "icon", "The sidebar item's icon."]
["10", "BrandsPage", "The UI route that displays a new page."],
["20", "defineRouteConfig", "Export config to add a link for the UI route in the sidebar."],
["21", "label", "The sidebar item's label."],
["22", "icon", "The sidebar item's icon."]
]
```tsx title="src/admin/routes/brands/page.tsx" highlights={uiRouteHighlights}