Skip to content

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 ready!

Name Link
🔨 Latest commit 3e5f9c4
🔍 Latest deploy log https://app.netlify.com/projects/agitated-cori-79a573/deploys/69379fab5ff6fa000922020f
😎 Deploy Preview https://deploy-preview-14--agitated-cori-79a573.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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

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

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

2 participants