Skip to content

Commit cee2a89

Browse files
Add Callstack Rspress theme and update configuration
Co-authored-by: maciej.jastrzebski <[email protected]>
1 parent 1b2a671 commit cee2a89

File tree

5 files changed

+15
-43
lines changed

5 files changed

+15
-43
lines changed

website/.yarn/install-state.gz

1.38 KB
Binary file not shown.

website/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"preview": "rspress preview"
99
},
1010
"dependencies": {
11+
"@callstack/rspress-theme": "^0.1.3",
1112
"rsbuild-plugin-open-graph": "^1.0.0",
1213
"rspress": "1.20.1",
1314
"rspress-plugin-font-open-sans": "^1.0.0",

website/rspress.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { defineConfig } from 'rspress/config';
33
import { pluginFontOpenSans } from 'rspress-plugin-font-open-sans';
44
import vercelAnalytics from 'rspress-plugin-vercel-analytics';
55
import { pluginOpenGraph } from 'rsbuild-plugin-open-graph';
6+
import callstackTheme from '@callstack/rspress-theme';
67

78
export default defineConfig({
89
root: 'docs',
@@ -27,6 +28,7 @@ export default defineConfig({
2728
search: {
2829
versioned: true,
2930
},
31+
theme: callstackTheme,
3032
themeConfig: {
3133
enableContentAnimation: true,
3234
enableScrollToTop: true,

website/theme/index.tsx

Lines changed: 0 additions & 43 deletions
This file was deleted.

website/yarn.lock

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,17 @@ __metadata:
1414
languageName: node
1515
linkType: hard
1616

17+
"@callstack/rspress-theme@npm:^0.1.3":
18+
version: 0.1.3
19+
resolution: "@callstack/rspress-theme@npm:0.1.3"
20+
peerDependencies:
21+
react: ^19.0.0
22+
bin:
23+
rspress-theme: cli.cjs
24+
checksum: 10c0/9a726c51294635a674a8a22727f196646271c208237aca1f9292ef327eea2699fb93db4a8a4e1e58029b45e4fa130e86faa562dc9ed17b19ec36874179afa03c
25+
languageName: node
26+
linkType: hard
27+
1728
"@isaacs/cliui@npm:^8.0.2":
1829
version: 8.0.2
1930
resolution: "@isaacs/cliui@npm:8.0.2"
@@ -5042,6 +5053,7 @@ __metadata:
50425053
version: 0.0.0-use.local
50435054
resolution: "website@workspace:."
50445055
dependencies:
5056+
"@callstack/rspress-theme": "npm:^0.1.3"
50455057
"@types/node": "npm:^18"
50465058
"@types/react": "npm:^18.2.64"
50475059
rsbuild-plugin-open-graph: "npm:^1.0.0"

0 commit comments

Comments
 (0)