From a8b73829d546bb3883099a446c614444a925fd1f Mon Sep 17 00:00:00 2001 From: marchantweb Date: Tue, 2 Dec 2025 21:38:57 -0500 Subject: [PATCH 01/32] chore: gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 40efa36bc3c..fbe734a2957 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ yarn-debug.log* yarn-error.log* /temp +/.idea/ From d7c5dd0af46a33e3f2bb470d2439c696e1df6c73 Mon Sep 17 00:00:00 2001 From: marchantweb Date: Tue, 2 Dec 2025 21:46:59 -0500 Subject: [PATCH 02/32] feat: first pass --- .vitepress/config/shared.ts | 16 ++++ .vitepress/theme/components/Hero.vue | 3 +- .vitepress/theme/index.ts | 8 +- package.json | 5 +- pnpm-lock.yaml | 9 +++ src/index.md | 115 ++------------------------- src/team.md | 2 +- 7 files changed, 44 insertions(+), 114 deletions(-) diff --git a/.vitepress/config/shared.ts b/.vitepress/config/shared.ts index 62c69e56ba1..74840e23e78 100644 --- a/.vitepress/config/shared.ts +++ b/.vitepress/config/shared.ts @@ -108,6 +108,7 @@ export const sharedConfig = defineConfig({ pageData.frontmatter.head.push(["meta", { property: "og:url", content: url }]); }, themeConfig: { + variant: 'oxc', siteTitle: "Oxc", logo: "https://cdn.jsdelivr.net/gh/oxc-project/oxc-assets/round.svg", search: { @@ -134,6 +135,21 @@ export const sharedConfig = defineConfig({ }, }, vite: { + optimizeDeps: { + exclude: ['@docsearch/css'], + }, + server: { + fs: { + // Allow serving files from the linked theme package + allow: [resolve(__dirname, '..', '..', '..')], + }, + watch: { + ignored: ['!**/node_modules/@voidzero-dev/**'], + }, + }, + ssr: { + noExternal: ['@voidzero-dev/vitepress-theme'], + }, plugins: [ groupIconVitePlugin({ customIcon: { diff --git a/.vitepress/theme/components/Hero.vue b/.vitepress/theme/components/Hero.vue index 3591ede2337..873beefafd6 100644 --- a/.vitepress/theme/components/Hero.vue +++ b/.vitepress/theme/components/Hero.vue @@ -1,6 +1,7 @@ - -

Brought to you by

- - - -
-
-
+ + + + diff --git a/src/team.md b/src/team.md index 35e80b9f024..12314cfd5c0 100644 --- a/src/team.md +++ b/src/team.md @@ -11,7 +11,7 @@ import { VPTeamPageTitle, VPTeamPageSection, VPTeamMembers -} from 'vitepress/theme' +} from '@voidzero-dev/vitepress-theme' import { CORE_TEAM_MEMBERS, CONSULTANTS, EMERITI } from '@constants/team' From 2850d470013befe06e3f04694e02f83d63388532 Mon Sep 17 00:00:00 2001 From: marchantweb Date: Wed, 3 Dec 2025 17:09:51 -0500 Subject: [PATCH 03/32] feat: first pass --- src/index.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/index.md b/src/index.md index 3f2b41dc5b1..485f0505e33 100644 --- a/src/index.md +++ b/src/index.md @@ -7,7 +7,11 @@ theme: dark + + + + + From 3a6b4c9ad2935c4d86962e2b94174537adc1686a Mon Sep 17 00:00:00 2001 From: marchantweb Date: Wed, 3 Dec 2025 19:58:10 -0500 Subject: [PATCH 04/32] feat: Footer --- .vitepress/config/shared.ts | 32 ++++++++++++++++++++++++++++++++ src/index.md | 7 +++++++ 2 files changed, 39 insertions(+) diff --git a/.vitepress/config/shared.ts b/.vitepress/config/shared.ts index 74840e23e78..40a25973a5c 100644 --- a/.vitepress/config/shared.ts +++ b/.vitepress/config/shared.ts @@ -127,6 +127,38 @@ export const sharedConfig = defineConfig({ footer: { message: `Released under the MIT License.`, copyright: "Copyright © 2023-present VoidZero Inc.", + nav: [ + { + title: "Oxc", + items: [ + { text: "Guide", link: "/docs/guide/introduction" }, + { text: "Learn", link: "/docs/learn/parser_in_rust/intro" }, + { text: "Contribute", link: "/docs/contribute/introduction" }, + { text: "Playground", link: "https://playground.oxc.rs" }, + { text: "Sponsor", link: "/sponsor" }, + ], + }, + { + title: "Resources", + items: [ + { text: "Blog", link: "/blog/2025-12-01-oxfmt-alpha" }, + { text: "Team", link: "/team" }, + ], + }, + /*{ + title: "Legal", + items: [ + { text: "Terms & Conditions", link: "https://voidzero.dev/terms" }, + { text: "Privacy Policy", link: "https://voidzero.dev/privacy" }, + { text: "Cookie Policy", link: "https://voidzero.dev/cookies" }, + ], + },*/ + ], + social: [ + { icon: "github", link: "https://github.com/oxc-project/oxc" }, + { icon: "discord", link: "https://discord.gg/9uXCAwqQZW" }, + { icon: "bluesky", link: "https://bsky.app/profile/boshen.github.io" }, + ], }, }, markdown: { diff --git a/src/index.md b/src/index.md index 485f0505e33..3650d62301b 100644 --- a/src/index.md +++ b/src/index.md @@ -14,4 +14,11 @@ theme: dark + +