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:
parent
b4c7a3e54b
commit
92b16f6310
8 changed files with 17 additions and 17 deletions
|
@ -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 != ?',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue