File tree Expand file tree Collapse file tree 4 files changed +30
-2
lines changed
Expand file tree Collapse file tree 4 files changed +30
-2
lines changed Original file line number Diff line number Diff line change 1111 "rspress" : " ^1.31.1"
1212 },
1313 "devDependencies" : {
14- "@types/node" : " ^16"
14+ "@types/node" : " ^16" ,
15+ "rsbuild-plugin-open-graph" : " ^1.0.2"
1516 }
1617}
Original file line number Diff line number Diff line change 11import * as path from 'path' ;
22import { defineConfig } from 'rspress/config' ;
3+ import { pluginOpenGraph } from 'rsbuild-plugin-open-graph' ;
34
45export default defineConfig ( {
56 root : path . join ( __dirname , 'docs' ) ,
67 base : '/react-native-bottom-tabs/' ,
7- title : 'Native Bottom Tabs' ,
8+ title : 'React Native Bottom Tabs' ,
89 description : 'React Native Bottom Tabs Documentation' ,
10+ logoText : 'React Native Bottom Tabs' ,
11+ icon : '/img/phone.png' ,
12+ logo : '/img/phone.png' ,
913 themeConfig : {
1014 socialLinks : [
1115 {
@@ -15,4 +19,14 @@ export default defineConfig({
1519 } ,
1620 ] ,
1721 } ,
22+ builderConfig : {
23+ plugins : [
24+ pluginOpenGraph ( {
25+ title : 'React Native Bottom Tabs' ,
26+ type : 'website' ,
27+ url : 'https://okwasniewski.github.io/react-native-bottom-tabs/' ,
28+ description : 'Native Bottom Tabs for React Native' ,
29+ } ) ,
30+ ] ,
31+ } ,
1832} ) ;
Original file line number Diff line number Diff line change @@ -13521,6 +13521,7 @@ __metadata:
1352113521 resolution: "react-native-bottom-tabs-docs@workspace:docs"
1352213522 dependencies:
1352313523 "@types/node": ^16
13524+ rsbuild-plugin-open-graph: ^1.0.2
1352413525 rspress: ^1.31.1
1352513526 languageName: unknown
1352613527 linkType: soft
@@ -14452,6 +14453,18 @@ __metadata:
1445214453 languageName: node
1445314454 linkType: hard
1445414455
14456+ "rsbuild-plugin-open-graph@npm:^1.0.2":
14457+ version: 1.0.2
14458+ resolution: "rsbuild-plugin-open-graph@npm:1.0.2"
14459+ peerDependencies:
14460+ "@rsbuild/core": 0.x || 1.x || ^1.0.1-beta.0
14461+ peerDependenciesMeta:
14462+ "@rsbuild/core":
14463+ optional: true
14464+ checksum: e62f38d7644f2d8ba7d5405a6eda9674e9b2705a612ecb8724d1b570e973fdbd7aa688211dbcac80ecc387822db877c1b79da8fbfd836539906a127ba1bfba39
14465+ languageName: node
14466+ linkType: hard
14467+
1445514468"rslog@npm:^1.1.0":
1445614469 version: 1.2.3
1445714470 resolution: "rslog@npm:1.2.3"
You can’t perform that action at this time.
0 commit comments