mirror of
https://github.com/Hmbown/DeepSeek-TUI.git
synced 2026-09-03 06:50:13 +08:00
Align English and Chinese public copy with the canonical tools, permission labels, privacy boundary, candidate/release split, roadmap state, and install channels. Expand the machine-readable matrix and drift tests, add verifiable FAQ source links, and cover canonical/hreflang/Open Graph/Twitter metadata on previously incomplete routes. Signed-off-by: Hunter B <hmbown@gmail.com>
11 lines
345 B
TypeScript
11 lines
345 B
TypeScript
const REPOSITORY = "https://github.com/Hmbown/CodeWhale";
|
|
|
|
export function faqSourceHref(source: string): string | null {
|
|
const issue = source.match(/^#(\d+)$/);
|
|
if (issue) return `${REPOSITORY}/issues/${issue[1]}`;
|
|
if (source.endsWith(".md") || source.includes("/")) {
|
|
return `${REPOSITORY}/blob/main/${source}`;
|
|
}
|
|
return null;
|
|
}
|