Don't check api.json files into git (#3565)

These were needed when the docs lived in a different repo, but they
don't any more so we can get rid of them.

### Change Type
- [x] `internal` — Does not affect user-facing stuff
- [x] `chore` — Updating dependencies, other boring stuff
This commit is contained in:
alex 2024-04-24 16:58:26 +01:00 committed by GitHub
parent 59b7c25270
commit c9b7d328fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
28 changed files with 687 additions and 210019 deletions

View file

@ -9,7 +9,7 @@ import { generateExamplesContent } from './generateExamplesContent'
export async function refreshContent(opts = {} as { silent: boolean }) {
if (!opts.silent) nicelog('◦ Resetting database...')
const db = await connect({ reset: true })
const db = await connect({ reset: true, mode: 'readwrite' })
if (!opts.silent) nicelog('◦ Adding authors to db...')
await addAuthors(db, await require('../../content/authors.json'))