|
| 1 | +import type { DefaultTheme, LocaleSpecificConfig } from 'vitepress' |
| 2 | + |
| 3 | +export default { |
| 4 | + label: 'English', |
| 5 | + lang: 'en-US', |
| 6 | + description: 'A comprehensive CUDA kernel optimization laboratory for AI workloads', |
| 7 | + |
| 8 | + themeConfig: { |
| 9 | + nav: [ |
| 10 | + { text: 'Home', link: '/en/' }, |
| 11 | + { |
| 12 | + text: 'Guide', |
| 13 | + items: [ |
| 14 | + { text: 'GEMM Optimization', link: '/en/guide/gemm' }, |
| 15 | + { text: 'Memory Optimization', link: '/en/guide/memory' }, |
| 16 | + { text: 'Reduction Optimization', link: '/en/guide/reduction' }, |
| 17 | + { text: 'FlashAttention', link: '/en/guide/flash-attention' }, |
| 18 | + { text: 'CUDA 13 Features', link: '/en/guide/cuda13' } |
| 19 | + ] |
| 20 | + }, |
| 21 | + { |
| 22 | + text: 'API Reference', |
| 23 | + items: [ |
| 24 | + { text: 'C++ / CUDA API', link: '/cpp-api/index.html', target: '_blank' }, |
| 25 | + { text: 'Python API', link: '/python-api/index.html', target: '_blank' } |
| 26 | + ] |
| 27 | + }, |
| 28 | + { |
| 29 | + text: 'v0.3.0', |
| 30 | + items: [ |
| 31 | + { text: 'Changelog', link: '/en/changelog' }, |
| 32 | + { text: 'GitHub Releases', link: 'https://github.com/LessUp/hpc-ai-optimization-lab/releases' } |
| 33 | + ] |
| 34 | + } |
| 35 | + ], |
| 36 | + |
| 37 | + sidebar: { |
| 38 | + '/en/guide/': [ |
| 39 | + { |
| 40 | + text: 'Getting Started', |
| 41 | + collapsed: false, |
| 42 | + items: [ |
| 43 | + { text: 'Introduction', link: '/en/guide/' }, |
| 44 | + { text: 'Installation', link: '/en/guide/installation' }, |
| 45 | + { text: 'Quick Start', link: '/en/guide/quick-start' } |
| 46 | + ] |
| 47 | + }, |
| 48 | + { |
| 49 | + text: 'Core Guides', |
| 50 | + collapsed: false, |
| 51 | + items: [ |
| 52 | + { text: 'Memory Optimization', link: '/en/guide/memory' }, |
| 53 | + { text: 'Reduction Optimization', link: '/en/guide/reduction' }, |
| 54 | + { text: 'GEMM Optimization', link: '/en/guide/gemm' }, |
| 55 | + { text: 'FlashAttention', link: '/en/guide/flash-attention' }, |
| 56 | + { text: 'CUDA 13 Features', link: '/en/guide/cuda13' } |
| 57 | + ] |
| 58 | + }, |
| 59 | + { |
| 60 | + text: 'Advanced', |
| 61 | + collapsed: true, |
| 62 | + items: [ |
| 63 | + { text: 'Profiling', link: '/en/guide/profiling' }, |
| 64 | + { text: 'Best Practices', link: '/en/guide/best-practices' }, |
| 65 | + { text: 'Troubleshooting', link: '/en/guide/troubleshooting' } |
| 66 | + ] |
| 67 | + } |
| 68 | + ], |
| 69 | + '/en/api/': [ |
| 70 | + { |
| 71 | + text: 'API Reference', |
| 72 | + collapsed: false, |
| 73 | + items: [ |
| 74 | + { text: 'Overview', link: '/en/api/' }, |
| 75 | + { text: 'C++ / CUDA', link: '/cpp-api/index.html', target: '_blank' }, |
| 76 | + { text: 'Python', link: '/python-api/index.html', target: '_blank' }, |
| 77 | + { text: 'Architecture', link: '/en/api/architecture' } |
| 78 | + ] |
| 79 | + }, |
| 80 | + { |
| 81 | + text: 'Modules', |
| 82 | + collapsed: true, |
| 83 | + items: [ |
| 84 | + { text: 'Elementwise', link: '/en/api/elementwise' }, |
| 85 | + { text: 'Reduction', link: '/en/api/reduction' }, |
| 86 | + { text: 'GEMM', link: '/en/api/gemm' }, |
| 87 | + { text: 'Convolution', link: '/en/api/convolution' }, |
| 88 | + { text: 'Attention', link: '/en/api/attention' }, |
| 89 | + { text: 'Quantization', link: '/en/api/quantization' }, |
| 90 | + { text: 'CUDA 13', link: '/en/api/cuda13' } |
| 91 | + ] |
| 92 | + } |
| 93 | + ], |
| 94 | + '/en/examples/': [ |
| 95 | + { |
| 96 | + text: 'Examples', |
| 97 | + collapsed: false, |
| 98 | + items: [ |
| 99 | + { text: 'Overview', link: '/en/examples/' }, |
| 100 | + { text: 'Elementwise Operations', link: '/en/examples/elementwise' }, |
| 101 | + { text: 'Matrix Multiplication', link: '/en/examples/gemm' }, |
| 102 | + { text: 'Attention', link: '/en/examples/attention' }, |
| 103 | + { text: 'Python Bindings', link: '/en/examples/python' } |
| 104 | + ] |
| 105 | + } |
| 106 | + ] |
| 107 | + }, |
| 108 | + |
| 109 | + outline: { |
| 110 | + label: 'On this page' |
| 111 | + }, |
| 112 | + |
| 113 | + docFooter: { |
| 114 | + prev: 'Previous page', |
| 115 | + next: 'Next page' |
| 116 | + }, |
| 117 | + |
| 118 | + lastUpdated: { |
| 119 | + text: 'Last updated' |
| 120 | + }, |
| 121 | + |
| 122 | + editLink: { |
| 123 | + pattern: 'https://github.com/LessUp/hpc-ai-optimization-lab/edit/main/docs/:path', |
| 124 | + text: 'Edit this page on GitHub' |
| 125 | + }, |
| 126 | + |
| 127 | + footer: { |
| 128 | + message: 'Released under the Apache 2.0 License.', |
| 129 | + copyright: 'Copyright © 2024-2026 HPC-AI-Optimization-Lab Contributors' |
| 130 | + }, |
| 131 | + |
| 132 | + langMenuLabel: 'Change language', |
| 133 | + returnToTopLabel: 'Return to top', |
| 134 | + sidebarMenuLabel: 'Menu', |
| 135 | + darkModeSwitchLabel: 'Appearance', |
| 136 | + lightModeSwitchTitle: 'Switch to light theme', |
| 137 | + darkModeSwitchTitle: 'Switch to dark theme' |
| 138 | + } |
| 139 | +} as LocaleSpecificConfig<DefaultTheme.Config> |
0 commit comments