|
1 | 1 | import { defineConfig } from "vitepress"; |
2 | 2 | import { withMermaid } from "vitepress-plugin-mermaid"; |
3 | 3 |
|
4 | | -export default withMermaid(defineConfig({ |
5 | | - title: "FTL Documentation", |
6 | | - description: "Documentation for FTL - Faster Than Light Deployment Tool", |
7 | | - srcDir: "./docs", |
| 4 | +export default withMermaid( |
| 5 | + defineConfig({ |
| 6 | + title: "FTL Documentation", |
| 7 | + description: "Documentation for FTL - Faster Than Light Deployment Tool", |
| 8 | + srcDir: "./docs", |
8 | 9 |
|
9 | | - markdown: { |
10 | | - theme: { |
11 | | - light: 'github-light', |
12 | | - dark: 'github-dark' |
| 10 | + markdown: { |
| 11 | + theme: { |
| 12 | + light: "github-light", |
| 13 | + dark: "github-dark", |
| 14 | + }, |
| 15 | + languages: ["yaml", "bash", "javascript", "json", "dockerfile"], |
13 | 16 | }, |
14 | | - languages: ['yaml', 'bash', 'javascript', 'json', 'dockerfile'] |
15 | | - }, |
16 | 17 |
|
17 | | - themeConfig: { |
18 | | - nav: [ |
19 | | - { text: "Home", link: "/" }, |
20 | | - { text: "Getting Started", link: "/getting-started/" }, |
21 | | - { text: "Core Tasks", link: "/core-tasks/" }, |
22 | | - { text: "Configuration", link: "/configuration/" }, |
23 | | - { text: "Guides", link: "/guides/" }, |
24 | | - { text: "Reference", link: "/reference/" } |
25 | | - ], |
26 | | - |
27 | | - sidebar: { |
28 | | - "/": [ |
29 | | - { |
30 | | - text: "Getting Started", |
31 | | - collapsed: false, |
32 | | - items: [ |
33 | | - { text: "Introduction", link: "/getting-started/" }, |
34 | | - { text: "Installation", link: "/getting-started/installation" }, |
35 | | - { text: "Configuration", link: "/getting-started/configuration" }, |
36 | | - { |
37 | | - text: "First Deployment", |
38 | | - link: "/getting-started/first-deployment", |
39 | | - }, |
40 | | - ], |
41 | | - }, |
42 | | - { |
43 | | - text: "Core Tasks", |
44 | | - collapsed: false, |
45 | | - items: [ |
46 | | - { text: "Overview", link: "/core-tasks/" }, |
47 | | - { text: "Server Setup", link: "/core-tasks/server-setup" }, |
48 | | - { text: "Building", link: "/core-tasks/building" }, |
49 | | - { text: "Deployment", link: "/core-tasks/deployment" }, |
50 | | - { text: "Logging", link: "/core-tasks/logging" }, |
51 | | - { text: "Tunneling", link: "/core-tasks/tunneling" }, |
52 | | - ], |
53 | | - }, |
54 | | - { |
55 | | - text: "Configuration", |
56 | | - collapsed: true, |
57 | | - items: [ |
58 | | - { text: "Overview", link: "/configuration/" }, |
59 | | - { |
60 | | - text: "Project Settings", |
61 | | - link: "/configuration/project-settings", |
62 | | - }, |
63 | | - { text: "Services", link: "/configuration/services" }, |
64 | | - { text: "Dependencies", link: "/configuration/dependencies" }, |
65 | | - { text: "Volumes", link: "/configuration/volumes" }, |
66 | | - ], |
67 | | - }, |
68 | | - { |
69 | | - text: "Guides", |
70 | | - collapsed: true, |
71 | | - items: [ |
72 | | - { text: "Overview", link: "/guides/" }, |
73 | | - { text: "Zero-downtime Deployment", link: "/guides/zero-downtime" }, |
74 | | - { text: "Health Checks", link: "/guides/health-checks" }, |
75 | | - { text: "SSL Management", link: "/guides/ssl-management" }, |
76 | | - ], |
77 | | - }, |
78 | | - { |
79 | | - text: "Reference", |
80 | | - collapsed: true, |
81 | | - items: [ |
82 | | - { text: "Overview", link: "/reference/" }, |
83 | | - { text: "CLI Commands", link: "/reference/cli-commands" }, |
84 | | - { |
85 | | - text: "Configuration File", |
86 | | - link: "/reference/configuration-file", |
87 | | - }, |
88 | | - { text: "Environment Variables", link: "/reference/environment" }, |
89 | | - { text: "Troubleshooting", link: "/reference/troubleshooting" }, |
90 | | - ], |
91 | | - }, |
| 18 | + themeConfig: { |
| 19 | + nav: [ |
| 20 | + { text: "Home", link: "/" }, |
| 21 | + { text: "Getting Started", link: "/getting-started/" }, |
| 22 | + { text: "Core Tasks", link: "/core-tasks/" }, |
| 23 | + { text: "Configuration", link: "/configuration/" }, |
| 24 | + { text: "Guides", link: "/guides/" }, |
| 25 | + { text: "Reference", link: "/reference/" }, |
92 | 26 | ], |
93 | | - }, |
94 | 27 |
|
95 | | - socialLinks: [{ icon: "github", link: "https://github.com/yarlson/ftl" }], |
| 28 | + sidebar: { |
| 29 | + "/": [ |
| 30 | + { |
| 31 | + text: "Getting Started", |
| 32 | + collapsed: false, |
| 33 | + items: [ |
| 34 | + { text: "Introduction", link: "/getting-started/" }, |
| 35 | + { text: "Installation", link: "/getting-started/installation" }, |
| 36 | + { text: "Configuration", link: "/getting-started/configuration" }, |
| 37 | + { |
| 38 | + text: "First Deployment", |
| 39 | + link: "/getting-started/first-deployment", |
| 40 | + }, |
| 41 | + ], |
| 42 | + }, |
| 43 | + { |
| 44 | + text: "Core Tasks", |
| 45 | + collapsed: false, |
| 46 | + items: [ |
| 47 | + { text: "Overview", link: "/core-tasks/" }, |
| 48 | + { text: "Server Setup", link: "/core-tasks/server-setup" }, |
| 49 | + { text: "Building", link: "/core-tasks/building" }, |
| 50 | + { text: "Deployment", link: "/core-tasks/deployment" }, |
| 51 | + { text: "Logging", link: "/core-tasks/logging" }, |
| 52 | + { text: "Tunneling", link: "/core-tasks/tunneling" }, |
| 53 | + ], |
| 54 | + }, |
| 55 | + { |
| 56 | + text: "Configuration", |
| 57 | + collapsed: true, |
| 58 | + items: [ |
| 59 | + { text: "Overview", link: "/configuration/" }, |
| 60 | + { |
| 61 | + text: "Project Settings", |
| 62 | + link: "/configuration/project-settings", |
| 63 | + }, |
| 64 | + { text: "Services", link: "/configuration/services" }, |
| 65 | + { text: "Dependencies", link: "/configuration/dependencies" }, |
| 66 | + { text: "Volumes", link: "/configuration/volumes" }, |
| 67 | + ], |
| 68 | + }, |
| 69 | + { |
| 70 | + text: "Guides", |
| 71 | + collapsed: true, |
| 72 | + items: [ |
| 73 | + { text: "Overview", link: "/guides/" }, |
| 74 | + { |
| 75 | + text: "Zero-downtime Deployment", |
| 76 | + link: "/guides/zero-downtime", |
| 77 | + }, |
| 78 | + { text: "Health Checks", link: "/guides/health-checks" }, |
| 79 | + { text: "SSL Management", link: "/guides/ssl-management" }, |
| 80 | + ], |
| 81 | + }, |
| 82 | + { |
| 83 | + text: "Reference", |
| 84 | + collapsed: true, |
| 85 | + items: [ |
| 86 | + { text: "Overview", link: "/reference/" }, |
| 87 | + { text: "CLI Commands", link: "/reference/cli-commands" }, |
| 88 | + { |
| 89 | + text: "Configuration File", |
| 90 | + link: "/reference/configuration-file", |
| 91 | + }, |
| 92 | + { text: "Environment Variables", link: "/reference/environment" }, |
| 93 | + { text: "Troubleshooting", link: "/reference/troubleshooting" }, |
| 94 | + ], |
| 95 | + }, |
| 96 | + ], |
| 97 | + }, |
96 | 98 |
|
97 | | - footer: { |
98 | | - message: "Released under the MIT License.", |
99 | | - copyright: "Copyright © 2024-present FTL Contributors", |
100 | | - }, |
| 99 | + socialLinks: [{ icon: "github", link: "https://github.com/yarlson/ftl" }], |
101 | 100 |
|
102 | | - search: { |
103 | | - provider: "local", |
104 | | - }, |
| 101 | + footer: { |
| 102 | + message: "Released under the MIT License.", |
| 103 | + copyright: "Copyright © 2024-present FTL Contributors", |
| 104 | + }, |
| 105 | + |
| 106 | + search: { |
| 107 | + provider: "local", |
| 108 | + }, |
105 | 109 |
|
106 | | - outline: { |
107 | | - level: [2, 3], |
108 | | - label: "On this page", |
| 110 | + outline: { |
| 111 | + level: [2, 3], |
| 112 | + label: "On this page", |
| 113 | + }, |
109 | 114 | }, |
110 | | - }, |
111 | | -})); |
| 115 | + }), |
| 116 | +); |
0 commit comments