From 263657c33617e3123226b365c9a2252f3778d1f0 Mon Sep 17 00:00:00 2001 From: Gabriel Grubba Date: Tue, 1 Apr 2025 18:45:21 -0300 Subject: [PATCH 1/5] DOCS: Add llms.txt via vitepress plugin --- v3-docs/docs/.vitepress/config.mts | 12 +- v3-docs/docs/about/what-is.md | 7 +- v3-docs/docs/package-lock.json | 349 ++++++++++++++++++++++++++++- v3-docs/docs/package.json | 3 +- 4 files changed, 361 insertions(+), 10 deletions(-) diff --git a/v3-docs/docs/.vitepress/config.mts b/v3-docs/docs/.vitepress/config.mts index 83add47b6a..33389c324a 100644 --- a/v3-docs/docs/.vitepress/config.mts +++ b/v3-docs/docs/.vitepress/config.mts @@ -1,5 +1,6 @@ import { defineConfig } from "vitepress"; import metadata from "../generators/meteor-versions/metadata.generated"; +import llmstxt from "vitepress-plugin-llms"; // https://vitepress.dev/reference/site-config export default defineConfig({ @@ -10,9 +11,7 @@ export default defineConfig({ sitemap: { hostname: "https://v3-docs.meteor.com", }, - ignoreDeadLinks: [ - /^http:\/\/localhost/ - ], + ignoreDeadLinks: [/^http:\/\/localhost/], themeConfig: { // https://vitepress.dev/reference/default-theme-config nav: [ @@ -484,4 +483,11 @@ export default defineConfig({ text: "Edit this page on GitHub", }, }, + vite: { + plugins: [ + llmstxt({ + title: "Meteor.js 3 Docs", + }), + ], + }, }); diff --git a/v3-docs/docs/about/what-is.md b/v3-docs/docs/about/what-is.md index ac111c1869..11863a0e2b 100644 --- a/v3-docs/docs/about/what-is.md +++ b/v3-docs/docs/about/what-is.md @@ -1,14 +1,11 @@ - - - - # Introduction {#introduction} :::info You are reading the Meteor 3 documentation! - Searching for the Meteor 2 documentation? Access the [Meteor 2 Docs](https://v2-docs.meteor.com/). - Upgrading from Meteor 2? Check out the [Migration Guide](https://v3-migration-docs.meteor.com/). - ::: + +::: Meteor is a full-stack JavaScript platform for developing modern web and mobile applications. Meteor includes a key set of technologies for building connected-client reactive applications, a build tool, and a curated set of packages from the Node.js and general JavaScript community. diff --git a/v3-docs/docs/package-lock.json b/v3-docs/docs/package-lock.json index 8c1d06310d..c79d545e34 100644 --- a/v3-docs/docs/package-lock.json +++ b/v3-docs/docs/package-lock.json @@ -10,7 +10,8 @@ "devDependencies": { "canonical-json": "^0.0.4", "jsdoc": "^4.0.4", - "vitepress": "1.6.3" + "vitepress": "1.6.3", + "vitepress-plugin-llms": "^0.0.22" } }, "node_modules/@algolia/autocomplete-core": { @@ -1080,6 +1081,23 @@ "integrity": "sha512-sVDA58zAw4eWAffKOaQH5/5j3XeayukzDk+ewSsnv3p4yJEZHCCzMDiZM8e0OUrRvmpGZ85jf4yDHkHsgBNr9Q==", "dev": true }, + "node_modules/@types/lodash": { + "version": "4.17.16", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.16.tgz", + "integrity": "sha512-HX7Em5NYQAXKW+1T+FiuG27NGwzJfCX3s1GjOa7ujxZa52kjJLOr4FUxT+giF6Tgxv1e+/czV/iTtBw27WTU9g==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/lodash-es": { + "version": "4.17.12", + "resolved": "https://registry.npmjs.org/@types/lodash-es/-/lodash-es-4.17.12.tgz", + "integrity": "sha512-0NgftHUcV4v34VhXm8QBSftKVXtbkBG3ViCjs6+eJ5a6y6Mi/jiFGPc1sC7QK+9BFhWrURE3EOggmWaSxL9OzQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/lodash": "*" + } + }, "node_modules/@types/markdown-it": { "version": "14.1.2", "resolved": "https://registry.npmjs.org/@types/markdown-it/-/markdown-it-14.1.2.tgz", @@ -1401,6 +1419,13 @@ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", "dev": true }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true, + "license": "MIT" + }, "node_modules/birpc": { "version": "0.2.19", "resolved": "https://registry.npmjs.org/birpc/-/birpc-0.2.19.tgz", @@ -1416,6 +1441,16 @@ "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", "dev": true }, + "node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, "node_modules/canonical-json": { "version": "0.0.4", "resolved": "https://registry.npmjs.org/canonical-json/-/canonical-json-0.0.4.tgz", @@ -1464,6 +1499,19 @@ "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/codsen-utils": { + "version": "1.6.7", + "resolved": "https://registry.npmjs.org/codsen-utils/-/codsen-utils-1.6.7.tgz", + "integrity": "sha512-M+9D3IhFAk4T8iATX62herVuIx1sp5kskWgxEegKD/JwTTSSGjGQs5Q5J4vVJ4mLcn1uhfxDYv6Yzr8zleHF3w==", + "dev": true, + "license": "MIT", + "dependencies": { + "rfdc": "^1.4.1" + }, + "engines": { + "node": ">=14.18.0" + } + }, "node_modules/comma-separated-tokens": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz", @@ -1582,12 +1630,39 @@ "node": ">=8" } }, + "node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true, + "license": "BSD-2-Clause", + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/estree-walker": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", "dev": true }, + "node_modules/extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/focus-trap": { "version": "7.6.4", "resolved": "https://registry.npmjs.org/focus-trap/-/focus-trap-7.6.4.tgz", @@ -1617,6 +1692,22 @@ "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", "dev": true }, + "node_modules/gray-matter": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/gray-matter/-/gray-matter-4.0.3.tgz", + "integrity": "sha512-5v6yZd4JK3eMI3FqqCouswVqwugaA9r4dNZB1wwcmrD02QkV5H0y7XBQW8QwQqEaZY1pM9aqORSORhJRdNK44Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "js-yaml": "^3.13.1", + "kind-of": "^6.0.2", + "section-matter": "^1.0.0", + "strip-bom-string": "^1.0.0" + }, + "engines": { + "node": ">=6.0" + } + }, "node_modules/hast-util-to-html": { "version": "9.0.4", "resolved": "https://registry.npmjs.org/hast-util-to-html/-/hast-util-to-html-9.0.4.tgz", @@ -1659,6 +1750,23 @@ "integrity": "sha512-Yc+BQe8SvoXH1643Qez1zqLRmbA5rCL+sSmk6TVos0LWVfNIB7PGncdlId77WzLGSIB5KaWgTaNTs2lNVEI6VQ==", "dev": true }, + "node_modules/html-entities": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-2.6.0.tgz", + "integrity": "sha512-kig+rMn/QOVRvr7c86gQ8lWXq+Hkv6CbAH1hLu+RG338StTpE8Z0b44SDVaqVu7HGKf27frdmUYEs9hTUX/cLQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/mdevils" + }, + { + "type": "patreon", + "url": "https://patreon.com/mdevils" + } + ], + "license": "MIT" + }, "node_modules/html-void-elements": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/html-void-elements/-/html-void-elements-3.0.0.tgz", @@ -1669,6 +1777,16 @@ "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/is-what": { "version": "4.1.16", "resolved": "https://registry.npmjs.org/is-what/-/is-what-4.1.16.tgz", @@ -1681,6 +1799,30 @@ "url": "https://github.com/sponsors/mesqueeb" } }, + "node_modules/js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/js-yaml/node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "license": "MIT", + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, "node_modules/js2xmlparser": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/js2xmlparser/-/js2xmlparser-4.0.2.tgz", @@ -1720,6 +1862,16 @@ "node": ">=12.0.0" } }, + "node_modules/kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/klaw": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/klaw/-/klaw-3.0.0.tgz", @@ -1745,6 +1897,13 @@ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", "dev": true }, + "node_modules/lodash-es": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", + "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==", + "dev": true, + "license": "MIT" + }, "node_modules/magic-string": { "version": "0.30.17", "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.17.tgz", @@ -1788,6 +1947,16 @@ "markdown-it": "*" } }, + "node_modules/markdown-title": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/markdown-title/-/markdown-title-1.0.2.tgz", + "integrity": "sha512-MqIQVVkz+uGEHi3TsHx/czcxxCbRIL7sv5K5DnYw/tI+apY54IbPefV/cmgxp6LoJSEx/TqcHdLs/298afG5QQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/marked": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/marked/-/marked-4.3.0.tgz", @@ -1917,6 +2086,22 @@ } ] }, + "node_modules/minimatch": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.1.tgz", + "integrity": "sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": "20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/minisearch": { "version": "7.1.1", "resolved": "https://registry.npmjs.org/minisearch/-/minisearch-7.1.1.tgz", @@ -2040,6 +2225,60 @@ "node": ">=6" } }, + "node_modules/ranges-apply": { + "version": "7.0.19", + "resolved": "https://registry.npmjs.org/ranges-apply/-/ranges-apply-7.0.19.tgz", + "integrity": "sha512-imA03KuTSuSpQtq9SDhavUz7BtiddCPj+fsYM/XpdypRN/s8vyTayKzni6m5nYs7VMds1kSNK1V3jfwVrPUWBQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ranges-merge": "^9.0.18", + "tiny-invariant": "^1.3.3" + }, + "engines": { + "node": ">=14.18.0" + } + }, + "node_modules/ranges-merge": { + "version": "9.0.18", + "resolved": "https://registry.npmjs.org/ranges-merge/-/ranges-merge-9.0.18.tgz", + "integrity": "sha512-2+6Eh4yxi5sudUmvCdvxVOSdXIXV+Brfutw8chhZmqkT0REqlzilpyQps1S5n8c7f0+idblqSAHGahTbf/Ar5g==", + "dev": true, + "license": "MIT", + "dependencies": { + "ranges-push": "^7.0.18", + "ranges-sort": "^6.0.13" + }, + "engines": { + "node": ">=14.18.0" + } + }, + "node_modules/ranges-push": { + "version": "7.0.18", + "resolved": "https://registry.npmjs.org/ranges-push/-/ranges-push-7.0.18.tgz", + "integrity": "sha512-wzGHipEklSlY0QloQ88PNt+PkTURIB42PLLcQGY+WyYBlNpnrzps6EYooD3RqNXtdqMQ9kR8IVaF9itRYtuzLA==", + "dev": true, + "license": "MIT", + "dependencies": { + "codsen-utils": "^1.6.7", + "ranges-sort": "^6.0.13", + "string-collapse-leading-whitespace": "^7.0.9", + "string-trim-spaces-only": "^5.0.12" + }, + "engines": { + "node": ">=14.18.0" + } + }, + "node_modules/ranges-sort": { + "version": "6.0.13", + "resolved": "https://registry.npmjs.org/ranges-sort/-/ranges-sort-6.0.13.tgz", + "integrity": "sha512-M3P0/dUnU3ihLPX2jq0MT2NJA1ls/q6cUAUVPD28xdFFqm3VFarPjTKKhnsBSvYCpZD8HdiElAGAyoPu6uOQjA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.18.0" + } + }, "node_modules/regex": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/regex/-/regex-5.1.1.tgz", @@ -2125,6 +2364,20 @@ "dev": true, "peer": true }, + "node_modules/section-matter": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/section-matter/-/section-matter-1.0.0.tgz", + "integrity": "sha512-vfD3pmTzGpufjScBh50YHKzEu2lxBWhVEHsNGoEXmCmn2hKGfeNLYMzCJpe8cD7gqX7TJluOVpBkAequ6dgMmA==", + "dev": true, + "license": "MIT", + "dependencies": { + "extend-shallow": "^2.0.1", + "kind-of": "^6.0.0" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/shiki": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/shiki/-/shiki-2.1.0.tgz", @@ -2169,6 +2422,66 @@ "node": ">=0.10.0" } }, + "node_modules/sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/string-collapse-leading-whitespace": { + "version": "7.0.9", + "resolved": "https://registry.npmjs.org/string-collapse-leading-whitespace/-/string-collapse-leading-whitespace-7.0.9.tgz", + "integrity": "sha512-lEuTHlogBT9PWipfk0FOyvoMKX8syiE03QoFk5MDh8oS0AJ2C07IlstR5cGkxz48nKkOIuvkC28w9Rx/cVRNDg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.18.0" + } + }, + "node_modules/string-left-right": { + "version": "6.0.20", + "resolved": "https://registry.npmjs.org/string-left-right/-/string-left-right-6.0.20.tgz", + "integrity": "sha512-dz2mUgmsI7m/FMe+BoxZ2+73X1TUoQvjCdnq8vbIAnHlvWfVZleNUR+lw+QgHA2dlJig+hUWC9bFYdNFGGy2bA==", + "dev": true, + "license": "MIT", + "dependencies": { + "codsen-utils": "^1.6.7", + "rfdc": "^1.4.1" + }, + "engines": { + "node": ">=14.18.0" + } + }, + "node_modules/string-strip-html": { + "version": "13.4.12", + "resolved": "https://registry.npmjs.org/string-strip-html/-/string-strip-html-13.4.12.tgz", + "integrity": "sha512-mr1GM1TFcwDkYwLE7TNkHY+Lf3YFEBa19W9KntZoJJSbrKF07W4xmLkPnqf8cypEGyr+dc1H9hsdTw5VSNVGxg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/lodash-es": "^4.17.12", + "codsen-utils": "^1.6.7", + "html-entities": "^2.5.2", + "lodash-es": "^4.17.21", + "ranges-apply": "^7.0.19", + "ranges-push": "^7.0.18", + "string-left-right": "^6.0.20" + }, + "engines": { + "node": ">=14.18.0" + } + }, + "node_modules/string-trim-spaces-only": { + "version": "5.0.12", + "resolved": "https://registry.npmjs.org/string-trim-spaces-only/-/string-trim-spaces-only-5.0.12.tgz", + "integrity": "sha512-Un5nIO1av+hzfnKGmY+bWe0AD4WH37TuDW+jeMPm81rUvU2r3VPRj9vEKdZkPmuhYAMuKlzarm7jDSKwJKOcpQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.18.0" + } + }, "node_modules/stringify-entities": { "version": "4.0.4", "resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-4.0.4.tgz", @@ -2183,6 +2496,16 @@ "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/strip-bom-string": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/strip-bom-string/-/strip-bom-string-1.0.0.tgz", + "integrity": "sha512-uCC2VHvQRYu+lMh4My/sFNmF2klFymLX1wHJeXnbEJERpV/ZsVuonzerjfrGpIGF7LBVa1O7i9kjiWvJiFck8g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/strip-json-comments": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", @@ -2213,6 +2536,13 @@ "integrity": "sha512-Cat63mxsVJlzYvN51JmVXIgNoUokrIaT2zLclCXjRd8boZ0004U4KCs/sToJ75C6sdlByWxpYnb5Boif1VSFew==", "dev": true }, + "node_modules/tiny-invariant": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.3.tgz", + "integrity": "sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==", + "dev": true, + "license": "MIT" + }, "node_modules/trim-lines": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/trim-lines/-/trim-lines-3.0.1.tgz", @@ -2432,6 +2762,23 @@ } } }, + "node_modules/vitepress-plugin-llms": { + "version": "0.0.22", + "resolved": "https://registry.npmjs.org/vitepress-plugin-llms/-/vitepress-plugin-llms-0.0.22.tgz", + "integrity": "sha512-NlPncFFconJU5naIzAW5Sb6RdYC428BvcyWvHKnquJU5FXnsAGm9YVH820St5Ej9Muqtc8p1ouEV0GCPzEq2vg==", + "dev": true, + "license": "MIT", + "dependencies": { + "gray-matter": "^4.0.3", + "markdown-title": "^1.0.2", + "minimatch": "^10.0.1", + "picocolors": "^1.1.1", + "string-strip-html": "^13.4.12" + }, + "funding": { + "url": "https://github.com/okineadev/vitepress-plugin-llms?sponsor=1" + } + }, "node_modules/vue": { "version": "3.5.13", "resolved": "https://registry.npmjs.org/vue/-/vue-3.5.13.tgz", diff --git a/v3-docs/docs/package.json b/v3-docs/docs/package.json index 28c1e57a79..75082b9b65 100644 --- a/v3-docs/docs/package.json +++ b/v3-docs/docs/package.json @@ -10,7 +10,8 @@ "devDependencies": { "canonical-json": "^0.0.4", "jsdoc": "^4.0.4", - "vitepress": "1.6.3" + "vitepress": "1.6.3", + "vitepress-plugin-llms": "^0.0.22" }, "dependencies": { "vue-collapsed": "^1.3.4" From 7d828dd45b32dc24595b9c42fc28dff3d6885ecc Mon Sep 17 00:00:00 2001 From: Gabriel Grubba Date: Tue, 1 Apr 2025 20:48:01 -0300 Subject: [PATCH 2/5] DOCS: Add llms.txt guide on how to use with LM Studio --- v3-docs/docs/about/install.md | 13 +++++++++++++ .../meteor-versions/metadata.generated.js | 8 ++++++-- v3-docs/docs/history.md | 10 +++++----- 3 files changed, 24 insertions(+), 7 deletions(-) diff --git a/v3-docs/docs/about/install.md b/v3-docs/docs/about/install.md index 1d685e9ec3..0f2800c44e 100644 --- a/v3-docs/docs/about/install.md +++ b/v3-docs/docs/about/install.md @@ -118,6 +118,19 @@ To be able to use the `meteor` command from fish it's needed to include `/home/< `set PATH /home//.meteor $PATH` +## Using AI with Meteor docs {#ai-docs} + +Meteor docs ships with [llms.txt](https://llmstxt.org/) file, which allows you to use AI tools like ChatGPT to answer questions about Meteor. + +If you have LM Studio installed or any other LLM tool, you can use the llms.txt file to ask questions about Meteor. + +```bash +curl https://docs.meteor.com/llms-full.txt -o meteor-docs.txt +``` + +Then, you can use the file with your LLM tool of choice. For example, if you have LM Studio installed, you can use their [chat with documents feature](https://lmstudio.ai/docs/app/basics/rag) +to ask questions about Meteor. + ## Uninstalling Meteor {#uninstall} If you installed Meteor using npx, you can remove it by running: diff --git a/v3-docs/docs/generators/meteor-versions/metadata.generated.js b/v3-docs/docs/generators/meteor-versions/metadata.generated.js index c21367d193..43514bd19a 100644 --- a/v3-docs/docs/generators/meteor-versions/metadata.generated.js +++ b/v3-docs/docs/generators/meteor-versions/metadata.generated.js @@ -26,9 +26,13 @@ export default { }, { "version": "v3.1.2", - "url": "https://release-3-1-2.docs.meteor.com/", + "url": "https://release-3-1-2.docs.meteor.com/" + }, + { + "version": "v3.2.0", + "url": "https://release-3-2-0.docs.meteor.com/", "isCurrent": true } ], - "currentVersion": "v3.1.2" + "currentVersion": "v3.2.0" } \ No newline at end of file diff --git a/v3-docs/docs/history.md b/v3-docs/docs/history.md index ac8ec9acc1..5d0e9a93f6 100644 --- a/v3-docs/docs/history.md +++ b/v3-docs/docs/history.md @@ -10,6 +10,8 @@ This is a complete history of changes for Meteor releases. [//]: # (go to meteor/docs/generators/changelog/docs) + + ## v3.2.0, 2025-03-18 ### Highlights @@ -17,9 +19,9 @@ This is a complete history of changes for Meteor releases. - Upgrade to Node 22.14.0 & Mongo 7.0.16. - Implement `meteor profile` command to show performance metrics of Meteor apps. - Fix Meteor profiler to handle promises and display metrics correctly. -- Support for argon2 to improve password security over bcrypt. [PR #13554](https://github.com/meteor/meteor/pull/13554) -- Improve and fix package resolution logic. [PR #13604](https://github.com/meteor/meteor/pull/13604) -- Fix rare oplog issue that could cause data loss for clients. [PR #13603](https://github.com/meteor/meteor/pull/13603) +- Support for argon2 to improve password security over bcrypt. [PR](https://github.com/meteor/meteor/pull/13554)(https://github.com/meteor/meteor/pull/13554) +- Improve and fix package resolution logic. [PR](https://github.com/meteor/meteor/pull/13604)(https://github.com/meteor/meteor/pull/13604) +- Fix rare oplog issue that could cause data loss for clients. [PR](https://github.com/meteor/meteor/pull/13603)(https://github.com/meteor/meteor/pull/13603) All detailed PRs can be found here: https://github.com/meteor/meteor/pulls?q=is%3Apr+is%3Amerged+base%3Arelease-3.2 @@ -76,8 +78,6 @@ meteor update --release 3.2 - [@Seb-Dion](https://github.com/Seb-Dion) ✨✨✨ - - ## v3.1.2, 2025-02-06 ### Highlights From 8803f52e4a7d2b32572da73fa8da88cc5f5b6e24 Mon Sep 17 00:00:00 2001 From: Gabriel Grubba Date: Tue, 1 Apr 2025 20:48:54 -0300 Subject: [PATCH 3/5] DOCS: Add reference to lm studio --- v3-docs/docs/about/install.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v3-docs/docs/about/install.md b/v3-docs/docs/about/install.md index 0f2800c44e..45cb9ac3d5 100644 --- a/v3-docs/docs/about/install.md +++ b/v3-docs/docs/about/install.md @@ -122,7 +122,7 @@ To be able to use the `meteor` command from fish it's needed to include `/home/< Meteor docs ships with [llms.txt](https://llmstxt.org/) file, which allows you to use AI tools like ChatGPT to answer questions about Meteor. -If you have LM Studio installed or any other LLM tool, you can use the llms.txt file to ask questions about Meteor. +If you have [LM Studio installed](https://lmstudio.ai/docs/app) or any other LLM tool, you can use the llms.txt file to ask questions about Meteor. ```bash curl https://docs.meteor.com/llms-full.txt -o meteor-docs.txt From 5adbff5d0dfe0ce6fe7bd16893a61431e7ead98d Mon Sep 17 00:00:00 2001 From: Gabriel Grubba Date: Tue, 1 Apr 2025 20:53:12 -0300 Subject: [PATCH 4/5] DEV: Bump express to 5.1.0 in webapp Also updated express types --- packages/webapp/package.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/webapp/package.js b/packages/webapp/package.js index 6e988ec31c..c57f709f3c 100644 --- a/packages/webapp/package.js +++ b/packages/webapp/package.js @@ -1,12 +1,12 @@ Package.describe({ summary: "Serves a Meteor app over HTTP", - version: "2.0.5", + version: "2.0.6", }); Npm.depends({ "cookie-parser": "1.4.6", - express: "5.0.1", - "@types/express": "5.0.0", + express: "5.1.0", + "@types/express": "5.0.1", compression: "1.7.4", errorhandler: "1.5.1", parseurl: "1.3.3", From 13066a5238a484b43aa41e9c71f2721a881518a1 Mon Sep 17 00:00:00 2001 From: Gabriel Grubba <70247653+Grubba27@users.noreply.github.com> Date: Wed, 2 Apr 2025 13:28:04 -0300 Subject: [PATCH 5/5] Update v3-docs/docs/about/install.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Italo José --- v3-docs/docs/about/install.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v3-docs/docs/about/install.md b/v3-docs/docs/about/install.md index 45cb9ac3d5..be31f87097 100644 --- a/v3-docs/docs/about/install.md +++ b/v3-docs/docs/about/install.md @@ -120,7 +120,7 @@ To be able to use the `meteor` command from fish it's needed to include `/home/< ## Using AI with Meteor docs {#ai-docs} -Meteor docs ships with [llms.txt](https://llmstxt.org/) file, which allows you to use AI tools like ChatGPT to answer questions about Meteor. +Meteor docs ships with [llms.txt](https://llmstxt.org/) file, which helps language models use your website If you have [LM Studio installed](https://lmstudio.ai/docs/app) or any other LLM tool, you can use the llms.txt file to ask questions about Meteor.