-
{{ frontmatter.install.label }}
-
$ {{ frontmatter.install.command }}
-
+
+
{{ frontmatter.install.label }}
+
+
+
+
+ {{ active.prompt }} {{ active.command }}
+
+ {{ copied ? frontmatter.install.copied : '' }}
+
+
{{ frontmatter.install.moreLabel }} →
diff --git a/site/.vitepress/theme/style.css b/site/.vitepress/theme/style.css
index 596421c..ca9d06f 100644
--- a/site/.vitepress/theme/style.css
+++ b/site/.vitepress/theme/style.css
@@ -94,6 +94,12 @@
max-width: 560px;
}
+/* Korean wraps between words, not between syllables. */
+:lang(ko) .VPHome {
+ word-break: keep-all;
+ overflow-wrap: break-word;
+}
+
/* Hero: a tinted band in the accent colour, demo in the right column on wide screens. */
.VPHome {
overflow-x: clip;
diff --git a/site/index.md b/site/index.md
index 7a23729..3cdaa37 100644
--- a/site/index.md
+++ b/site/index.md
@@ -19,10 +19,17 @@ hero:
link: https://github.com/NaNIsaac/codigest
install:
- label: Install
- command: uv tool install codigest
+ label: Install Codigest
+ windowsLabel: Windows
+ unixLabel: Linux / macOS / Termux
+ pythonLabel: Python (uv)
+ windows: 'irm https://raw.githubusercontent.com/NaNIsaac/codigest/main/install.ps1 | iex'
+ unix: 'curl -fsSL https://raw.githubusercontent.com/NaNIsaac/codigest/main/install.sh | sh'
+ python: 'uv tool install codigest'
copy: Copy
copied: Copied
+ moreLabel: All installation options
+ moreLink: /installation
demo:
alt: cdg cap runs a failing pytest, then cdg pack bundles the failure, the test file it names and the changed file
diff --git a/site/ko/index.md b/site/ko/index.md
index be3cb1c..cb49977 100644
--- a/site/ko/index.md
+++ b/site/ko/index.md
@@ -19,10 +19,17 @@ hero:
link: https://github.com/NaNIsaac/codigest
install:
- label: 설치
- command: uv tool install codigest
+ label: Codigest 설치
+ windowsLabel: Windows
+ unixLabel: Linux / macOS / Termux
+ pythonLabel: Python (uv)
+ windows: 'irm https://raw.githubusercontent.com/NaNIsaac/codigest/main/install.ps1 | iex'
+ unix: 'curl -fsSL https://raw.githubusercontent.com/NaNIsaac/codigest/main/install.sh | sh'
+ python: 'uv tool install codigest'
copy: 복사
copied: 복사됨
+ moreLabel: 설치 방법 자세히 보기
+ moreLink: /ko/installation
demo:
alt: cdg cap으로 실패하는 pytest를 실행한 뒤, cdg pack이 실패 출력과 오류가 가리키는 테스트 파일, 바뀐 파일을 묶는 화면