|
| 1 | +import { defineConfig } from 'astro/config'; |
| 2 | +import starlight from '@astrojs/starlight'; |
| 3 | +import react from '@astrojs/react'; |
| 4 | + |
| 5 | +export default defineConfig({ |
| 6 | + site: 'https://awslabs.github.io', |
| 7 | + base: '/graphrag-toolkit', |
| 8 | + integrations: [ |
| 9 | + react(), |
| 10 | + starlight({ |
| 11 | + title: 'GraphRAG Toolkit', |
| 12 | + description: |
| 13 | + 'Documentation for the AWS GraphRAG Toolkit — lexical-graph and BYOKG-RAG.', |
| 14 | + logo: { src: './src/assets/logo.svg' }, |
| 15 | + customCss: ['./src/styles/custom.css'], |
| 16 | + social: { |
| 17 | + github: 'https://github.com/awslabs/graphrag-toolkit', |
| 18 | + }, |
| 19 | + head: [ |
| 20 | + { |
| 21 | + tag: 'link', |
| 22 | + attrs: { |
| 23 | + rel: 'stylesheet', |
| 24 | + href: 'https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap', |
| 25 | + }, |
| 26 | + }, |
| 27 | + ], |
| 28 | + sidebar: [ |
| 29 | + { |
| 30 | + label: 'Lexical Graph', |
| 31 | + items: [ |
| 32 | + { label: 'Overview', slug: 'lexical-graph/overview' }, |
| 33 | + { label: 'Graph Model', slug: 'lexical-graph/graph-model' }, |
| 34 | + { label: 'Storage Model', slug: 'lexical-graph/storage-model' }, |
| 35 | + { |
| 36 | + label: 'Indexing', |
| 37 | + items: [ |
| 38 | + { label: 'Indexing', slug: 'lexical-graph/indexing' }, |
| 39 | + { label: 'Batch Extraction', slug: 'lexical-graph/batch-extraction' }, |
| 40 | + { label: 'Configuring Batch Extraction', slug: 'lexical-graph/configuring-batch-extraction' }, |
| 41 | + { label: 'Versioned Updates', slug: 'lexical-graph/versioned-updates' }, |
| 42 | + { label: 'Metadata Filtering', slug: 'lexical-graph/metadata-filtering' }, |
| 43 | + { label: 'Reader Providers', slug: 'lexical-graph/readers' }, |
| 44 | + { label: 'External Properties', slug: 'lexical-graph/external-properties' }, |
| 45 | + ], |
| 46 | + }, |
| 47 | + { |
| 48 | + label: 'Querying', |
| 49 | + items: [ |
| 50 | + { label: 'Querying', slug: 'lexical-graph/querying' }, |
| 51 | + { label: 'Traversal-Based Search', slug: 'lexical-graph/traversal-based-search' }, |
| 52 | + { label: 'Traversal-Based Search Configuration', slug: 'lexical-graph/traversal-based-search-configuration' }, |
| 53 | + { label: 'Semantic-Guided Search', slug: 'lexical-graph/semantic-guided-search' }, |
| 54 | + ], |
| 55 | + }, |
| 56 | + { |
| 57 | + label: 'Graph Stores', |
| 58 | + items: [ |
| 59 | + { label: 'Neptune Analytics', slug: 'lexical-graph/graph-store-neptune-analytics' }, |
| 60 | + { label: 'Neptune Database', slug: 'lexical-graph/graph-store-neptune-db' }, |
| 61 | + { label: 'Neo4j', slug: 'lexical-graph/graph-store-neo4j' }, |
| 62 | + { label: 'FalkorDB', slug: 'lexical-graph/graph-store-falkor-db' }, |
| 63 | + ], |
| 64 | + }, |
| 65 | + { |
| 66 | + label: 'Vector Stores', |
| 67 | + items: [ |
| 68 | + { label: 'Neptune Analytics', slug: 'lexical-graph/vector-store-neptune-analytics' }, |
| 69 | + { label: 'OpenSearch Serverless', slug: 'lexical-graph/vector-store-opensearch-serverless' }, |
| 70 | + { label: 'Postgres', slug: 'lexical-graph/vector-store-postgres' }, |
| 71 | + { label: 'S3 Vectors', slug: 'lexical-graph/vector-store-s3-vectors' }, |
| 72 | + ], |
| 73 | + }, |
| 74 | + { label: 'Configuration', slug: 'lexical-graph/configuration' }, |
| 75 | + { label: 'Multi-Tenancy', slug: 'lexical-graph/multi-tenancy' }, |
| 76 | + { label: 'Custom Prompts', slug: 'lexical-graph/prompts' }, |
| 77 | + { label: 'Security', slug: 'lexical-graph/security' }, |
| 78 | + { label: 'Hybrid Deployment', slug: 'lexical-graph/hybrid-deployment' }, |
| 79 | + { label: 'AWS Profile Configuration', slug: 'lexical-graph/aws-profile' }, |
| 80 | + { label: 'Nova 2 Model Support', slug: 'lexical-graph/nova-2-model-support' }, |
| 81 | + { label: 'FAQ', slug: 'lexical-graph/faq' }, |
| 82 | + ], |
| 83 | + }, |
| 84 | + { |
| 85 | + label: 'BYOKG-RAG', |
| 86 | + items: [ |
| 87 | + { label: 'Overview', slug: 'byokg-rag/overview' }, |
| 88 | + { label: 'Indexing', slug: 'byokg-rag/indexing' }, |
| 89 | + { label: 'Query Engine', slug: 'byokg-rag/query-engine' }, |
| 90 | + { label: 'Graph Retrievers', slug: 'byokg-rag/graph-retrievers' }, |
| 91 | + { label: 'Multi-Strategy Retrieval', slug: 'byokg-rag/multi-strategy-retrieval' }, |
| 92 | + { label: 'Configuration', slug: 'byokg-rag/configuration' }, |
| 93 | + { label: 'FAQ', slug: 'byokg-rag/faq' }, |
| 94 | + ], |
| 95 | + }, |
| 96 | + ], |
| 97 | + }), |
| 98 | + ], |
| 99 | +}); |
0 commit comments