Skip to content

Comments

migrate to v52.11.3#14

Merged
toreis-up merged 10 commits intoslidevjs:mainfrom
toreis-up:docs/10
Jan 25, 2026
Merged

migrate to v52.11.3#14
toreis-up merged 10 commits intoslidevjs:mainfrom
toreis-up:docs/10

Conversation

@toreis-up
Copy link
Member

resolve #10

Copilot AI review requested due to automatic review settings December 9, 2025 04:03
@netlify
Copy link

netlify bot commented Dec 9, 2025

👷 Deploy Preview for agitated-cori-79a573 processing.

Name Link
🔨 Latest commit 2d6ca42
🔍 Latest deploy log https://app.netlify.com/projects/agitated-cori-79a573/deploys/6972ee65e491f20009a13c71

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates the documentation version from 52.10.1 to 52.11.0 and adds conditional logic to disable the llmstxt plugin for non-English documentation sites.

  • Updated version to 52.11.0 in package.json
  • Added conditional rendering for the llmstxt plugin based on locale configuration
  • Imported the VitePress config to check if the root locale is English

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
package.json Bumped version from 52.10.1 to 52.11.0
vite.config.ts Added conditional logic to enable llmstxt plugin only for English documentation by checking the root locale label

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

import llmstxt from 'vitepress-plugin-llms'
import config from './.vitepress/config'

const IS_ROOT_ENGLISH_DOC = config.locales?.root.label.includes('English') || false
Copy link

Copilot AI Dec 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The variable name IS_ROOT_ENGLISH_DOC is potentially confusing. Based on the config, the root locale is Japanese ("日本語"), not English. This check determines if the root locale's label includes "English", which will be false for this Japanese documentation site. Consider renaming to SHOULD_ENABLE_LLMSTXT or IS_ENGLISH_LOCALE for better clarity about its purpose.

Copilot uses AI. Check for mistakes.
@toreis-up
Copy link
Member Author

toreis-up commented Dec 9, 2025

https://sli.dev に v52.11.0 がデプロイされるまでマージ待機 (先行してしまうため)

cn.sli.dev が v52.11.1 になっていたので、ja も更新しました

@toreis-up toreis-up marked this pull request as draft January 14, 2026 14:48
@toreis-up toreis-up changed the title migrate to v52.11.0 migrate to v52.11.3 Jan 14, 2026
@toreis-up toreis-up marked this pull request as ready for review January 23, 2026 03:44
@toreis-up toreis-up merged commit 440705a into slidevjs:main Jan 25, 2026
0 of 4 checks passed
@toreis-up toreis-up deleted the docs/10 branch January 25, 2026 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Removing the vitepress-plugin-llms plugin

5 participants