Skip to content

Commit 6e6fd5e

Browse files
authored
docs: Setup docs llms plugin (#527)
Part of apify/apify-docs#1711
1 parent 9b6e337 commit 6e6fd5e

File tree

3 files changed

+350
-2
lines changed

3 files changed

+350
-2
lines changed

website/docusaurus.config.js

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,8 @@ module.exports = {
3434
trailingSlash: false,
3535
organizationName: 'apify',
3636
projectName: 'apify-sdk-python',
37-
scripts: ['/js/custom.js'],
3837
favicon: 'img/favicon.ico',
39-
scripts: [...(config.scripts ?? [])],
38+
scripts: ['/js/custom.js', ...(config.scripts ?? [])],
4039
githubHost: 'github.com',
4140
future: {
4241
experimental_faster: {
@@ -260,6 +259,19 @@ module.exports = {
260259
],
261260
},
262261
],
262+
[
263+
'@signalwire/docusaurus-plugin-llms-txt',
264+
{
265+
content: {
266+
includeVersionedDocs: false,
267+
enableLlmsFullTxt: true,
268+
includeBlog: true,
269+
includeGeneratedIndex: false,
270+
includePages: true,
271+
relativePaths: false,
272+
},
273+
},
274+
],
263275
...config.plugins,
264276
],
265277
themeConfig: {

0 commit comments

Comments
 (0)