File tree Expand file tree Collapse file tree 13 files changed +3063
-1385
lines changed Expand file tree Collapse file tree 13 files changed +3063
-1385
lines changed Original file line number Diff line number Diff line change 1
- import { Callout } from 'nextra-theme-docs '
1
+ import { Callout } from 'nextra/components '
2
2
3
3
export const Alert = ( { children } ) => {
4
4
return (
Original file line number Diff line number Diff line change 1
- import { Callout } from 'nextra-theme-docs '
1
+ import { Callout } from 'nextra/components '
2
2
3
3
export const Info = ( { children } ) => {
4
4
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 ( {
3
4
theme : 'nextra-theme-docs' ,
4
5
themeConfig : './theme.config.js' ,
5
- // optional: add `unstable_staticImage: true` to enable Nextra's auto image import
6
6
} )
7
7
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 3
3
"version" : " 1.0.0" ,
4
4
"description" : " " ,
5
5
"main" : " next.config.js" ,
6
+ "type" : " module" ,
6
7
"scripts" : {
7
- "start" : " next dev" ,
8
- "build" : " next build && next export"
8
+ "dev" : " next dev" ,
9
+ "build" : " next build" ,
10
+ "start" : " next start"
9
11
},
10
12
"keywords" : [],
11
13
"author" : " " ,
12
14
"license" : " ISC" ,
13
15
"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"
19
21
}
20
22
}
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
+ }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments