Skip to content

Commit bb64df4

Browse files
authored
docs: Setup docs llms plugin (#452)
Part of apify/apify-docs#1711
1 parent 4d8123f commit bb64df4

File tree

3 files changed

+353
-4
lines changed

3 files changed

+353
-4
lines changed

website/docusaurus.config.js

Lines changed: 17 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,19 @@ module.exports = {
106106
},
107107
},
108108
],
109+
[
110+
'@signalwire/docusaurus-plugin-llms-txt',
111+
{
112+
content: {
113+
includeVersionedDocs: false,
114+
enableLlmsFullTxt: true,
115+
includeBlog: true,
116+
includeGeneratedIndex: false,
117+
includePages: true,
118+
relativePaths: false,
119+
},
120+
},
121+
],
109122
...config.plugins,
110123
],
111124
themeConfig: {

0 commit comments

Comments
 (0)