tldraw/apps/docs/content/releases
Mime Čuvalo 83544a9ea8
docs: fix missing API entries (#3111)
following up on
https://discord.com/channels/859816885297741824/1162726738774720574/1211715924613275681

several things here:
- `docs/api/.*json` were out-of-date — seems like fetch-api-source
should run automatically? shouldn't `build-api` also override this
directory? in particular, tldraw.api.json still had a ton of references
to the old @tldraw/tldraw package
- the main problem was that `generateApiContent` was failing silently.
we were relying on Promises and this broke silently because we never
handled exceptions. i got rid of the Promise as it was unnecessary and
made the exceptions bubble up
- two things were broken in the docs and those are fixed, so now the
missing entries will resurface

### Change Type

- [x] `documentation` — Changes to the documentation only[^2]

---------

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2024-03-12 13:36:24 +00:00
..
v2.0.0-alpha.12.mdx docs: fix missing API entries (#3111) 2024-03-12 13:36:24 +00:00
v2.0.0-alpha.13.mdx docs: fix missing API entries (#3111) 2024-03-12 13:36:24 +00:00
v2.0.0-alpha.14.mdx docs: fix missing API entries (#3111) 2024-03-12 13:36:24 +00:00
v2.0.0-alpha.15.mdx docs: fix missing API entries (#3111) 2024-03-12 13:36:24 +00:00
v2.0.0-alpha.16.mdx docs: fix missing API entries (#3111) 2024-03-12 13:36:24 +00:00
v2.0.0-alpha.17.mdx docs: fix missing API entries (#3111) 2024-03-12 13:36:24 +00:00
v2.0.0-alpha.18.mdx docs: fix missing API entries (#3111) 2024-03-12 13:36:24 +00:00
v2.0.0-alpha.19.mdx docs: fix missing API entries (#3111) 2024-03-12 13:36:24 +00:00
v2.0.0-beta.1.mdx docs: fix missing API entries (#3111) 2024-03-12 13:36:24 +00:00
v2.0.0-beta.2.mdx docs: fix missing API entries (#3111) 2024-03-12 13:36:24 +00:00
v2.0.0-beta.3.mdx docs: fix missing API entries (#3111) 2024-03-12 13:36:24 +00:00
v2.0.0-beta.4.mdx docs: fix missing API entries (#3111) 2024-03-12 13:36:24 +00:00
v2.0.0-beta.5.mdx docs: fix missing API entries (#3111) 2024-03-12 13:36:24 +00:00
v2.0.0-beta.6.mdx docs: fix missing API entries (#3111) 2024-03-12 13:36:24 +00:00
v2.0.0-beta.7.mdx docs: fix missing API entries (#3111) 2024-03-12 13:36:24 +00:00
v2.0.0-beta.8.mdx docs: fix missing API entries (#3111) 2024-03-12 13:36:24 +00:00
v2.0.0-beta.9.mdx docs: fix missing API entries (#3111) 2024-03-12 13:36:24 +00:00
v2.0.0.mdx docs: fix missing API entries (#3111) 2024-03-12 13:36:24 +00:00