Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 26 additions & 3 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const config = {
organizationName: 'ten-protocol', // Usually your GitHub org/user name.
projectName: 'ten-documentation', // Usually your repo name.

onBrokenLinks: 'throw',
onBrokenLinks: 'warn',
onBrokenMarkdownLinks: 'warn',

// Even if you don't use internalization, you can use this field to set useful
Expand Down Expand Up @@ -61,6 +61,22 @@ const config = {
],
],

plugins: [
[
'@signalwire/docusaurus-plugin-llms-txt',
{
siteTitle: 'TEN Documentation',
siteDescription: 'Comprehensive guide to TEN protocol',
depth: 3,
content: {
includeBlog: false,
includePages: true,
enableLlmsFullTxt: true // Optional: generates llms-full.txt
}
}
]
],

themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
Expand All @@ -80,9 +96,16 @@ const config = {
},
{to: 'https://medium.com/obscuro-labs', label: 'Blog', position: 'left'},
{
href: 'https://github.com/ten-protocol/ten-documentation',
label: 'GitHub',
href: '/llms.txt',
label: 'llms.txt',
position: 'right',
target: '_blank',
},
{
href: '/llms-full.txt',
label: 'llms-full.txt',
position: 'right',
target: '_blank',
},
],
},
Expand Down
Loading