File tree Expand file tree Collapse file tree 14 files changed +3066
-1385
lines changed Expand file tree Collapse file tree 14 files changed +3066
-1385
lines changed Original file line number Diff line number Diff line change 1+ [tools ]
2+ node = " 22"
3+ yarn = " 1"
Original file line number Diff line number Diff line change 1- import { Callout } from 'nextra-theme-docs '
1+ import { Callout } from 'nextra/components '
22
33export const Alert = ( { children } ) => {
44 return (
Original file line number Diff line number Diff line change 1- import { Callout } from 'nextra-theme-docs '
1+ import { Callout } from 'nextra/components '
22
33export const Info = ( { children } ) => {
44 return < Callout emoji = "ℹ️" > { children } </ Callout >
Original file line number Diff line number Diff line change 1- // next.config.js
2- const withNextra = require ( 'nextra' ) ( {
1+ import nextra from 'nextra'
2+
3+ const withNextra = nextra ( {
34 theme : 'nextra-theme-docs' ,
45 themeConfig : './theme.config.js' ,
5- // optional: add `unstable_staticImage: true` to enable Nextra's auto image import
66} )
77
8- module . exports = withNextra ( )
8+ export default withNextra ( {
9+ output : 'export' ,
10+ images : { unoptimized : true } ,
11+ } )
Original file line number Diff line number Diff line change 33 "version" : " 1.0.0" ,
44 "description" : " " ,
55 "main" : " next.config.js" ,
6+ "type" : " module" ,
67 "scripts" : {
7- "start" : " next dev" ,
8- "build" : " next build && next export"
8+ "dev" : " next dev" ,
9+ "build" : " next build" ,
10+ "start" : " next start"
911 },
1012 "keywords" : [],
1113 "author" : " " ,
1214 "license" : " ISC" ,
1315 "dependencies" : {
14- "next" : " ^12.3.1 " ,
15- "nextra" : " 2.0.0-beta.29 " ,
16- "nextra-theme-docs" : " 2.0.0-beta.29 " ,
17- "react" : " ^17.0 .1" ,
18- "react-dom" : " ^17.0 .1"
16+ "next" : " ^13.5.11 " ,
17+ "nextra" : " ^3.3.1 " ,
18+ "nextra-theme-docs" : " ^3.3.1 " ,
19+ "react" : " ^18.3 .1" ,
20+ "react-dom" : " ^18.3 .1"
1921 }
2022}
Original file line number Diff line number Diff line change 1+ export default {
2+ index : 'Welcome' ,
3+ announcements : 'Announcements' ,
4+ apis : 'API' ,
5+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ export default {
2+ client : 'pg.Client' ,
3+ pool : 'pg.Pool' ,
4+ result : 'pg.Result' ,
5+ types : 'pg.Types' ,
6+ cursor : 'Cursor' ,
7+ utilities : 'Utilities' ,
8+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ export default {
2+ connecting : 'Connecting' ,
3+ queries : 'Queries' ,
4+ pooling : 'Pooling' ,
5+ transactions : 'Transactions' ,
6+ types : 'Data Types' ,
7+ ssl : 'SSL' ,
8+ native : 'Native' ,
9+ esm : 'ESM' ,
10+ callbacks : 'Callbacks' ,
11+ }
You can’t perform that action at this time.
0 commit comments