From f58f973e361e0fa95c947085ed4709affe378ac2 Mon Sep 17 00:00:00 2001 From: Kazuki Yamada Date: Sun, 8 Jun 2025 17:01:03 +0900 Subject: [PATCH] refactor(website): Replace global YouTubeVideo registration with direct imports - Remove YouTubeVideo global component registration from VitePress theme - Add direct YouTubeVideo imports in all language versions of index.md and guide/index.md - Update video ID usage to centralized VIDEO_IDS.REPOMIX_DEMO constant - Improve component modularity and maintainability across 24 documentation files --- website/client/.vitepress/theme/index.ts | 4 ---- website/client/src/de/guide/index.md | 4 +++- website/client/src/de/index.md | 7 ++++++- website/client/src/en/guide/index.md | 1 + website/client/src/en/index.md | 9 +++++---- website/client/src/es/guide/index.md | 4 +++- website/client/src/es/index.md | 7 ++++++- website/client/src/fr/guide/index.md | 4 +++- website/client/src/fr/index.md | 7 ++++++- website/client/src/hi/guide/index.md | 4 +++- website/client/src/hi/index.md | 7 ++++++- website/client/src/id/guide/index.md | 4 +++- website/client/src/id/index.md | 7 ++++++- website/client/src/ja/guide/index.md | 4 +++- website/client/src/ja/index.md | 7 ++++++- website/client/src/ko/guide/index.md | 4 +++- website/client/src/ko/index.md | 7 ++++++- website/client/src/pt-br/guide/index.md | 4 +++- website/client/src/pt-br/index.md | 7 ++++++- website/client/src/vi/guide/index.md | 4 +++- website/client/src/vi/index.md | 7 ++++++- website/client/src/zh-cn/guide/index.md | 4 +++- website/client/src/zh-cn/index.md | 7 ++++++- website/client/src/zh-tw/guide/index.md | 4 +++- website/client/src/zh-tw/index.md | 7 ++++++- 25 files changed, 105 insertions(+), 30 deletions(-) diff --git a/website/client/.vitepress/theme/index.ts b/website/client/.vitepress/theme/index.ts index 011d519..0772686 100644 --- a/website/client/.vitepress/theme/index.ts +++ b/website/client/.vitepress/theme/index.ts @@ -3,7 +3,6 @@ import DefaultTheme from 'vitepress/theme'; import { h } from 'vue'; import Home from '../../components/Home.vue'; import HomeBadges from '../../components/HomeBadges.vue'; -import YouTubeVideo from '../../components/YouTubeVideo.vue'; import './custom.css'; export default { @@ -14,7 +13,4 @@ export default { 'home-features-after': () => h(HomeBadges), }); }, - enhanceApp({ app }) { - app.component('YouTubeVideo', YouTubeVideo); - }, } satisfies Theme; diff --git a/website/client/src/de/guide/index.md b/website/client/src/de/guide/index.md index 94ada12..e2155e5 100644 --- a/website/client/src/de/guide/index.md +++ b/website/client/src/de/guide/index.md @@ -2,11 +2,13 @@ Repomix ist ein Tool, das Ihr gesamtes Repository in eine einzige, KI-freundliche Datei verpackt. Es wurde entwickelt, um Ihren Codebase an große Sprachmodelle (LLMs) wie ChatGPT, DeepSeek, Perplexity, Gemini, Gemma, Llama, Grok und mehr zu übergeben. - + diff --git a/website/client/src/de/index.md b/website/client/src/de/index.md index 91c0609..1a284e5 100644 --- a/website/client/src/de/index.md +++ b/website/client/src/de/index.md @@ -24,6 +24,11 @@ features: --- + +
[![Sponsors](https://cdn.jsdelivr.net/gh/yamadashy/sponsor-list/sponsors/sponsors.png)](https://github.com/sponsors/yamadashy) @@ -40,7 +45,7 @@ Wenn Repomix Ihnen bei der Analyse oder Paketierung von Codebasen für KI-Tools Repomix ist ein leistungsstarkes Tool, das Ihre gesamte Codebasis in eine einzige KI-freundliche Datei paketiert. Ob Sie an Code-Reviews, Refactoring arbeiten oder KI-Unterstützung für Ihr Projekt benötigen, Repomix macht es einfach, den gesamten Repository-Kontext mit KI-Tools zu teilen. - + ## Schnellstart diff --git a/website/client/src/en/guide/index.md b/website/client/src/en/guide/index.md index 513abd2..8bdd469 100644 --- a/website/client/src/en/guide/index.md +++ b/website/client/src/en/guide/index.md @@ -2,6 +2,7 @@ diff --git a/website/client/src/en/index.md b/website/client/src/en/index.md index bb62b66..36d41d5 100644 --- a/website/client/src/en/index.md +++ b/website/client/src/en/index.md @@ -24,6 +24,11 @@ features: --- + +
[![Sponsors](https://cdn.jsdelivr.net/gh/yamadashy/sponsor-list/sponsors/sponsors.png)](https://github.com/sponsors/yamadashy) @@ -36,10 +41,6 @@ This wouldn't have been possible without all of you using and supporting Repomix If Repomix has helped you analyze or pack codebases for AI tools, we'd be grateful for your vote in the **Powered by AI** category. - - ## What is Repomix? Repomix is a powerful tool that packages your entire codebase into a single AI-friendly file. Whether you're working on code reviews, refactoring, or getting AI assistance with your project, Repomix makes it easy to share your entire repository context with AI tools. diff --git a/website/client/src/es/guide/index.md b/website/client/src/es/guide/index.md index 0969075..5bcc9b5 100644 --- a/website/client/src/es/guide/index.md +++ b/website/client/src/es/guide/index.md @@ -2,11 +2,13 @@ Repomix es una herramienta que empaqueta todo tu repositorio en un solo archivo amigable para la IA. Está diseñado para ayudarte a alimentar tu código a modelos de lenguaje grandes (LLMs) como ChatGPT, DeepSeek, Perplexity, Gemini, Gemma, Llama, Grok y más. - + diff --git a/website/client/src/es/index.md b/website/client/src/es/index.md index 79a3709..3796e3f 100644 --- a/website/client/src/es/index.md +++ b/website/client/src/es/index.md @@ -24,6 +24,11 @@ features: --- + +
[![Sponsors](https://cdn.jsdelivr.net/gh/yamadashy/sponsor-list/sponsors/sponsors.png)](https://github.com/sponsors/yamadashy) @@ -40,7 +45,7 @@ Si Repomix te ha ayudado a analizar o empaquetar bases de código para herramien Repomix es una herramienta poderosa que empaqueta toda tu base de código en un solo archivo compatible con IA. Ya sea que estés trabajando en revisiones de código, refactoring o necesites asistencia de IA para tu proyecto, Repomix facilita compartir todo el contexto de tu repositorio con herramientas de IA. - + ## Inicio rápido diff --git a/website/client/src/fr/guide/index.md b/website/client/src/fr/guide/index.md index 57386f5..e870f13 100644 --- a/website/client/src/fr/guide/index.md +++ b/website/client/src/fr/guide/index.md @@ -2,11 +2,13 @@ Repomix est un outil qui regroupe l'ensemble de votre dépôt de code en un seul fichier adapté à l'IA. Il est conçu pour vous aider à fournir votre base de code aux Grands Modèles de Langage (LLMs) comme ChatGPT, DeepSeek, Perplexity, Gemini, Gemma, Llama, Grok, et plus encore. - + diff --git a/website/client/src/fr/index.md b/website/client/src/fr/index.md index cc17b5d..b2a62b5 100644 --- a/website/client/src/fr/index.md +++ b/website/client/src/fr/index.md @@ -21,6 +21,11 @@ features: --- + +
[![Sponsors](https://cdn.jsdelivr.net/gh/yamadashy/sponsor-list/sponsors/sponsors.png)](https://github.com/sponsors/yamadashy) @@ -37,7 +42,7 @@ Si Repomix vous a aidé à analyser ou empaqueter des bases de code pour les out Repomix est un outil puissant qui package votre base de code entière en un seul fichier compatible avec l'IA. Que vous travailliez sur des revues de code, du refactoring ou que vous ayez besoin d'assistance IA pour votre projet, Repomix facilite le partage de tout le contexte de votre dépôt avec les outils d'IA. - + ## Démarrage rapide diff --git a/website/client/src/hi/guide/index.md b/website/client/src/hi/guide/index.md index e52aafb..9dc4623 100644 --- a/website/client/src/hi/guide/index.md +++ b/website/client/src/hi/guide/index.md @@ -2,11 +2,13 @@ Repomix एक ऐसा टूल है जो आपके पूरे रिपॉजिटरी को एक एकल, AI-फ्रेंडली फाइल में पैक करता है। यह आपके कोडबेस को ChatGPT, DeepSeek, Perplexity, Gemini, Gemma, Llama, Grok और अन्य जैसे लार्ज लैंग्वेज मॉडल (LLMs) को फीड करने में मदद करने के लिए डिज़ाइन किया गया है। - + diff --git a/website/client/src/hi/index.md b/website/client/src/hi/index.md index 09aacd6..eef7566 100644 --- a/website/client/src/hi/index.md +++ b/website/client/src/hi/index.md @@ -24,6 +24,11 @@ features: --- + +
[![Sponsors](https://cdn.jsdelivr.net/gh/yamadashy/sponsor-list/sponsors/sponsors.png)](https://github.com/sponsors/yamadashy) @@ -40,7 +45,7 @@ features: Repomix एक शक्तिशाली टूल है जो आपके पूरे कोडबेस को एक AI-फ्रेंडली फाइल में पैकेज करता है। चाहे आप कोड रिव्यू, रिफैक्टरिंग पर काम कर रहे हों या अपने प्रोजेक्ट के लिए AI सहायता की आवश्यकता हो, Repomix आपके पूरे रिपॉजिटरी कॉन्टेक्स्ट को AI टूल्स के साथ साझा करना आसान बनाता है। - + ## त्वरित शुरुआत diff --git a/website/client/src/id/guide/index.md b/website/client/src/id/guide/index.md index bac5715..7b2a167 100644 --- a/website/client/src/id/guide/index.md +++ b/website/client/src/id/guide/index.md @@ -2,11 +2,13 @@ Repomix adalah alat yang mengemas seluruh repositori Anda menjadi satu file yang ramah AI. Ini dirancang untuk membantu Anda menyediakan basis kode Anda ke Model Bahasa Besar (LLM) seperti ChatGPT, DeepSeek, Perplexity, Gemini, Gemma, Llama, Grok, dan lainnya. - + diff --git a/website/client/src/id/index.md b/website/client/src/id/index.md index f8ef682..66e8759 100644 --- a/website/client/src/id/index.md +++ b/website/client/src/id/index.md @@ -24,6 +24,11 @@ features: --- + +
[![Sponsors](https://cdn.jsdelivr.net/gh/yamadashy/sponsor-list/sponsors/sponsors.png)](https://github.com/sponsors/yamadashy) @@ -40,7 +45,7 @@ Jika Repomix telah membantu Anda menganalisis atau mengemas basis kode untuk ala Repomix adalah alat yang powerful yang mengemas seluruh codebase Anda ke dalam satu file yang ramah AI. Baik Anda sedang bekerja pada code review, refactoring, atau membutuhkan bantuan AI untuk proyek Anda, Repomix memudahkan berbagi seluruh konteks repository dengan alat AI. - + ## Mulai Cepat diff --git a/website/client/src/ja/guide/index.md b/website/client/src/ja/guide/index.md index 1361db1..6a11deb 100644 --- a/website/client/src/ja/guide/index.md +++ b/website/client/src/ja/guide/index.md @@ -2,11 +2,13 @@ Repomixは、リポジトリ全体をAIフレンドリーな単一ファイルにパッケージングするツールです。ChatGPT、DeepSeek、Perplexity、Gemini、Gemma、Llama、Grokなどの大規模言語モデル(LLM)にコードベースを提供するために設計されています。 - + diff --git a/website/client/src/ja/index.md b/website/client/src/ja/index.md index dfa5dad..121879b 100644 --- a/website/client/src/ja/index.md +++ b/website/client/src/ja/index.md @@ -24,6 +24,11 @@ features: --- + +
[![Sponsors](https://cdn.jsdelivr.net/gh/yamadashy/sponsor-list/sponsors/sponsors.png)](https://github.com/sponsors/yamadashy) @@ -40,7 +45,7 @@ RepomixがAIツール向けのコードベース分析やパッケージング Repomixは、コードベース全体を単一のAIフレンドリーなファイルにパッケージ化する強力なツールです。コードレビュー、リファクタリング、プロジェクトに関するAIアシスタンスが必要な場合に、リポジトリ全体のコンテキストをAIツールと簡単に共有できます。 - + ## クイックスタート diff --git a/website/client/src/ko/guide/index.md b/website/client/src/ko/guide/index.md index 3aa8ecf..9ba853e 100644 --- a/website/client/src/ko/guide/index.md +++ b/website/client/src/ko/guide/index.md @@ -2,11 +2,13 @@ Repomix는 전체 저장소를 AI 친화적인 단일 파일로 패키징하는 도구입니다. ChatGPT, DeepSeek, Perplexity, Gemini, Gemma, Llama, Grok 등의 대규모 언어 모델(LLM)에 코드베이스를 제공하는 데 도움이 되도록 설계되었습니다. - + diff --git a/website/client/src/ko/index.md b/website/client/src/ko/index.md index b08abea..3513fb4 100644 --- a/website/client/src/ko/index.md +++ b/website/client/src/ko/index.md @@ -24,6 +24,11 @@ features: --- + +
[![Sponsors](https://cdn.jsdelivr.net/gh/yamadashy/sponsor-list/sponsors/sponsors.png)](https://github.com/sponsors/yamadashy) @@ -40,7 +45,7 @@ Repomix가 AI 도구를 위한 코드베이스 분석이나 패키징에 도움 Repomix는 전체 코드베이스를 하나의 AI 친화적 파일로 패키징하는 강력한 도구입니다. 코드 리뷰, 리팩터링 또는 프로젝트에 대한 AI 지원이 필요할 때, 전체 리포지토리 컨텍스트를 AI 도구와 쉽게 공유할 수 있습니다. - + ## 빠른 시작 diff --git a/website/client/src/pt-br/guide/index.md b/website/client/src/pt-br/guide/index.md index e77d9ac..d84ff81 100644 --- a/website/client/src/pt-br/guide/index.md +++ b/website/client/src/pt-br/guide/index.md @@ -2,11 +2,13 @@ O Repomix é uma ferramenta que compacta todo o seu repositório em um único arquivo amigável para IA. Ele foi projetado para ajudá-lo a alimentar seu código-fonte para Modelos de Linguagem Grandes (LLMs) como ChatGPT, DeepSeek, Perplexity, Gemini, Gemma, Llama, Grok e mais. - + diff --git a/website/client/src/pt-br/index.md b/website/client/src/pt-br/index.md index b1f42a0..74849a3 100644 --- a/website/client/src/pt-br/index.md +++ b/website/client/src/pt-br/index.md @@ -24,6 +24,11 @@ features: --- + +
[![Sponsors](https://cdn.jsdelivr.net/gh/yamadashy/sponsor-list/sponsors/sponsors.png)](https://github.com/sponsors/yamadashy) @@ -40,7 +45,7 @@ Se o Repomix ajudou você a analisar ou empacotar bases de código para ferramen O Repomix é uma ferramenta poderosa que empacota toda a sua base de código em um único arquivo compatível com IA. Seja trabalhando em revisões de código, refatoração ou precisando de assistência de IA para seu projeto, o Repomix facilita o compartilhamento de todo o contexto do seu repositório com ferramentas de IA. - + ## Início Rápido diff --git a/website/client/src/vi/guide/index.md b/website/client/src/vi/guide/index.md index e5e8e0e..23770ee 100644 --- a/website/client/src/vi/guide/index.md +++ b/website/client/src/vi/guide/index.md @@ -2,11 +2,13 @@ Repomix là một công cụ đóng gói toàn bộ kho lưu trữ của bạn thành một tệp duy nhất, thân thiện với AI. Nó được thiết kế để giúp bạn cung cấp codebase cho các Mô hình Ngôn ngữ Lớn (LLMs) như ChatGPT, DeepSeek, Perplexity, Gemini, Gemma, Llama, Grok, và nhiều mô hình khác. - + diff --git a/website/client/src/vi/index.md b/website/client/src/vi/index.md index 9355d5d..3d0ea1b 100644 --- a/website/client/src/vi/index.md +++ b/website/client/src/vi/index.md @@ -24,6 +24,11 @@ features: --- + +
[![Sponsors](https://cdn.jsdelivr.net/gh/yamadashy/sponsor-list/sponsors/sponsors.png)](https://github.com/sponsors/yamadashy) @@ -40,7 +45,7 @@ Nếu Repomix đã giúp bạn phân tích hoặc đóng gói codebase cho các Repomix là một công cụ mạnh mẽ giúp đóng gói toàn bộ codebase của bạn thành một file thân thiện với AI. Dù bạn đang làm việc với code review, refactoring hay cần hỗ trợ AI cho dự án của mình, Repomix giúp bạn dễ dàng chia sẻ toàn bộ ngữ cảnh repository với các công cụ AI. - + ## Bắt đầu nhanh diff --git a/website/client/src/zh-cn/guide/index.md b/website/client/src/zh-cn/guide/index.md index b524515..8ea0c12 100644 --- a/website/client/src/zh-cn/guide/index.md +++ b/website/client/src/zh-cn/guide/index.md @@ -2,11 +2,13 @@ Repomix 是一个将代码库打包成单个 AI 友好文件的工具。它专为帮助你将代码提供给大型语言模型(如 ChatGPT、DeepSeek、Perplexity、Gemini、Gemma、Llama、Grok 等)而设计。 - + diff --git a/website/client/src/zh-cn/index.md b/website/client/src/zh-cn/index.md index c8aa4ff..3ac83c3 100644 --- a/website/client/src/zh-cn/index.md +++ b/website/client/src/zh-cn/index.md @@ -24,6 +24,11 @@ features: --- + +
[![Sponsors](https://cdn.jsdelivr.net/gh/yamadashy/sponsor-list/sponsors/sponsors.png)](https://github.com/sponsors/yamadashy) @@ -40,7 +45,7 @@ features: Repomix 是一个强大的工具,可以将您的整个代码库打包到一个 AI 友好的文件中。无论您是在进行代码审查、重构,还是需要 AI 协助您的项目,Repomix 都可以轻松地与 AI 工具共享您的整个代码库上下文。 - + ## 快速开始 diff --git a/website/client/src/zh-tw/guide/index.md b/website/client/src/zh-tw/guide/index.md index 98ef879..8256df0 100644 --- a/website/client/src/zh-tw/guide/index.md +++ b/website/client/src/zh-tw/guide/index.md @@ -2,11 +2,13 @@ Repomix 是一個將程式碼庫打包成單個 AI 友好文件的工具。它專為幫助你將程式碼提供給大型語言模型(如 ChatGPT、DeepSeek、Perplexity、Gemini、Gemma、Llama、Grok 等)而設計。 - + diff --git a/website/client/src/zh-tw/index.md b/website/client/src/zh-tw/index.md index 59b73a9..7d684d1 100644 --- a/website/client/src/zh-tw/index.md +++ b/website/client/src/zh-tw/index.md @@ -24,6 +24,11 @@ features: --- + +
[![Sponsors](https://cdn.jsdelivr.net/gh/yamadashy/sponsor-list/sponsors/sponsors.png)](https://github.com/sponsors/yamadashy) @@ -40,7 +45,7 @@ features: Repomix 是一個強大的工具,可以將您的整個程式碼庫打包到一個 AI 友好的檔案中。無論您是在進行程式碼審查、重構,還是需要 AI 協助您的專案,Repomix 都可以輕鬆地與 AI 工具共享您的整個儲存庫上下文。 - + ## 快速開始