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.
pull/2897/head
Lu Wilson 2024-02-20 18:13:50 +00:00 zatwierdzone przez GitHub
rodzic 3e12b27728
commit 59285690d2
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
10 zmienionych plików z 10 dodań i 10 usunięć

Wyświetl plik

@ -9,7 +9,7 @@ const section: InputSection = {
description: 'Code recipes for bending tldraw to your will.',
categories: [
{ 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: 'data/assets', title: 'Data & Assets', description: '', groups: [] },
{ id: 'editor-api', title: 'Editor API', description: '', groups: [] },

Wyświetl plik

@ -1,5 +1,5 @@
---
title: Controlling the Editor
title: Controlling the editor
component: ./APIExample.tsx
category: editor-api
priority: 1

Wyświetl plik

@ -1,5 +1,5 @@
---
title: Context Toolbar
title: Context toolbar
component: ./ContextToolbar.tsx
category: ui
priority: 2

Wyświetl plik

@ -1,5 +1,5 @@
---
title: Editable Shape
title: Editable shape
component: ./EditableShapeExample.tsx
category: shapes/tools
priority: 1

Wyświetl plik

@ -1,5 +1,5 @@
---
title: Keyboard Shortcuts
title: Keyboard shortcuts
component: ./KeyboardShortcuts.tsx
category: ui
priority: 2

Wyświetl plik

@ -1,5 +1,5 @@
---
title: Shape Meta (on change)
title: Shape meta (on change)
component: ./OnChangeShapeMetaExample.tsx
category: data/assets
priority: 3

Wyświetl plik

@ -1,5 +1,5 @@
---
title: Shape Meta (on create)
title: Shape meta (on create)
component: ./OnCreateShapeMetaExample.tsx
category: data/assets
priority: 3

Wyświetl plik

@ -1,5 +1,5 @@
---
title: Readonly
title: Read-only
component: ./ReadOnlyExample
category: basic
priority: 3

Wyświetl plik

@ -1,5 +1,5 @@
---
title: Code X-Ray for UI events
title: Code x-ray for UI events
component: ./UiEventsExample.tsx
category: editor-api
priority: 0

Wyświetl plik

@ -1,5 +1,5 @@
---
title: User Presence
title: User presence
component: ./UserPresenceExample.tsx
category: collaboration
priority: 2