diff --git a/.vitepress/config.mts b/.vitepress/config.mts index db4cb7f950..24dded953f 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -48,8 +48,13 @@ export default defineConfig({ { text: 'Linter', link: '/docs/usage/linter' }, { text: 'Parser', link: '/docs/usage/parser' }, { text: 'Resolver', link: '/docs/usage/resolver' }, - { text: 'Philosophy', link: '/docs/usage/philosophy' }, ], + }, + { + items: [ + { text: 'Philosophy', link: '/docs/usage/philosophy' }, + { text: 'Benchmarks', link: '/docs/usage/benchmarks' }, + ] } ], '/docs/contribute/': [ @@ -92,10 +97,10 @@ export default defineConfig({ { text: 'References', link: '/docs/learn/references' }, ], '/blog/': [ - { text: 'High Performance JavaScript Toolchain', link: '/blog/2022-02-10-js-tooling-research' }, - { text: 'A research on JavaScript linters', link: '/blog/2022-08-08-linter-research' }, - { text: 'Announcing Oxc', link: '/blog/2023-11-07-announcing-oxc' }, { text: 'Oxlint General Availability', link: '/blog/2023-11-08-announcing-oxlint' }, + { text: 'Announcing Oxc', link: '/blog/2023-11-07-announcing-oxc' }, + { text: 'A research on JavaScript linters', link: '/blog/2022-08-08-linter-research' }, + { text: 'High Performance JavaScript Toolchain', link: '/blog/2022-02-10-js-tooling-research' }, ] }, }, diff --git a/docs/docs/usage/benchmarks.md b/docs/docs/usage/benchmarks.md new file mode 100644 index 0000000000..a01c30d629 --- /dev/null +++ b/docs/docs/usage/benchmarks.md @@ -0,0 +1,6 @@ +--- +title: Benchmarks +outline: deep +--- + +# Benchmarks diff --git a/docs/docs/usage/linter.md b/docs/docs/usage/linter.md index 38d17ee1b2..a0ff48dc82 100644 --- a/docs/docs/usage/linter.md +++ b/docs/docs/usage/linter.md @@ -4,7 +4,7 @@ outline: deep badges: - src: https://img.shields.io/npm/dw/oxlint alt: npm - - src: https://img.shields.io/github/stars/oxc-project/oxc" + - src: https://img.shields.io/github/stars/oxc-project/oxc alt: GitHub Repo stars --- diff --git a/docs/index.md b/docs/index.md index ad3b2b0cd1..43e2054fd0 100644 --- a/docs/index.md +++ b/docs/index.md @@ -2,9 +2,9 @@ # https://vitepress.dev/reference/default-theme-home-page layout: home hero: - name: "The JavaScript Oxidation Compiler" - text: "" - tagline: A collection of high-performance JavaScript tools written in Rust + name: 'The JavaScript Oxidation Compiler' + text: '' + tagline: A collection of JavaScript tools written in Rust image: src: https://raw.githubusercontent.com/oxc-project/oxc-assets/main/logo-round.png alt: The JavaScript Oxidation Compiler @@ -16,21 +16,21 @@ hero: text: View on GitHub link: https://github.com/oxc-project/oxc features: - - title: Parser + - title: Parser ✅ details: 2x faster than swc
Passes 99% of Test262 - - title: Linter + - title: Linter ✅ details: 50 - 100x faster than ESLint
Zero config - - title: Resolver - details: 28 faster than enhanced-resolve
Feature complete + - title: Resolver ✅ + details: 28x faster than enhanced-resolve
Feature complete + - title: Formatter 🚧 + details: Prettier compatible
Work in progress - title: Transformer - details: Babel Compatible
Work in Progress + details: Babel compatible
Prototype - title: Minifier - details: Speed of ESBuild
Optimization of Google Closure Compiler
Prototype - - title: Formatter - details: Prettier-like
To be worked on - - title: Ezno Type Checker - details: A novel type checker with TypeScript syntax - - title: Rspack Bundler + details: Optimization of Google Closure Compiler
Prototype + - title: Ezno Type Checker + details: A novel TypeScript type checker + - title: Rspack Bundler ✅ details: Rust port of Webpack
Partnership - title: Rolldown Bundler details: Rust port of Rollup
Partnership