|
1 |
| -import { defineConfig } from 'vitepress' |
2 |
| -import {atom01Icon} from "./icons.mjs"; |
| 1 | +import { defineConfig } from "vitepress"; |
| 2 | +import { atom01Icon } from "./icons.mjs"; |
3 | 3 |
|
4 | 4 | // https://vitepress.dev/reference/site-config
|
5 | 5 | export default defineConfig({
|
6 | 6 | title: "virtualOS",
|
7 | 7 | titleTemplate: ":title | virtualOS",
|
| 8 | + srcDir: "content", |
| 9 | + lastUpdated: true, |
8 | 10 | description: "A virtualization CLI for macOS environments",
|
| 11 | + cleanUrls: true, |
9 | 12 | sitemap: {
|
10 |
| - hostname: "https://virtualos.tuist.io", |
| 13 | + hostname: "https://virtualos.tuist.dev", |
11 | 14 | },
|
12 | 15 | head: [
|
13 | 16 | [
|
14 |
| - "script", |
15 |
| - {}, |
16 |
| - ` |
17 |
| - !function(t,e){var o,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=function(i,s,a){function g(t,e){var o=e.split(".");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement("script")).type="text/javascript",p.async=!0,p.src=s.api_host.replace(".i.posthog.com","-assets.i.posthog.com")+"/static/array.js",(r=t.getElementsByTagName("script")[0]).parentNode.insertBefore(p,r);var u=e;for(void 0!==a?u=e[a]=[]:a="posthog",u.people=u.people||[],u.toString=function(t){var e="posthog";return"posthog"!==a&&(e+="."+a),t||(e+=" (stub)"),e},u.people.toString=function(){return u.toString(1)+".people (stub)"},o="capture identify alias people.set people.set_once set_config register register_once unregister opt_out_capturing has_opted_out_capturing opt_in_capturing reset isFeatureEnabled onFeatureFlags getFeatureFlag getFeatureFlagPayload reloadFeatureFlags group updateEarlyAccessFeatureEnrollment getEarlyAccessFeatures getActiveMatchingSurveys getSurveys onSessionId".split(" "),n=0;n<o.length;n++)g(u,o[n]);e._i.push([i,s,a])},e.__SV=1)}(document,window.posthog||[]); |
18 |
| - posthog.init('phc_EnaSStQDtLbwAfHCaqpFtwMPPq6mNRjuw8dZbtpFNoH',{api_host:'https://eu.i.posthog.com'}) |
19 |
| - `, |
| 17 | + "meta", |
| 18 | + { property: "og:url", content: "https://virtualos.tuist.dev" }, |
| 19 | + "", |
20 | 20 | ],
|
| 21 | + ["meta", { property: "og:type", content: "website" }, ""], |
21 | 22 | [
|
22 |
| - "script", |
23 |
| - {}, |
24 |
| - ` |
25 |
| - !function(t){if(window.ko)return;window.ko=[],["identify","track","removeListeners","open","on","off","qualify","ready"].forEach(function(t){ko[t]=function(){var n=[].slice.call(arguments);return n.unshift(t),ko.push(n),ko}});var n=document.createElement("script");n.async=!0,n.setAttribute("src","https://cdn.getkoala.com/v1/pk_3f80a3529ec2914b714a3f740d10b12642b9/sdk.js"),(document.body || document.head).appendChild(n)}(); |
26 |
| - `, |
| 23 | + "meta", |
| 24 | + { property: "og:image", content: "https://virtualos.tuist.dev/og.jpeg" }, |
| 25 | + "", |
| 26 | + ], |
| 27 | + ["meta", { name: "twitter:card", content: "summary" }, ""], |
| 28 | + [ |
| 29 | + "meta", |
| 30 | + { property: "twitter:domain", content: "virtualos.tuist.dev" }, |
| 31 | + "", |
| 32 | + ], |
| 33 | + [ |
| 34 | + "meta", |
| 35 | + { property: "twitter:url", content: "https://virtualos.tuist.dev" }, |
| 36 | + "", |
| 37 | + ], |
| 38 | + [ |
| 39 | + "meta", |
| 40 | + { |
| 41 | + name: "twitter:image", |
| 42 | + content: "https://virtualos.tuist.dev/og.jpeg", |
| 43 | + }, |
| 44 | + "", |
27 | 45 | ],
|
28 | 46 | ],
|
29 | 47 | themeConfig: {
|
| 48 | + logo: "/logo.png", |
30 | 49 | editLink: {
|
31 |
| - pattern: 'https://github.com/tuist/virtualos/edit/main/docs/:path' |
| 50 | + pattern: "https://github.com/tuist/virtualos/edit/main/docs/:path", |
32 | 51 | },
|
33 | 52 | nav: [
|
34 |
| - { text: 'Tuist', link: 'https://tuist.io' }, |
35 |
| - { text: 'Slack', link: 'https://slack.tuist.io' } |
| 53 | + { text: "Tuist", link: "https://tuist.dev" }, |
| 54 | + { text: "Community", link: "https://community.tuist.dev" }, |
| 55 | + { text: "Slack", link: "https://slack.tuist.dev" }, |
36 | 56 | ],
|
37 | 57 | search: {
|
38 | 58 | provider: "local",
|
39 | 59 | },
|
40 | 60 | sidebar: [
|
41 | 61 | {
|
42 |
| - text: `<div style="display: flex; flex-direction: row; align-items: center; gap: 7px;">Examples ${atom01Icon()}</div>`, |
43 |
| - items: [ |
44 |
| - { text: 'Markdown Examples', link: '/markdown-examples' }, |
45 |
| - { text: 'Runtime API Examples', link: '/api-examples' } |
46 |
| - ] |
47 |
| - } |
| 62 | + text: `<div style="display: flex; flex-direction: row; align-items: center; gap: 7px;">virtualOS ${atom01Icon()}</div>`, |
| 63 | + link: "/", |
| 64 | + items: [{ text: "Markdown Examples", link: "/markdown-examples" }], |
| 65 | + }, |
48 | 66 | ],
|
49 |
| - |
| 67 | + editLink: { |
| 68 | + pattern: |
| 69 | + "https://github.com/tuist/virtualos/edit/main/docs/content/:path", |
| 70 | + }, |
50 | 71 | socialLinks: [
|
51 |
| - { icon: 'github', link: 'https://github.com/vuejs/vitepress' } |
52 |
| - ] |
53 |
| - } |
54 |
| -}) |
| 72 | + { icon: "github", link: "https://github.com/tuist/tuist" }, |
| 73 | + { icon: "bluesky", link: "https://bsky.app/profile/tuist.dev" }, |
| 74 | + { icon: "mastodon", link: "https://fosstodon.org/@tuist" }, |
| 75 | + { |
| 76 | + icon: "slack", |
| 77 | + link: "https://join.slack.com/t/tuistapp/shared_invite/zt-1y667mjbk-s2LTRX1YByb9EIITjdLcLw", |
| 78 | + }, |
| 79 | + ], |
| 80 | + footer: { |
| 81 | + message: "Released under the MIT License.", |
| 82 | + copyright: "Copyright © 2024-present Tuist GmbH", |
| 83 | + }, |
| 84 | + }, |
| 85 | +}); |
0 commit comments