Skip to content

Update rspress theme callstack to latest #1792

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added website/.yarn/install-state.gz
Binary file not shown.
1 change: 1 addition & 0 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"preview": "rspress preview"
},
"dependencies": {
"@callstack/rspress-theme": "^0.1.3",
"rsbuild-plugin-open-graph": "^1.0.0",
"rspress": "1.20.1",
"rspress-plugin-font-open-sans": "^1.0.0",
Expand Down
2 changes: 2 additions & 0 deletions website/rspress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { defineConfig } from 'rspress/config';
import { pluginFontOpenSans } from 'rspress-plugin-font-open-sans';
import vercelAnalytics from 'rspress-plugin-vercel-analytics';
import { pluginOpenGraph } from 'rsbuild-plugin-open-graph';
import callstackTheme from '@callstack/rspress-theme';

export default defineConfig({
root: 'docs',
Expand All @@ -27,6 +28,7 @@ export default defineConfig({
search: {
versioned: true,
},
theme: callstackTheme,
themeConfig: {
enableContentAnimation: true,
enableScrollToTop: true,
Expand Down
43 changes: 0 additions & 43 deletions website/theme/index.tsx

This file was deleted.

12 changes: 12 additions & 0 deletions website/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,17 @@ __metadata:
languageName: node
linkType: hard

"@callstack/rspress-theme@npm:^0.1.3":
version: 0.1.3
resolution: "@callstack/rspress-theme@npm:0.1.3"
peerDependencies:
react: ^19.0.0
bin:
rspress-theme: cli.cjs
checksum: 10c0/9a726c51294635a674a8a22727f196646271c208237aca1f9292ef327eea2699fb93db4a8a4e1e58029b45e4fa130e86faa562dc9ed17b19ec36874179afa03c
languageName: node
linkType: hard

"@isaacs/cliui@npm:^8.0.2":
version: 8.0.2
resolution: "@isaacs/cliui@npm:8.0.2"
Expand Down Expand Up @@ -5042,6 +5053,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "website@workspace:."
dependencies:
"@callstack/rspress-theme": "npm:^0.1.3"
"@types/node": "npm:^18"
"@types/react": "npm:^18.2.64"
rsbuild-plugin-open-graph: "npm:^1.0.0"
Expand Down
Loading