Skip to content

Commit 2d8e28b

Browse files
committed
Fix links in the tsconfig, and resolve to a real path for docs
1 parent cd8b166 commit 2d8e28b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/tsconfig-reference/scripts/generateMarkdown.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ languages.forEach((lang) => {
265265
const optionValue = option.related
266266
.map(
267267
(r) =>
268-
`<a href='${r}' aria-label="Jump to compiler option info for ${r}" ><code>${r}</code></a>`
268+
`<a href='#${r}' aria-label="Jump to compiler option info for ${r}" ><code>${r}</code></a>`
269269
)
270270
.join(", ");
271271
mdTableRows.push(["Related", optionValue]);

‎packages/typescriptlang-org/lib/bootup/ingestion/createPagesForDocumentation.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const createDocumentationPages = async (
1212
graphql: CreatePagesArgs["graphql"],
1313
createPage: NodePluginArgs["actions"]["createPage"]
1414
) => {
15-
const handbookPage = path.resolve(`./src/templates/handbook.tsx`)
15+
const handbookPage = path.resolve(`./src/templates/documentation.tsx`)
1616
const result = await graphql(`
1717
query GetAllHandbookDocs {
1818
allFile(

0 commit comments

Comments
 (0)