-
Notifications
You must be signed in to change notification settings - Fork 6
Migrate www to Fumadocs #219
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
base: main
Are you sure you want to change the base?
Changes from all commits
1f930fb
61f1708
87d52b7
26c0158
7bd34b2
5c3125e
dd9ab78
ff4f337
161c0f2
d474e10
a336ce4
ad8a18e
744026d
e4f9300
679854b
a230ccd
81a4822
db2e341
5386b5d
cf07419
c3ee214
d03f0a6
8c05970
dd3d0c8
1170c10
02497bc
5c5f91b
2ca2267
ef144d0
50774c6
b3b924b
87b6339
ded90c9
770a1d5
96141aa
431fcc8
819e5d4
3d4b6fd
1e67c55
97d5506
f974323
4bc46fe
ff34c99
c24b110
752a4f9
0b34eff
8df115f
33db04a
2a67dd2
01a92e7
ffc8950
0ccf2cc
fad46fd
e9dc2d6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| { | ||
| "version": "2.0.0", | ||
| "tasks": [ | ||
| { | ||
| "type": "bun", | ||
| "script": "turbo run dev --filter=www", | ||
| "problemMatcher": ["$tsc-watch"], | ||
| "label": "bun: www", | ||
| "detail": "bun run turbo run dev --filter=www - package.json", | ||
| "isBackground": true | ||
| } | ||
| ] | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| # VitePress cache | ||
| .vitepress/cache/ | ||
| .vitepress/dist/ |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,7 +34,7 @@ export default defineConfig({ | |
| text: 'What is Bedstack?', | ||
| link: '/what-is-bedstack', | ||
| }, | ||
| { text: 'Getting Started', link: '/getting-started' }, | ||
| { text: 'Getting Started', link: '/realworld' }, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Check if realworld.md exists in the legacy www directory and explore structure
echo "=== Searching for realworld.md ==="
fd -t f "realworld.md" apps/www-legacy/ 2>/dev/null || echo "File not found"
echo -e "\n=== Listing markdown files in apps/www-legacy ==="
fd -t f "\.md$" apps/www-legacy/ | head -20
echo -e "\n=== Checking config.ts content around line 37 ==="
if [ -f "apps/www-legacy/.vitepress/config.ts" ]; then
sed -n '30,45p' "apps/www-legacy/.vitepress/config.ts"
fi
echo -e "\n=== Directory structure of apps/www-legacy ==="
ls -la apps/www-legacy/ 2>/dev/null | head -20Repository: yamcodes/bedstack Length of output: 1430 Navigation link is broken — The link
The "Getting Started" navigation item should link to 🤖 Prompt for AI Agents |
||
| ], | ||
| collapsed: false, | ||
| }, | ||
|
|
@@ -54,10 +54,6 @@ export default defineConfig({ | |
| icon: 'github', | ||
| link: 'https://github.com/yamcodes/bedstack', | ||
| }, | ||
| { | ||
| icon: 'discord', | ||
| link: 'https://discord.gg/8UcP9QB5AV', | ||
| }, | ||
| ], | ||
| search: { | ||
| provider: 'local', | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| # bedstack.js.org | ||
|
|
||
| The Bedstack documentation site. | ||
|
|
||
| ## We're live! | ||
|
|
||
| The documentation site is now live at [bedstack.js.org](https://bedstack.js.org). |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| { | ||
| "name": "www-legacy", | ||
| "version": "0.0.0", | ||
| "type": "module", | ||
| "private": true, | ||
| "scripts": { | ||
| "dev": "vitepress dev", | ||
| "build": "vitepress build", | ||
| "clean": "rimraf node_modules", | ||
| "typecheck": "tsc --noEmit" | ||
|
Comment on lines
+6
to
+10
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Check rimraf in all package.json files and lock files
echo "=== Checking rimraf in package.json files ==="
find . -name "package.json" -type f | head -20 | xargs rg -l "rimraf" 2>/dev/null
echo -e "\n=== Rimraf in root package.json ==="
cat package.json 2>/dev/null | grep -A 5 -B 5 "rimraf" || echo "Not found in root"
echo -e "\n=== Rimraf in www-legacy package.json ==="
cat apps/www-legacy/package.json 2>/dev/null | grep -A 5 -B 5 "rimraf" || echo "Not found"
echo -e "\n=== Checking lock files for rimraf ==="
if [ -f "bun.lock" ]; then
rg -c "rimraf" bun.lock || echo "Not in bun.lock"
fi
if [ -f "pnpm-lock.yaml" ]; then
rg -c "rimraf" pnpm-lock.yaml || echo "Not in pnpm-lock.yaml"
fi
if [ -f "yarn.lock" ]; then
rg -c "rimraf" yarn.lock || echo "Not in yarn.lock"
fi
if [ -f "package-lock.json" ]; then
rg -c "rimraf" package-lock.json || echo "Not in package-lock.json"
fi
echo -e "\n=== Check www-legacy package.json complete content ==="
cat apps/www-legacy/package.jsonRepository: yamcodes/bedstack Length of output: 1783 Add The 🤖 Prompt for AI Agents |
||
| }, | ||
| "dependencies": { | ||
| "vitepress": "^1.6.4" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/node": "^25.0.9", | ||
| "typescript": "catalog:" | ||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: yamcodes/bedstack
Length of output: 332
🏁 Script executed:
Repository: yamcodes/bedstack
Length of output: 73
🏁 Script executed:
Repository: yamcodes/bedstack
Length of output: 71
🏁 Script executed:
Repository: yamcodes/bedstack
Length of output: 529
🏁 Script executed:
Repository: yamcodes/bedstack
Length of output: 91
🏁 Script executed:
Repository: yamcodes/bedstack
Length of output: 231
🏁 Script executed:
Repository: yamcodes/bedstack
Length of output: 171
🏁 Script executed:
Repository: yamcodes/bedstack
Length of output: 458
🏁 Script executed:
Repository: yamcodes/bedstack
Length of output: 89
Fix mismatch:
docs:buildtargetswww(Next.js), but workflow uploads fromwww-legacy(VitePress).The
docs:buildscript runsturbo run build --filter=www, which builds theapps/wwwpackage using Next.js. However, the workflow artifact pathapps/www-legacy/.vitepress/distexpects output fromapps/www-legacy(VitePress). Since Next.js outputs to.next/not.vitepress/dist/, the artifact directory will be empty and Pages deployment will fail.Change the workflow to either:
turbo run build --filter=www-legacy, orapps/www/.next/(if that's the intended output)🤖 Prompt for AI Agents