Skip to content

Commit ebd580c

Browse files
authored
fix: llms plugin integration cleanup (#986)
## 📜 Description Update plugin for generating `llms.txt`. ## 💡 Motivation and Context The issue was fixed in upstream repo so patch is not needed anymore. Additionally new version can generate `llms-full.txt` file. Also after revising content of `llms.txt` I realized that blog is not needed and also content gets duplicated because of the `next` tag, so in this PR I'm also doing a small cleanup. ## 📢 Changelog <!-- High level overview of important changes --> <!-- For example: fixed status bar manipulation; added new types declarations; --> <!-- If your changes don't affect one of platform/language below - then remove this platform/language --> ### Docs - generate `llms-full.txt`; - don't include blog in `llms.txt`; - exclude `next` docs; - fixed title; - removed patch; - updated `@signalwire/docusaurus-plugin-llms-txt` to `1.1.0`; ## 🤔 How Has This Been Tested? Tested locally. ## 📸 Screenshots (if appropriate): <img width="256" alt="image" src="https://github.com/user-attachments/assets/38d0bc2f-ff1a-4500-b671-2f1837eb5112" /> ## 📝 Checklist - [x] CI successfully passed - [x] I added new mocks and corresponding unit-tests if library API was changed
1 parent f5d6ea2 commit ebd580c

File tree

4 files changed

+8
-21
lines changed

4 files changed

+8
-21
lines changed

docs/docusaurus.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,14 +113,14 @@ const config = {
113113
{
114114
// Plugin options
115115
depth: 3,
116-
siteTitle: "react-native0keyboard-controller",
116+
siteTitle: "react-native-keyboard-controller",
117117
siteDescription:
118118
"Documentation for react-native-keyboard-controller. Package that allows to control each frame of keyboard movement in react native.",
119119
content: {
120-
includeBlog: true,
121120
includePages: true,
122-
excludeRoutes: ["**/docs/1.*/**"],
121+
excludeRoutes: ["**/docs/1.*/**", "**/docs/next/**"],
123122
enableMarkdownFiles: true,
123+
enableLlmsFullTxt: true,
124124
},
125125
},
126126
],

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"@docusaurus/core": "3.4.0",
2121
"@docusaurus/preset-classic": "3.4.0",
2222
"@mdx-js/react": "^3.0.0",
23-
"@signalwire/docusaurus-plugin-llms-txt": "^1.0.1",
23+
"@signalwire/docusaurus-plugin-llms-txt": "^1.1.0",
2424
"clsx": "^2.0.0",
2525
"lottie-react": "^2.4.0",
2626
"prism-react-renderer": "^2.3.0",

docs/patches/@signalwire+docusaurus-plugin-llms-txt+1.0.1.patch

Lines changed: 0 additions & 13 deletions
This file was deleted.

docs/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1884,10 +1884,10 @@
18841884
resolved "https://registry.yarnpkg.com/@sideway/pinpoint/-/pinpoint-2.0.0.tgz#cff8ffadc372ad29fd3f78277aeb29e632cc70df"
18851885
integrity sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==
18861886

1887-
"@signalwire/docusaurus-plugin-llms-txt@^1.0.1":
1888-
version "1.0.1"
1889-
resolved "https://registry.yarnpkg.com/@signalwire/docusaurus-plugin-llms-txt/-/docusaurus-plugin-llms-txt-1.0.1.tgz#1f4d3f7aa5f5c5e4ac5de799067797322569cdd6"
1890-
integrity sha512-90wg9LM6/I1pSHud6iNVUd6r25MmeHaRWo9vpfkyvTAPbuHYArLJyCiYxkKWssKSaMbdz7HrGNe+fPDAhwk6jg==
1887+
"@signalwire/docusaurus-plugin-llms-txt@^1.1.0":
1888+
version "1.1.0"
1889+
resolved "https://registry.yarnpkg.com/@signalwire/docusaurus-plugin-llms-txt/-/docusaurus-plugin-llms-txt-1.1.0.tgz#fb008911b28b7ee642fd3f556f3636fac32acf14"
1890+
integrity sha512-3smrvEDT343aBcOOlw39MF4/XANFrZPzBUVSuo0URgZvaguwBVrc3+Ih0Ogl2SCOo4XGzuSwRRn3Mk1IxYAIwQ==
18911891
dependencies:
18921892
fs-extra "^11.0.0"
18931893
hast-util-select "^6.0.4"

0 commit comments

Comments
 (0)