tldraw/apps/docs/utils
David Sheldrick 9d895aab13
[docs] Fix missing Persistence page (#2828)
Fixes #2826, extracted from #2680 

The problem is that we had two different articles whose ids were being
derived as `persistence`, the `persistence.mdx` file and the
`persistence/` example.

I've

1. Made it an error for two articles to have the same id
2. Renamed the `persistence/` article to `local-storage` since that's
the API it's using.

### Change Type

- [ ] `patch` — Bug fix
- [ ] `minor` — New feature
- [ ] `major` — Breaking change
- [ ] `dependencies` — Changes to package dependencies[^1]
- [x] `documentation` — Changes to the documentation only[^2]
- [ ] `tests` — Changes to any test code only[^2]
- [ ] `internal` — Any other changes that don't affect the published
package[^2]
- [ ] I don't know

[^1]: publishes a `patch` release, for devDependencies use `internal`
[^2]: will not publish a new version

### Test Plan

1. Add a step-by-step description of how to test your PR here.
3.

- [ ] Unit Tests
- [ ] End to end tests

### Release Notes

- Add a brief release note for your PR here.
2024-02-13 16:19:17 +00:00
..
vector-db [docs] Autocomplete styling tweaks (#2732) 2024-02-05 20:46:07 +00:00
addAuthors.ts Add docs (#2470) 2024-01-15 12:33:15 +00:00
addContent.ts [docs] Fix missing Persistence page (#2828) 2024-02-13 16:19:17 +00:00
assert.ts Add docs (#2470) 2024-01-15 12:33:15 +00:00
autoLinkDocs.ts docs: fix up gen links to point to the new /reference section (#2690) 2024-01-30 15:16:32 +00:00
ContentDatabase.ts Unbiome (#2776) 2024-02-07 16:02:22 +00:00
ContentVectorDatabase.ts Unbiome (#2776) 2024-02-07 16:02:22 +00:00
debounce.ts Add docs (#2470) 2024-01-15 12:33:15 +00:00
nicelog.ts Add docs (#2470) 2024-01-15 12:33:15 +00:00
search-api.ts docs: rework search UI (#2723) 2024-02-05 14:32:50 +00:00