Skip to content

Commit a1c5d6b

Browse files
authored
chore: Setup docs llms plugin (#722)
Part of apify/apify-docs#1711
1 parent 95a4d6d commit a1c5d6b

File tree

3 files changed

+663
-0
lines changed

3 files changed

+663
-0
lines changed

website/docusaurus.config.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,26 @@ module.exports = {
109109
routeBasePath: '/reference',
110110
},
111111
],
112+
[
113+
'@signalwire/docusaurus-plugin-llms-txt',
114+
{
115+
content: {
116+
includeVersionedDocs: false,
117+
enableLlmsFullTxt: true,
118+
includeBlog: true,
119+
includeGeneratedIndex: false,
120+
includePages: true,
121+
relativePaths: false,
122+
excludeRoutes: [
123+
'/api/client/js/reference/2.*/**',
124+
'/api/client/js/reference/2.*',
125+
'/api/client/js/reference/next/**',
126+
'/api/client/js/reference/next',
127+
],
128+
routeRules: [{ route: '/api/client/js/**', depth: 1, categoryName: 'Apify JavaScript client' }],
129+
},
130+
},
131+
],
112132
...config.plugins,
113133
],
114134
themeConfig: { ...config.themeConfig, versions },

0 commit comments

Comments
 (0)