diff --git a/apps/docs/docusaurus.config.js b/apps/docs/docusaurus.config.js
index 6ed69ae84810dc89fc2bab5996ce8a461c5ea25b..8e3495e2f2b03b3edd55779a0cb5689a7a251618 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,
         },