From e4e616ee567eedb7725d8acbb6428034c57eca1e Mon Sep 17 00:00:00 2001 From: Yi Ding <yi.s.ding@gmail.com> Date: Tue, 22 Aug 2023 22:44:00 -0700 Subject: [PATCH] add line number link --- apps/docs/docusaurus.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/docs/docusaurus.config.js b/apps/docs/docusaurus.config.js index 6ed69ae84..8e3495e2f 100644 --- a/apps/docs/docusaurus.config.js +++ b/apps/docs/docusaurus.config.js @@ -139,6 +139,8 @@ const config = { entryPoints: ["../../packages/core/src/index.ts"], tsconfig: "../../packages/core/tsconfig.json", readme: "none", + sourceLinkTemplate: + "https://github.com/run-llama/LlamaIndexTS/blob/{gitRevision}/{path}#L{line}", sidebar: { position: 6, }, -- GitLab