|
| 1 | +import { defineConfig } from 'vitepress' |
| 2 | + |
| 3 | +// https://vitepress.dev/reference/site-config |
| 4 | +export default defineConfig({ |
| 5 | + title: "Caido", |
| 6 | + titleTemplate: "Documentation", |
| 7 | + description: "Official Caido Documentation", |
| 8 | + |
| 9 | + srcDir: 'src', |
| 10 | + |
| 11 | + head: [ |
| 12 | + ['link', { rel: 'icon', href: '/favicon.png' }], |
| 13 | + ["script", { "data-api": "/stats/event", src: "/stats/script.js", "defer":"", "data-domain":"docs.caido.io" }] |
| 14 | + ], |
| 15 | + ignoreDeadLinks: "localhostLinks", |
| 16 | + |
| 17 | + themeConfig: { |
| 18 | + logo: '/logo.png', |
| 19 | + |
| 20 | + search: { |
| 21 | + provider: 'local', |
| 22 | + }, |
| 23 | + |
| 24 | + nav: [ |
| 25 | + { text: 'Home', link: '/' }, |
| 26 | + { text: 'Quickstart', link: '/introduction' }, |
| 27 | + ], |
| 28 | + |
| 29 | + sidebar: [ |
| 30 | + { |
| 31 | + text: 'Introduction', |
| 32 | + link: '/introduction' |
| 33 | + }, |
| 34 | + { |
| 35 | + text: 'Documentation Directory', |
| 36 | + link: '/doc_directory' |
| 37 | + }, |
| 38 | + { |
| 39 | + text: 'FAQ', |
| 40 | + link: '/faq' |
| 41 | + }, |
| 42 | + { |
| 43 | + text: 'Common Errors', |
| 44 | + link: '/common_errors' |
| 45 | + }, |
| 46 | + { |
| 47 | + text: 'Report a Bug', |
| 48 | + link: '/report_bug' |
| 49 | + }, |
| 50 | + { |
| 51 | + text: "Beginner's Guide", |
| 52 | + items: [ |
| 53 | + { text: 'Welcome to Caido', items: [ |
| 54 | + { text: 'Introduction to Caido', link: '/beginner_guide/welcome_to_caido/onboarding' } |
| 55 | + ] |
| 56 | + }, |
| 57 | + { text: 'Setup', items: [ |
| 58 | + { text: 'Downloading and Installing', link: '/beginner_guide/setup/install' }, |
| 59 | + { text: 'Basic Configuration', link: '/beginner_guide/setup/config' }, |
| 60 | + { text: 'Uploading Files for Use in Automate', link: '/beginner_guide/setup/file_upload' } |
| 61 | + ] |
| 62 | + }, |
| 63 | + { text: 'First Steps with Caido', items: [ |
| 64 | + { text: 'Creating Your First Project', link: '/beginner_guide/first_steps_with_caido/project' }, |
| 65 | + { text: 'Capturing and Inspecting Traffic', link: '/beginner_guide/first_steps_with_caido/traffic' }, |
| 66 | + { text: 'Forwarding and Modifying Requests Repeatedly', link: '/beginner_guide/first_steps_with_caido/replay' }, |
| 67 | + { text: 'Automating Brute-Forcing/Fuzzing', link: '/beginner_guide/first_steps_with_caido/automate' } |
| 68 | + ] |
| 69 | + }, |
| 70 | + { text: 'Support', items: [ |
| 71 | + { text: 'Common Errors and Solutions', link: '/beginner_guide/getting_help/support' } |
| 72 | + ] |
| 73 | + } |
| 74 | + ] |
| 75 | + }, |
| 76 | + { |
| 77 | + text: 'User Guide', |
| 78 | + items: [ |
| 79 | + { text: 'Installation', link: '/user_guide/installation' }, |
| 80 | + { text: 'Running on a VPS', link: '/user_guide/vps' }, |
| 81 | + { text: 'Running in Docker', link: '/user_guide/docker' } |
| 82 | + ] |
| 83 | + }, |
| 84 | + { |
| 85 | + text: 'Configuration', |
| 86 | + items: [ |
| 87 | + { text: 'Listening Address/Port', link: '/configuration/listening_address' }, |
| 88 | + { text: 'CA Certificate', link: '/configuration/import_ca_certificate' }, |
| 89 | + { text: 'Data Location', link: '/configuration/data_location' } |
| 90 | + ] |
| 91 | + }, |
| 92 | + { |
| 93 | + text: 'Show Case', |
| 94 | + items: [ |
| 95 | + { text: 'Overviews', link: '/show_case/overviews' }, |
| 96 | + { text: 'Interviews', link: '/show_case/interviews' }, |
| 97 | + { text: 'Tutorials', link: '/show_case/tutorials' } |
| 98 | + ] |
| 99 | + }, |
| 100 | + { |
| 101 | + text: 'Concepts', |
| 102 | + items: [ |
| 103 | + { text: 'Instances', link: '/concepts/instances' }, |
| 104 | + { text: 'HTTPQL', link: '/concepts/httpql' }, |
| 105 | + { text: 'Workflows', link: '/concepts/workflows', items: [ |
| 106 | + { text: 'Nodes', link: '/concepts/nodes' } |
| 107 | + ] |
| 108 | + }, |
| 109 | + { text: 'Tabs', link: '/concepts/tabs' }, |
| 110 | + { text: 'Layout', link: '/concepts/layout' } |
| 111 | + ] |
| 112 | + }, |
| 113 | + { |
| 114 | + text: 'Features', |
| 115 | + items: [ |
| 116 | + { text: 'Overview', items: [ |
| 117 | + { text: 'Sitemap', link: '/features/overview/sitemap' }, |
| 118 | + { text: 'Scope', link: '/features/overview/scope' }, |
| 119 | + { text: 'Filters', link: '/features/overview/filters' } |
| 120 | + ] |
| 121 | + }, |
| 122 | + { text: 'Proxy', items: [ |
| 123 | + { text: 'Intercept', link: '/features/proxy/intercept' }, |
| 124 | + { text: 'HTTP History', link: '/features/proxy/http_history' }, |
| 125 | + { text: 'WS History', link: '/features/proxy/ws_history' }, |
| 126 | + { text: 'Match & Replace', link: '/features/proxy/match_replace' } |
| 127 | + ] |
| 128 | + }, |
| 129 | + { text: 'Testing', items: [ |
| 130 | + { text: 'Replay', link: '/features/testing/replay' }, |
| 131 | + { text: 'Automate', link: '/features/testing/automate' }, |
| 132 | + { text: 'Assistant', link: '/features/testing/assistant' }, |
| 133 | + { text: 'Workflows', link: '/features/testing/workflows', items: [ |
| 134 | + { text: 'Passive', link: '/features/testing/workflows/passive' }, |
| 135 | + { text: 'Convert', link: '/features/testing/workflows/convert' } |
| 136 | + ] |
| 137 | + } |
| 138 | + ] |
| 139 | + }, |
| 140 | + { text: 'Logging', items: [ |
| 141 | + { text: 'Search', link: '/features/logging/search' }, |
| 142 | + { text: 'Exports', link: '/features/logging/exports' } |
| 143 | + ] |
| 144 | + }, |
| 145 | + { text: 'Workspace', items: [ |
| 146 | + { text: 'Files', link: '/features/workspace/files' }, |
| 147 | + { text: 'Projects', link: '/features/workspace/projects' }, |
| 148 | + { text: 'Backups', link: '/features/workspace/backups' } |
| 149 | + ] |
| 150 | + } |
| 151 | + ] |
| 152 | + }, |
| 153 | + { |
| 154 | + text: 'Plugins', |
| 155 | + items: [ |
| 156 | + { text: 'Custom CSS', link: '/plugins/custom_css' }, |
| 157 | + { text: '(WIP) Custom JS', link: '/plugins/custom_js' }, |
| 158 | + { text: '(WIP) Custom Workflow Nodes', link: '/plugins/custom_workflow_nodes' } |
| 159 | + ] |
| 160 | + }, |
| 161 | + { |
| 162 | + text: 'Internals', |
| 163 | + items: [ |
| 164 | + { text: 'Files', link: '/internals/files' }, |
| 165 | + { text: 'Cloud', link: '/internals/cloud' }, |
| 166 | + { text: 'Authentication', link: '/internals/authentication' } |
| 167 | + ] |
| 168 | + }, |
| 169 | + { |
| 170 | + text: 'Community Contributions', |
| 171 | + link: '/contributions/documentation' |
| 172 | + } |
| 173 | + ], |
| 174 | + |
| 175 | + socialLinks: [ |
| 176 | + { icon: 'discord', link: 'https://links.caido.io/discord' }, |
| 177 | + { icon: 'twitter', link: 'https://twitter.com/caidoio' }, |
| 178 | + { icon: 'github', link: 'https://github.com/caido/caido' }, |
| 179 | + ] |
| 180 | + } |
| 181 | +}) |
0 commit comments