1
1
import { siteConfig } from './lib/site-config'
2
2
3
3
export default siteConfig ( {
4
- // the site's root Notion page (required)
4
+ /* (required)
5
+ The site's root Notion page
6
+ */
5
7
rootNotionPageId : '7875426197cf461698809def95960ebf' ,
6
8
7
- // if you want to restrict pages to a single notion workspace (optional)
8
- // (this should be a Notion ID; see the docs for how to extract this)
9
+ /* (optional)
10
+ if you want to restrict pages to a single notion workspace
11
+ (this should be a Notion ID; see the docs for how to extract this)
12
+ */
9
13
rootNotionSpaceId : null ,
10
14
11
- // basic site info (required)
15
+ /* (required)
16
+ Basic site info
17
+ */
12
18
name : 'Next.js Notion Starter Kit' ,
13
19
domain : 'nextjs-notion-starter-kit.transitivebullsh.it' ,
14
20
author : 'Travis Fischer' ,
15
21
16
- // open graph metadata (optional)
22
+ /* (optional)
23
+ Open graph metadata
24
+ */
17
25
description : 'Example Next.js Notion Starter Kit Site' ,
18
26
19
27
/* (optional)
@@ -28,32 +36,43 @@ export default siteConfig({
28
36
// newsletter: '#', /* Optional newsletter URL */
29
37
// youtube: '#', /* Optional youtube channel name or `channel/UCGbXXXXXXXXXXXXXXXXXXXXXX` */
30
38
31
- // default notion icon and cover images for site-wide consistency (optional)
32
- // page-specific values will override these site-wide defaults
39
+ /* (optional)
40
+ Default notion icon and cover images for site-wide consistency.
41
+ Page-specific values will override these site-wide defaults.
42
+ */
33
43
defaultPageIcon : null ,
34
44
defaultPageCover : null ,
35
45
defaultPageCoverPosition : 0.5 ,
36
46
37
- // whether or not to enable support for LQIP preview images (optional)
47
+ /* (optional)
48
+ Whether or not to enable support for LQIP preview images.
49
+ */
38
50
isPreviewImageSupportEnabled : true ,
39
51
40
- // whether or not redis is enabled for caching generated preview images (optional)
41
- // NOTE: if you enable redis, you need to set the `REDIS_HOST` and `REDIS_PASSWORD`
42
- // environment variables. see the readme for more info
52
+ /* (optional)
53
+ Whether or not redis is enabled for caching generated preview images.
54
+ NOTE: if you enable redis, you need to set the `REDIS_HOST`
55
+ and `REDIS_PASSWORD` environment variables.
56
+ See the readme for more info.
57
+ */
43
58
isRedisEnabled : false ,
44
59
45
- // map of notion page IDs to URL paths (optional)
46
- // any pages defined here will override their default URL paths
47
- // example:
48
- //
60
+ /* (optional)
61
+ Map of notion page IDs to URL paths.
62
+ Any pages defined here will override their default URL paths.
63
+ Example:
64
+ */
49
65
// pageUrlOverrides: {
50
66
// '/foo': '067dd719a912471ea9a3ac10710e7fdf',
51
67
// '/bar': '0be6efce9daf42688f65c76b89f8eb27'
52
68
// }
53
69
pageUrlOverrides : null ,
54
70
55
- // whether to use the default notion navigation style or a custom one with links to
56
- // important pages. To use `navigationLinks`, set `navigationStyle` to `custom`.
71
+ /*
72
+ Whether to use the default notion navigation style
73
+ or a custom one with links to important pages.
74
+ To use `navigationLinks`, set `navigationStyle` to `custom`.
75
+ */
57
76
navigationStyle : 'default'
58
77
// navigationStyle: 'custom',
59
78
// navigationLinks: [
@@ -63,7 +82,7 @@ export default siteConfig({
63
82
// },
64
83
// {
65
84
// title: 'Contact',
66
- // pageId : '6a29ebcb935a4f0689fe661ab5f3b8d1 '
85
+ // url : 'https://twitter.com/transitive_bs '
67
86
// }
68
87
// ]
69
88
} )
0 commit comments