-
Notifications
You must be signed in to change notification settings - Fork 858
[POC] feat(website): configure llms plugin #8827
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
[POC] feat(website): configure llms plugin #8827
Conversation
f9d23ea
to
883b7c2
Compare
💚 Build SucceededHistory
|
💚 Build Succeeded
|
Most likely, we need to add We would also need the files prepended with |
For the "exposing Markdown files" what we can do is programmatically copy the .mdx files from the const CopyWebpackPlugin = require('copy-webpack-plugin');
const path = require('path');
module.exports = {
// ...
plugins: [
async function myPlugin(context, options) {
return {
name: 'copy-md-files',
configureWebpack() {
return {
plugins: [
new CopyWebpackPlugin({
patterns: [
{
from: path.resolve(__dirname, 'docs'),
to: path.resolve(__dirname, 'static/docs'),
globOptions: {
ignore: ['**/*.ts', '**/*.gif', '**/*.png', '**/*.yml'],
},
},
],
}),
],
};
},
};
},
],
}; |
👋 Hey there. This PR hasn't had any activity for 90 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment. |
Summary
Relates to #8828
This is a PoC of https://github.com/rachfop/docusaurus-plugin-llms to see how well it works with our documentation site.
See
llms.txt
specification here: https://llmstxt.org/Tip
Think of it as a
sitemap.xml
orrobots.txt
file but for LLMs. We can generate LLM context based on the file.Why are we making this change?
Internal request:
QA
.md
version (example: button.md)