Skip to content

Commit b0873ed

Browse files
committed
chore: Setup docs llms plugin
1 parent 8d75b7d commit b0873ed

File tree

3 files changed

+354
-4
lines changed

3 files changed

+354
-4
lines changed

website/docusaurus.config.js

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
/* eslint-disable global-require,import/no-extraneous-dependencies */
1+
const path = require('path');
2+
23
const { config } = require('@apify/docs-theme');
4+
35
const { externalLinkProcessor } = require('./tools/utils/externalLink');
46
const { groupSort } = require('./transformDocs.js');
5-
const path = require('path');
67

78
const { absoluteUrl } = config;
89

@@ -29,9 +30,8 @@ module.exports = {
2930
trailingSlash: false,
3031
organizationName: 'apify',
3132
projectName: 'apify-client-python',
32-
scripts: ['/js/custom.js'],
3333
favicon: 'img/favicon.ico',
34-
scripts: [...(config.scripts ?? [])],
34+
scripts: ['/js/custom.js', ...(config.scripts ?? [])],
3535
onBrokenLinks:
3636
/** @type {import('@docusaurus/types').ReportingSeverity} */ ('warn'),
3737
onBrokenMarkdownLinks:
@@ -106,6 +106,20 @@ module.exports = {
106106
},
107107
},
108108
],
109+
[
110+
'@signalwire/docusaurus-plugin-llms-txt',
111+
{
112+
enableDescriptions: false,
113+
content: {
114+
includeVersionedDocs: false,
115+
enableLlmsFullTxt: true,
116+
includeBlog: true,
117+
includeGeneratedIndex: false,
118+
includePages: true,
119+
relativePaths: false,
120+
},
121+
},
122+
],
109123
...config.plugins,
110124
],
111125
themeConfig: {

0 commit comments

Comments
 (0)