Skip to content

Commit

Permalink
docs: Add Vercel analytics to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mrousavy committed Nov 13, 2024
1 parent 728ea5c commit 15aea2f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
Binary file modified bun.lockb
Binary file not shown.
14 changes: 10 additions & 4 deletions docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ import type { Config } from '@docusaurus/types';
import type * as Preset from '@docusaurus/preset-classic';

const config: Config = {
future: {
experimental_faster: true,
},

title: 'Nitro Modules',
tagline:
'A framework to build mindblowingly fast native modules with type-safe statically compiled JS bindings.',
Expand All @@ -33,6 +29,10 @@ const config: Config = {
locales: ['en'],
},

future: {
experimental_faster: true,
},

presets: [
[
'classic',
Expand All @@ -47,6 +47,12 @@ const config: Config = {
} satisfies Preset.Options,
],
],
plugins: [
[
'vercel-analytics',
{ },
],
],

markdown: {
mermaid: true,
Expand Down
1 change: 1 addition & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"@docusaurus/core": "3.6.1",
"@docusaurus/faster": "3.6.1",
"@docusaurus/plugin-sitemap": "3.6.1",
"@docusaurus/plugin-vercel-analytics": "^3.6.1",
"@docusaurus/preset-classic": "3.6.1",
"@docusaurus/theme-mermaid": "3.6.1",
"@mdx-js/react": "^3.0.0",
Expand Down

0 comments on commit 15aea2f

Please sign in to comment.