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
100 changes: 99 additions & 1 deletion docs/dqx/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,105 @@ const config: Config = {
}
},
'docusaurus-plugin-image-zoom',
'docusaurus-lunr-search'
'docusaurus-lunr-search',
[
// TODO: pinned to pre-release alpha; revisit when a stable 2.0.0 is published
// https://www.npmjs.com/package/@signalwire/docusaurus-plugin-llms-txt
'@signalwire/docusaurus-plugin-llms-txt',
{
// Markdown file generation with hierarchical structure
markdown: {
enableFiles: true,
relativePaths: true,
includeBlog: false,
includePages: true,
includeDocs: true,
includeVersionedDocs: false,
excludeRoutes: [],
},

// llms.txt index file configuration
llmsTxt: {
enableLlmsFullTxt: true,
includeBlog: false,
includePages: true,
includeDocs: true,
excludeRoutes: [],

// Site metadata
siteTitle: 'DQX',
siteDescription: 'Simplified Data Quality checking at Scale for PySpark Workloads on streaming and standard DataFrames.',

// Auto-section organization (set to 1 to minimize auto-sections)
autoSectionDepth: 1, // Group by first path segment only
autoSectionPosition: 100, // Auto-sections appear after manual sections

// Manual section organization
sections: [
{
id: 'getting-started',
name: 'Getting Started',
description: 'Installation and motivation for using DQX',
position: 1,
// Intentionally hardcoded: installation and motivation live at the
// top-level docs/ path, not under a getting-started/ subdirectory.
// If a new getting-started page is added, include it explicitly here.
routes: [
{ route: '/dqx/docs/installation' },
Comment thread
sundarshankar89 marked this conversation as resolved.
{ route: '/dqx/docs/motivation' }
],
},
{
id: 'user-guide',
name: 'User Guide',
description: 'Complete guide for using DQX features',
position: 2,
routes: [
{ route: '/dqx/docs/guide/**' }
],
},
{
id: 'reference',
name: 'Reference',
description: 'API reference, CLI commands, and technical documentation',
position: 3,
routes: [
{ route: '/dqx/docs/reference/**' }
],
},
{
id: 'development',
name: 'Development',
description: 'Contributing and development documentation',
position: 4,
routes: [
{ route: '/dqx/docs/dev/**' }
],
},
{
id: 'demos',
name: 'Demos',
description: 'Example implementations and demos',
position: 5,
routes: [
{ route: '/dqx/docs/demos' },
{ route: '/dqx/docs/demos/**' }
],
},
{
id: 'home',
name: 'Home',
description: 'DQX homepage',
position: 0,
routes: [
{ route: '/dqx/' },
{ route: '/dqx/index' }
],
},
],
},
}
]
],

presets: [
Expand Down
1 change: 1 addition & 0 deletions docs/dqx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"@docusaurus/preset-classic": "^3.8.1",
"@mdx-js/react": "^3.0.0",
"@radix-ui/react-slot": "^1.1.1",
"@signalwire/docusaurus-plugin-llms-txt": "2.0.0-alpha.7",
Comment thread
sundarshankar89 marked this conversation as resolved.
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"docusaurus-lunr-search": "3.6.1",
Expand Down
Loading