Skip to content

Commit

Permalink
docs: upgrade to Nextra 3 (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaMachina authored Oct 11, 2023
1 parent 458839d commit cab877a
Show file tree
Hide file tree
Showing 8 changed files with 1,036 additions and 550 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ dist/
.idea/
website/src/pages/docs/
website/algolia-lockfile.json
website/public/sitemap.xml
tsconfig.tsbuildinfo
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"build": "next build && next-sitemap --config next-sitemap.config.cjs && next export -o dist"
},
"dependencies": {
"@theguild/components": "^5.2.2",
"@theguild/components": "^6.0.0",
"clsx": "^2.0.0",
"next": "^13.4.19",
"next-sitemap": "^4.2.3",
Expand Down
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} />;
}
11 changes: 0 additions & 11 deletions website/src/pages/_meta.json

This file was deleted.

11 changes: 11 additions & 0 deletions website/src/pages/_meta.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
export default {
index: {
display: 'hidden',
theme: {
layout: 'raw',
},
},
'get-started': 'Get Started',
recipes: 'Recipes',
docs: 'Documentation',
};
3 changes: 2 additions & 1 deletion website/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@
"tailwind.config.cjs",
"theme.config.tsx",
"next-sitemap.config.cjs"
]
],
"exclude": ["node_modules"]
}
Loading

0 comments on commit cab877a

Please sign in to comment.