Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Jovicic
Copy link

@Jovicic Jovicic commented Nov 16, 2025

Before submitting the PR, please make sure you do the following

  • Read the Contributing Guidelines.
  • Read the Pull Request Guidelines.
  • Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
  • Ideally, include relevant tests that fail without this PR but pass with it.
⚠️ Slowing down new functions

Warning: Slowing down new functions

As the VueUse audience continues to grow, we have been inundated with an overwhelming number of feature requests and pull requests. As a result, maintaining the project has become increasingly challenging and has stretched our capacity to its limits. As such, in the near future, we may need to slow down our acceptance of new features and prioritize the stability and quality of existing functions. Please note that new features for VueUse may not be accepted at this time. If you have any new ideas, we suggest that you first incorporate them into your own codebase, iterate on them to suit your needs, and assess their generalizability. If you strongly believe that your ideas are beneficial to the community, you may submit a pull request along with your use cases, and we would be happy to review and discuss them. Thank you for your understanding.


Description

Fixes #4824

This implements the llms.txt feature discussed in the issue.

Disclosure: GPT 5.1 Codex was used during development.
I am no expert in Vue, though I've tried to do my best to verify that the feature is correctly implemented.
Feedback is very welcome :)

Additional context

Copilot AI review requested due to automatic review settings November 16, 2025 00:32
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. enhancement New feature or request labels Nov 16, 2025
Copilot finished reviewing on behalf of Jovicic November 16, 2025 00:36
Copy link

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 adds integration for vitepress-plugin-llms to generate LLM-friendly documentation exports (llms.txt and llms-full.txt). However, there is a critical bug: the plugin is configured only in test fixtures but not in the main VitePress documentation build configuration, meaning the advertised URLs will not actually work in production.

Key Changes

  • Added vitepress-plugin-llms dependency to generate LLM-friendly documentation formats
  • Created comprehensive integration tests with VitePress build verification
  • Updated documentation to advertise LLM-friendly doc exports and usage guidelines

Reviewed Changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
test/llms-plugin.test.ts Integration test that builds VitePress fixture and verifies llms.txt, llms-full.txt, and per-page markdown generation
test/fixtures/llms-docs/index.md Test fixture home page demonstrating <llm-only> tag usage
test/fixtures/llms-docs/guide/getting-started.md Test fixture guide page with frontmatter and <llm-exclude> tag
test/fixtures/llms-docs/guide/concepts.md Test fixture concepts page documenting LLM export features
test/fixtures/llms-docs/.vitepress/config.mjs VitePress config for test fixture with plugin integration
pnpm-workspace.yaml Added vitepress-plugin-llms@^1.9.1 to docs catalog and bumped rolldown-vite version
pnpm-lock.yaml Lock file updates for new dependency and transitive dependencies
package.json Added vitepress-plugin-llms to devDependencies
README.md Added feature bullet advertising LLM-friendly docs via llms.txt URLs
CONTRIBUTING.md Added documentation section explaining llm-only and llm-exclude tags usage
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

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

@OrbisK OrbisK requested a review from ilyaliao November 16, 2025 14:30
@Jovicic
Copy link
Author

Jovicic commented Nov 16, 2025

I had to implement a filter as a crude way to deduplicate the sections in the generated llms.txt.
There is probably a better way of doing this, so please let me know if anyone has any suggestions. Right now it seems to be working fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs | Auto-generate llms.txt

1 participant