Skip to content

Commit

Permalink
Upgrade to nextra 3
Browse files Browse the repository at this point in the history
  • Loading branch information
cooolbros committed Jan 16, 2025
1 parent af2d329 commit 7297a2f
Show file tree
Hide file tree
Showing 10 changed files with 1,887 additions and 1,127 deletions.
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
engine-strict=true
hoist=false
node-linker=hoisted
4 changes: 2 additions & 2 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"@types/react": "^18.2.22",
"autoprefixer": "^10.4.16",
"next": "^15.0.3",
"nextra": "^2.13.3",
"nextra-theme-docs": "^2.13.3",
"nextra": "^3.3.1",
"nextra-theme-docs": "^3.3.1",
"postcss": "^8.4.31",
"postcss-load-config": "^4.0.1",
"react": "^18.2.0",
Expand Down
5 changes: 0 additions & 5 deletions apps/docs/src/pages/_app.mdx

This file was deleted.

6 changes: 6 additions & 0 deletions apps/docs/src/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import type { AppProps } from "next/app"
import "../styles/globals.css"

export default function App({ Component, pageProps }: AppProps) {
return <Component {...pageProps} />
}
4 changes: 0 additions & 4 deletions apps/docs/src/pages/_meta.json

This file was deleted.

4 changes: 4 additions & 0 deletions apps/docs/src/pages/_meta.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export default {
index: "Introduction",
installation: "Installation"
}
5 changes: 0 additions & 5 deletions apps/docs/src/pages/installation/_meta.json

This file was deleted.

5 changes: 5 additions & 0 deletions apps/docs/src/pages/installation/_meta.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export default {
vscode: "VSCode",
vscodium: "VSCodium",
source: "Source"
}
33 changes: 14 additions & 19 deletions apps/docs/theme.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,20 @@ export default {
),
docsRepositoryBase: "https://github.com/cooolbros/vscode-vdf/tree/main/apps/docs",
footer: {
text: (
<div>
<div className="text-black dark:text-white mb-4">Links</div>
<ul className="grid gap-1">
<li>
<a href="https://github.com/cooolbros/vscode-vdf" target="_blank">Github</a>
</li>
<li>
<a href="https://marketplace.visualstudio.com/items?itemName=pfwobcke.vscode-vdf" target="_blank">Visual Studio Marketplace</a>
</li>
<li>
<a href="https://open-vsx.org/extension/pfwobcke/vscode-vdf" target="_blank">Open VSX Registry</a>
</li>
</ul>
</div>
)
component: <div>
<div className="text-black dark:text-white mb-4">Links</div>
<ul className="grid gap-1">
<li>
<a href="https://github.com/cooolbros/vscode-vdf" target="_blank">Github</a>
</li>
<li>
<a href="https://marketplace.visualstudio.com/items?itemName=pfwobcke.vscode-vdf" target="_blank">Visual Studio Marketplace</a>
</li>
<li>
<a href="https://open-vsx.org/extension/pfwobcke/vscode-vdf" target="_blank">Open VSX Registry</a>
</li>
</ul>
</div>
},
logo: (
<div className="flex gap-4 items-center">
Expand All @@ -34,7 +32,4 @@ export default {
project: {
link: "https://github.com/cooolbros/vscode-vdf"
},
sidebar: {
toggleButton: true
},
} satisfies DocsThemeConfig
2,946 changes: 1,855 additions & 1,091 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

0 comments on commit 7297a2f

Please sign in to comment.