diff options
| author | ST-DDT <[email protected]> | 2022-10-09 21:32:08 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-10-09 19:32:08 +0000 |
| commit | 13dac4f4c6879933ceba045e1235161ed3c6b4f2 (patch) | |
| tree | 6a43473d57160effab90e353af28af88eea016d0 /scripts | |
| parent | a6ce71703b02f7c2c4f742106acff05d879c4384 (diff) | |
| download | faker-13dac4f4c6879933ceba045e1235161ed3c6b4f2.tar.xz faker-13dac4f4c6879933ceba045e1235161ed3c6b4f2.zip | |
docs: improve linking between doc sections (#1418)
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/apidoc/apiDocsWriter.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/apidoc/apiDocsWriter.ts b/scripts/apidoc/apiDocsWriter.ts index 42b8f6c4..74caa425 100644 --- a/scripts/apidoc/apiDocsWriter.ts +++ b/scripts/apidoc/apiDocsWriter.ts @@ -141,6 +141,7 @@ export function writeApiPagesIndex(pages: PageIndex): void { // Write api-pages.ts console.log('Updating api-pages.ts'); pages.sort((a, b) => a.text.localeCompare(b.text)); + pages.splice(0, 0, { text: 'Overview', link: '/api/' }); let apiPagesContent = ` // This file is automatically generated. // Run '${scriptCommand}' to update |
