bsc

Comprehensive codebase and cou...
Log | Files | Refs | Activity | README | LICENSE

commit 5b802d7dded3cb1c1860da3cf8091b794b689822
parent f944a21fc1ebf7a8102be26b4ed5eea6ea68488a
Author: Amit Dutta <mail@amit.is-a.dev>
Date:   Mon, 10 Aug 2026 14:37:36 +0530

Refactor rawUrl computation in MarkdownMenu.vue

Update rawUrl computation to reflect new file path logic.
Diffstat:
Mdocs/.vitepress/theme/components/MarkdownMenu.vue | 8+++-----
1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/docs/.vitepress/theme/components/MarkdownMenu.vue b/docs/.vitepress/theme/components/MarkdownMenu.vue @@ -36,11 +36,10 @@ import { useData, useRoute } from 'vitepress' const { frontmatter } = useData() const route = useRoute() -// Mirrors the editLink path logic in config.mts: docs/<filePath>.md on main const rawUrl = computed(() => { const source = frontmatter.value.source - const filePath = source || route.path.replace(/^\//, '').replace(/\/$/, '/index') + '.md' - return `https://raw.githubusercontent.com/notamitgamer/bsc/main/docs/${filePath}` + const path = source || `docs${route.path.replace(/\/$/, '/index')}.md` + return `https://raw.githubusercontent.com/notamitgamer/bsc/refs/heads/main/${path}` }) const chatGptUrl = computed(() => @@ -90,4 +89,4 @@ const claudeUrl = computed(() => height: 14px; flex-shrink: 0; } -</style>- \ No newline at end of file +</style>
© notamitgamer • Site Built: 2026-09-05 01:53:16 UTC • git-mirror commit: c170d72 [view raw info]
Originally created with stagit • modified by notamitgamer
Forked from github.com/notamitgamer/git-mirror