Skip to content

Commit

Permalink
docs: upgrade to Nextra 3 (#511)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri POSTOLOV authored Oct 11, 2023
1 parent 4f4ac19 commit 93099fd
Show file tree
Hide file tree
Showing 7 changed files with 1,384 additions and 843 deletions.
16 changes: 9 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
**/.DS_Store
node_modules
lib
umd
dist
.vscode
.DS_Store
node_modules/
lib/
umd/
dist/
.vscode/
.yarn/*
!.yarn/releases
!.yarn/plugins
.next
.next/
website/src/pages/docs
website/algolia-lockfile.json
website/public/sitemap.xml
.idea/
16 changes: 8 additions & 8 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@
"build": "next build && next-sitemap --config next-sitemap.config.cjs && next export -o dist"
},
"dependencies": {
"@theguild/components": "^5.2.1",
"clsx": "^1.2.1",
"next": "^13.4.7",
"next-sitemap": "^4.1.3",
"@theguild/components": "^6.0.0",
"clsx": "^2.0.0",
"next": "^13.5.4",
"next-sitemap": "^4.2.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-icons": "^4.10.1"
"react-icons": "^4.11.0"
},
"devDependencies": {
"@theguild/algolia": "^1.1.8",
"@theguild/tailwind-config": "^0.2.2",
"@types/react": "^18.2.13",
"@theguild/algolia": "^1.1.9",
"@theguild/tailwind-config": "^0.3.0",
"@types/react": "^18.2.28",
"typescript": "^5.1.3"
}
}
5 changes: 0 additions & 5 deletions website/src/pages/_app.mdx

This file was deleted.

6 changes: 6 additions & 0 deletions website/src/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import '@theguild/components/style.css';
import { AppProps } from 'next/app';

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

This file was deleted.

13 changes: 13 additions & 0 deletions website/src/pages/_meta.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
export default {
index: {
title: 'Index',
type: 'page',
display: 'hidden',
theme: {
layout: 'raw',
},
},
'get-started': 'Get Started',
recipes: 'Recipes',
docs: 'Documentation',
};
Loading

0 comments on commit 93099fd

Please sign in to comment.