Sentence case all example titles (#2889)
This PR converts all example titles and categories to sentence case, to make them consistent with our UI and the other examples. ### Change Type - [x] `documentation` — Changes to the documentation only[^2] [^1]: publishes a `patch` release, for devDependencies use `internal` [^2]: will not publish a new version ### Test Plan 1. Look at the examples app. 2. Check that all the titles of examples make you feel calm and good inside. - [ ] Unit Tests - [ ] End to end tests ### Release Notes - Docs: Made the examples titles sentence case.
This commit is contained in:
parent
3e12b27728
commit
59285690d2
10 changed files with 10 additions and 10 deletions
|
@ -9,7 +9,7 @@ const section: InputSection = {
|
||||||
description: 'Code recipes for bending tldraw to your will.',
|
description: 'Code recipes for bending tldraw to your will.',
|
||||||
categories: [
|
categories: [
|
||||||
{ id: 'basic', title: 'Getting Started', description: '', groups: [] },
|
{ id: 'basic', title: 'Getting Started', description: '', groups: [] },
|
||||||
{ id: 'ui', title: 'UI/Theming', description: '', groups: [] },
|
{ id: 'ui', title: 'UI & Theming', description: '', groups: [] },
|
||||||
{ id: 'shapes/tools', title: 'Shapes & Tools', description: '', groups: [] },
|
{ id: 'shapes/tools', title: 'Shapes & Tools', description: '', groups: [] },
|
||||||
{ id: 'data/assets', title: 'Data & Assets', description: '', groups: [] },
|
{ id: 'data/assets', title: 'Data & Assets', description: '', groups: [] },
|
||||||
{ id: 'editor-api', title: 'Editor API', description: '', groups: [] },
|
{ id: 'editor-api', title: 'Editor API', description: '', groups: [] },
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
title: Controlling the Editor
|
title: Controlling the editor
|
||||||
component: ./APIExample.tsx
|
component: ./APIExample.tsx
|
||||||
category: editor-api
|
category: editor-api
|
||||||
priority: 1
|
priority: 1
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
title: Context Toolbar
|
title: Context toolbar
|
||||||
component: ./ContextToolbar.tsx
|
component: ./ContextToolbar.tsx
|
||||||
category: ui
|
category: ui
|
||||||
priority: 2
|
priority: 2
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
title: Editable Shape
|
title: Editable shape
|
||||||
component: ./EditableShapeExample.tsx
|
component: ./EditableShapeExample.tsx
|
||||||
category: shapes/tools
|
category: shapes/tools
|
||||||
priority: 1
|
priority: 1
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
title: Keyboard Shortcuts
|
title: Keyboard shortcuts
|
||||||
component: ./KeyboardShortcuts.tsx
|
component: ./KeyboardShortcuts.tsx
|
||||||
category: ui
|
category: ui
|
||||||
priority: 2
|
priority: 2
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
title: Shape Meta (on change)
|
title: Shape meta (on change)
|
||||||
component: ./OnChangeShapeMetaExample.tsx
|
component: ./OnChangeShapeMetaExample.tsx
|
||||||
category: data/assets
|
category: data/assets
|
||||||
priority: 3
|
priority: 3
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
title: Shape Meta (on create)
|
title: Shape meta (on create)
|
||||||
component: ./OnCreateShapeMetaExample.tsx
|
component: ./OnCreateShapeMetaExample.tsx
|
||||||
category: data/assets
|
category: data/assets
|
||||||
priority: 3
|
priority: 3
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
title: Readonly
|
title: Read-only
|
||||||
component: ./ReadOnlyExample
|
component: ./ReadOnlyExample
|
||||||
category: basic
|
category: basic
|
||||||
priority: 3
|
priority: 3
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
title: Code X-Ray for UI events
|
title: Code x-ray for UI events
|
||||||
component: ./UiEventsExample.tsx
|
component: ./UiEventsExample.tsx
|
||||||
category: editor-api
|
category: editor-api
|
||||||
priority: 0
|
priority: 0
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
title: User Presence
|
title: User presence
|
||||||
component: ./UserPresenceExample.tsx
|
component: ./UserPresenceExample.tsx
|
||||||
category: collaboration
|
category: collaboration
|
||||||
priority: 2
|
priority: 2
|
||||||
|
|
Loading…
Reference in a new issue