Skip to content

Commit c1478ac

Browse files
committed
Add docusaurus-plugin-llms to config
Integrated `docusaurus-plugin-llms` with configuration options for generating LLMs text files and content cleaning. Also corrected the tagline capitalization for consistency.
1 parent 650af04 commit c1478ac

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docusaurus.config.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,21 @@ const config = {
279279
},
280280
],
281281
require.resolve('docusaurus-plugin-image-zoom'),
282+
[
283+
'docusaurus-plugin-llms',
284+
{
285+
generateLLMsTxt: true,
286+
generateLLMsFullTxt: true,
287+
docsDir: 'docs',
288+
version: 'latest',
289+
title: 'ScalarDB Documentation',
290+
description: 'Cloud-native universal transaction manager',
291+
// Content cleaning options
292+
excludeImports: true, // This configuration currently option doesn't seem to work as expected. I don't think it's a major issue, but we should upgrade the plugin when a new version is available to see if the issue is fixed.
293+
removeDuplicateHeadings: true, // This configuration currently option doesn't seem to work as expected. I don't think it's a major issue, but we should upgrade the plugin when a new version is available to see if the issue is fixed.
294+
includeUnmatchedLast: true,
295+
},
296+
],
282297
[
283298
'@docusaurus/plugin-pwa',
284299
{

0 commit comments

Comments
 (0)