|
1 |
| -import {createRequire} from 'module'; |
2 |
| - |
3 | 1 | import {defineConfig} from '@lando/vitepress-theme-default-plus/config';
|
4 | 2 |
|
5 |
| -const require = createRequire(import.meta.url); |
6 |
| - |
7 |
| -const {version} = require('../package.json'); |
8 |
| - |
9 | 3 | export default defineConfig({
|
10 | 4 | title: 'Lando',
|
11 | 5 | description: 'Documentation.',
|
12 | 6 | landoDocs: 3,
|
13 |
| - base: '/', |
14 | 7 | head: [
|
15 | 8 | ['meta', {name: 'viewport', content: 'width=device-width, initial-scale=1'}],
|
16 | 9 | ['link', {rel: 'icon', href: '/favicon.ico', size: 'any'}],
|
@@ -48,99 +41,99 @@ export default defineConfig({
|
48 | 41 | text: 'Guides',
|
49 | 42 | collapsed: true,
|
50 | 43 | items: [
|
51 |
| - {"link": "/guides/access-by-other-devices.html", "text": "Accessing Lando from Other Devices on Your Local Network"}, |
52 |
| - {"link": "/guides/db-export.html", "text": "SQL Export"}, |
53 |
| - {"link": "/guides/db-import.html", "text": "SQL Import"}, |
54 |
| - {"link": "/guides/external-access.html", "text": "Accessing Your Services Externally"}, |
55 |
| - {"link": "/guides/how-do-i-configure-a-lando-recipe.html", "text": "How do I configure a Lando Recipe?"}, |
56 |
| - {"link": "/guides/how-do-i-set-the-timezone-of-a-lando-service.html", "text": "How do I set the timezone of a Lando service?"}, |
57 |
| - {"link": "/guides/lando-info.html", "text": "Using $LANDO_INFO"}, |
58 |
| - {"link": "/guides/lando-phpstorm.html", "text": "Lando + PhpStorm + Xdebug"}, |
59 |
| - {"link": "/guides/lando-with-vscode.html", "text": "Using Lando with VSCode"}, |
60 |
| - {"link": "/guides/offline-dev.html", "text": "Developing offline"}, |
61 |
| - {"link": "/guides/overriding-a-service-version.html", "text": "Overriding a Service Version or Image"}, |
62 |
| - {"link": "/guides/updating-to-rc2.html", "text": "Updating to 3.0.0-rc.2+"}, |
63 |
| - {"link": "/guides/lando-corporate-network-tips.html", "text": "Lando in Corporate Network Environments"}, |
64 |
| - {"link": "/guides/accessibility.html", "text": "Accessibility and Lando"} |
| 44 | + {link: '/guides/access-by-other-devices.html', text: 'Accessing Lando from Other Devices on Your Local Network'}, |
| 45 | + {link: '/guides/db-export.html', text: 'SQL Export'}, |
| 46 | + {link: '/guides/db-import.html', text: 'SQL Import'}, |
| 47 | + {link: '/guides/external-access.html', text: 'Accessing Your Services Externally'}, |
| 48 | + {link: '/guides/how-do-i-configure-a-lando-recipe.html', text: 'How do I configure a Lando Recipe?'}, |
| 49 | + {link: '/guides/how-do-i-set-the-timezone-of-a-lando-service.html', text: 'How do I set the timezone of a Lando service?'}, |
| 50 | + {link: '/guides/lando-info.html', text: 'Using $LANDO_INFO'}, |
| 51 | + {link: '/guides/lando-phpstorm.html', text: 'Lando + PhpStorm + Xdebug'}, |
| 52 | + {link: '/guides/lando-with-vscode.html', text: 'Using Lando with VSCode'}, |
| 53 | + {link: '/guides/offline-dev.html', text: 'Developing offline'}, |
| 54 | + {link: '/guides/overriding-a-service-version.html', text: 'Overriding a Service Version or Image'}, |
| 55 | + {link: '/guides/updating-to-rc2.html', text: 'Updating to 3.0.0-rc.2+'}, |
| 56 | + {link: '/guides/lando-corporate-network-tips.html', text: 'Lando in Corporate Network Environments'}, |
| 57 | + {link: '/guides/accessibility.html', text: 'Accessibility and Lando'}, |
65 | 58 | ],
|
66 | 59 | },
|
67 | 60 | {
|
68 | 61 | text: 'Troubleshooting',
|
69 | 62 | collapsed: true,
|
70 | 63 | items: [
|
71 |
| - {"link": "/help/logs.html", "text": "Accessing Logs"}, |
72 |
| - {"link": "/help/wkbox.html", "text": "Using Lando with Kalabox"}, |
73 |
| - {"link": "/help/updating.html", "text": "Updating"}, |
74 |
| - {"link": "/help/purging-containers.html", "text": "Purging Containers"}, |
75 |
| - {"link": "/help/dns-rebind.html", "text": "DNS Rebinding Protection"}, |
76 |
| - {"link": "/help/win-file-upload.html", "text": "Uploading Files in Windows"}, |
77 |
| - {"link": "/help/file-sync.html", "text": "File syncing issues"}, |
78 |
| - {"link": "/help/win-also-vb.html", "text": "Windows is also running VirtualBox"}, |
79 |
| - {"link": "/help/proxy", "text": "Running Lando behind a Proxy"}, |
80 |
| - {"link": "/help/switching-dbs.html", "text": "Switching Database Configuration"} |
| 64 | + {link: '/help/logs.html', text: 'Accessing Logs'}, |
| 65 | + {link: '/help/wkbox.html', text: 'Using Lando with Kalabox'}, |
| 66 | + {link: '/help/updating.html', text: 'Updating'}, |
| 67 | + {link: '/help/purging-containers.html', text: 'Purging Containers'}, |
| 68 | + {link: '/help/dns-rebind.html', text: 'DNS Rebinding Protection'}, |
| 69 | + {link: '/help/win-file-upload.html', text: 'Uploading Files in Windows'}, |
| 70 | + {link: '/help/file-sync.html', text: 'File syncing issues'}, |
| 71 | + {link: '/help/win-also-vb.html', text: 'Windows is also running VirtualBox'}, |
| 72 | + {link: '/help/proxy', text: 'Running Lando behind a Proxy'}, |
| 73 | + {link: '/help/switching-dbs.html', text: 'Switching Database Configuration'}, |
81 | 74 | ],
|
82 | 75 | },
|
83 | 76 | {
|
84 | 77 | text: 'Contributing',
|
85 | 78 | collapsed: true,
|
86 | 79 | items: [
|
87 |
| - {"link": "/contrib/index.html", "text": "Getting Involved"}, |
88 |
| - {"link": "/contrib/coder.html", "text": "Coding"}, |
89 |
| - {"link": "/contrib/evangelist.html", "text": "Evangelizing"}, |
90 |
| - {"link": "/contrib/sponsoring.html", "text": "Sponsoring"} |
| 80 | + {link: '/contrib/index.html', text: 'Getting Involved'}, |
| 81 | + {link: '/contrib/coder.html', text: 'Coding'}, |
| 82 | + {link: '/contrib/evangelist.html', text: 'Evangelizing'}, |
| 83 | + {link: '/contrib/sponsoring.html', text: 'Sponsoring'}, |
91 | 84 | ],
|
92 | 85 | },
|
93 | 86 | ],
|
94 | 87 | },
|
95 | 88 | },
|
96 | 89 | });
|
97 | 90 |
|
98 |
| -function configSideBar() { |
99 |
| - return [ |
100 |
| - { |
101 |
| - text: 'Theme Configuration', |
102 |
| - collapsed: false, |
103 |
| - items: [ |
104 |
| - {text: 'Configuration', link: '/config/config'}, |
105 |
| - {text: 'Frontmatter', link: '/config/frontmatter'}, |
106 |
| - {text: 'useCollection()', link: '/composables/use-collection'}, |
107 |
| - {text: 'useTeam()', link: '/composables/use-team'}, |
108 |
| - ], |
109 |
| - }, |
110 |
| - { |
111 |
| - text: 'Pages', |
112 |
| - collapsed: false, |
113 |
| - items: [ |
114 |
| - {text: 'Collections', link: '/pages/collections'}, |
115 |
| - {text: 'Teams', link: '/pages/teams'}, |
116 |
| - ], |
117 |
| - }, |
118 |
| - { |
119 |
| - text: 'Global Components', |
120 |
| - collapsed: false, |
121 |
| - items: [ |
122 |
| - {text: 'Jobs', link: '/components/jobs'}, |
123 |
| - {text: 'MailChimp', link: '/components/mailchimp'}, |
124 |
| - {text: 'Sponsor', link: '/components/sponsors'}, |
125 |
| - {text: 'YouTube', link: '/components/youtube'}, |
126 |
| - ], |
127 |
| - }, |
128 |
| - { |
129 |
| - text: 'Markdown Containers', |
130 |
| - collapsed: false, |
131 |
| - items: [ |
132 |
| - {text: 'Admonitions', link: '/markdown/admonitions'}, |
133 |
| - {text: 'Alignments', link: '/markdown/alignments'}, |
134 |
| - {text: 'Boxes', link: '/markdown/boxes'}, |
135 |
| - {text: 'Cards', link: '/markdown/cards'}, |
136 |
| - {text: 'Columns', link: '/markdown/columns'}, |
137 |
| - {text: 'Highlights', link: '/markdown/highlights'}, |
138 |
| - {text: 'Tabs', link: '/markdown/tabs'}, |
139 |
| - {text: 'Thumbnails', link: '/markdown/thumbnails'}, |
140 |
| - {text: 'Advanced', link: '/guides/advanced-markdown'}, |
141 |
| - ], |
142 |
| - }, |
143 |
| - {text: 'Blog', link: '/blog'}, |
144 |
| - {text: 'Guides', link: '/guides'}, |
145 |
| - ]; |
146 |
| -} |
| 91 | +// function configSideBar() { |
| 92 | +// return [ |
| 93 | +// { |
| 94 | +// text: 'Theme Configuration', |
| 95 | +// collapsed: false, |
| 96 | +// items: [ |
| 97 | +// {text: 'Configuration', link: '/config/config'}, |
| 98 | +// {text: 'Frontmatter', link: '/config/frontmatter'}, |
| 99 | +// {text: 'useCollection()', link: '/composables/use-collection'}, |
| 100 | +// {text: 'useTeam()', link: '/composables/use-team'}, |
| 101 | +// ], |
| 102 | +// }, |
| 103 | +// { |
| 104 | +// text: 'Pages', |
| 105 | +// collapsed: false, |
| 106 | +// items: [ |
| 107 | +// {text: 'Collections', link: '/pages/collections'}, |
| 108 | +// {text: 'Teams', link: '/pages/teams'}, |
| 109 | +// ], |
| 110 | +// }, |
| 111 | +// { |
| 112 | +// text: 'Global Components', |
| 113 | +// collapsed: false, |
| 114 | +// items: [ |
| 115 | +// {text: 'Jobs', link: '/components/jobs'}, |
| 116 | +// {text: 'MailChimp', link: '/components/mailchimp'}, |
| 117 | +// {text: 'Sponsor', link: '/components/sponsors'}, |
| 118 | +// {text: 'YouTube', link: '/components/youtube'}, |
| 119 | +// ], |
| 120 | +// }, |
| 121 | +// { |
| 122 | +// text: 'Markdown Containers', |
| 123 | +// collapsed: false, |
| 124 | +// items: [ |
| 125 | +// {text: 'Admonitions', link: '/markdown/admonitions'}, |
| 126 | +// {text: 'Alignments', link: '/markdown/alignments'}, |
| 127 | +// {text: 'Boxes', link: '/markdown/boxes'}, |
| 128 | +// {text: 'Cards', link: '/markdown/cards'}, |
| 129 | +// {text: 'Columns', link: '/markdown/columns'}, |
| 130 | +// {text: 'Highlights', link: '/markdown/highlights'}, |
| 131 | +// {text: 'Tabs', link: '/markdown/tabs'}, |
| 132 | +// {text: 'Thumbnails', link: '/markdown/thumbnails'}, |
| 133 | +// {text: 'Advanced', link: '/guides/advanced-markdown'}, |
| 134 | +// ], |
| 135 | +// }, |
| 136 | +// {text: 'Blog', link: '/blog'}, |
| 137 | +// {text: 'Guides', link: '/guides'}, |
| 138 | +// ]; |
| 139 | +// } |
0 commit comments