diff options
| author | Sho Sakuma <me@m1sk9.dev> | 2026-06-12 15:22:46 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-12 15:22:46 +0900 |
| commit | 043e202b1cbedad69d5521a83e791c106b49b10f (patch) | |
| tree | 005cff287cb55f0afc17bbd182a523ecfcfb87ea | |
| parent | d6fb667762d17426ed736ec6bd43da70b84dcdb9 (diff) | |
| parent | b98770ecd1ff6c399e6f17bd33d07bea401b5e16 (diff) | |
| download | LunaticChat-043e202b1cbedad69d5521a83e791c106b49b10f.tar.gz LunaticChat-043e202b1cbedad69d5521a83e791c106b49b10f.tar.bz2 LunaticChat-043e202b1cbedad69d5521a83e791c106b49b10f.zip | |
Merge pull request #223 from m1sk9/docs/fix-download-page
style: Fix download compatibility matrix
| -rw-r--r-- | .claude/skills/release/SKILL.md (renamed from .claude/commands/release.md) | 5 | ||||
| -rw-r--r-- | gradle.properties | 2 | ||||
| -rw-r--r-- | website/.vitepress/theme/components/CompatibilityMatrix.vue | 7 | ||||
| -rw-r--r-- | website/.vitepress/theme/components/DownloadCard.vue | 9 |
4 files changed, 12 insertions, 11 deletions
diff --git a/.claude/commands/release.md b/.claude/skills/release/SKILL.md index ff3edc1..ec03038 100644 --- a/.claude/commands/release.md +++ b/.claude/skills/release/SKILL.md @@ -1,8 +1,11 @@ --- description: リリースの準備とタグ作成を行う。引数に paper, velocity, both のいずれかを指定。 +disable-model-invocation: true +argument-hint: [paper|velocity|both] +allowed-tools: Bash(./gradlew *), Bash(git *), Read, Grep --- -# Release Command +# Release 引数: `$ARGUMENTS` diff --git a/gradle.properties b/gradle.properties index 3cde0d0..3d23725 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,5 +5,5 @@ org.gradle.parallel=true org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled # Platform versions (can be released independently) -paperVersion=1.2.1 +paperVersion=1.2.2 velocityVersion=1.0.0 diff --git a/website/.vitepress/theme/components/CompatibilityMatrix.vue b/website/.vitepress/theme/components/CompatibilityMatrix.vue index 9f1910c..e8f5f00 100644 --- a/website/.vitepress/theme/components/CompatibilityMatrix.vue +++ b/website/.vitepress/theme/components/CompatibilityMatrix.vue @@ -208,7 +208,7 @@ function cellResult( .compat-table { border-collapse: collapse; - width: 100%; + width: auto; margin: 0; font-size: 0.875rem; } @@ -246,6 +246,10 @@ function cellResult( white-space: nowrap; } +.compat-col-header { + min-width: 110px; +} + .compat-version { font-size: 0.95rem; } @@ -258,6 +262,7 @@ function cellResult( } .compat-cell { + min-width: 110px; font-size: 1.1rem; font-weight: 700; } diff --git a/website/.vitepress/theme/components/DownloadCard.vue b/website/.vitepress/theme/components/DownloadCard.vue index 4337181..25fce48 100644 --- a/website/.vitepress/theme/components/DownloadCard.vue +++ b/website/.vitepress/theme/components/DownloadCard.vue @@ -12,7 +12,6 @@ const t = computed(() => ? { title: 'Download', description: 'Download the latest releases of LunaticChat.', - compatible: 'Paper and Velocity Compatibility', requirements: 'Requirements', javaReq: '25 or later', paperReq: '26.1.x or later', @@ -43,7 +42,6 @@ const t = computed(() => : { title: 'ダウンロード', description: 'LunaticChat の最新リリースをダウンロードできます。', - compatible: 'Paper / Velocity の互換性', requirements: '動作要件', javaReq: '25 以降', paperReq: '26.1.x 以降', @@ -110,12 +108,6 @@ function formatDate(dateStr: string | null): string { <p>{{ t.spigotAlt }} <a href="https://github.com/f1w3/LunaChat" target="_blank" rel="noopener">{{ t.spigotLink }}</a> {{ isEn ? '.' : 'の使用を推奨します.' }}</p> </div> - <div class="download-compat-notice"> - <p class="download-compat-title">{{ t.compatible }}</p> - <p>{{ t.compatNotice }}</p> - <p><a :href="isEn ? '/en/docs/reference/compatibility' : '/docs/reference/compatibility'">{{ t.compatLink }}</a></p> - </div> - <div v-if="loading" class="download-loading"> <p>{{ isEn ? 'Loading releases...' : 'リリース情報を取得中...' }}</p> </div> @@ -196,6 +188,7 @@ function formatDate(dateStr: string | null): string { <h2>{{ t.compatMatrixTitle }}</h2> <p>{{ t.compatMatrixDesc }}</p> + <p>{{ t.compatNotice }}</p> <CompatibilityMatrix /> <h2>Modrinth</h2> |
