docs: fix up gen links to point to the new /reference section (#2690)

### Change Type

- [x] `patch` — Bug fix

### Release Notes

- Fix up doc links with /gen links
This commit is contained in:
Mime Čuvalo 2024-01-30 15:16:32 +00:00 committed by GitHub
parent b4c7a3e54b
commit 92b16f6310
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 17 additions and 17 deletions

View file

@ -4,7 +4,7 @@ import { Database } from 'sqlite'
import sqlite3 from 'sqlite3'
export async function autoLinkDocs(db: Database<sqlite3.Database, sqlite3.Statement>) {
// replace [TLEditor](?) with [TLEditor](/gen/editor/TLEditor)?
// replace [TLEditor](?) with [TLEditor](/reference/editor/TLEditor)?
// not sure how we would get there but finding an article with the same title
const articles = await db.all(
'SELECT id, content FROM articles WHERE sectionId != ?',