Skip to content

Commit c5b917a

Browse files
authored
do npm and minimal nuxt config (#475)
* do npm and minimal nuxt config * exclude * bump version
1 parent 39223e0 commit c5b917a

File tree

6 files changed

+53
-6
lines changed

6 files changed

+53
-6
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,21 @@ jobs:
2121
with:
2222
fetch-depth: 0
2323

24-
- name: Setup repo 🔧
25-
uses: ./.github/actions
24+
- name: Setup Node
25+
uses: actions/setup-node@v4
26+
with:
27+
node-version: "lts/*"
28+
cache: "npm"
2629

2730
- name: Install dependencies
2831
working-directory: docs
29-
run: pnpm install
32+
run: npm install
3033

3134
- name: Build docs site
3235
working-directory: docs
3336
env:
3437
NUXT_APP_BASE_URL: "/docs/"
35-
run: pnpm build
38+
run: npm run build
3639

3740
- name: Deploying docs 🚀
3841
uses: JamesIves/github-pages-deploy-action@v4

docs/assets/css/main.css

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
@import "tailwindcss";
2+
@import "@nuxt/ui";
3+
4+
/* Define a static theme */
5+
@theme static {
6+
/* Fonts */
7+
--font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
8+
9+
/* Container */
10+
--ui-container: 90rem;
11+
12+
/* Primary colors */
13+
--color-primary: #009689; /* gold */
14+
--color-primary-light: #6366f1; /* Indigo 500 */
15+
--color-primary-dark: #4338ca; /* Indigo 700 */
16+
17+
/* Secondary / accent colors (optional) */
18+
--color-secondary: #ec4899; /* Pink 500 */
19+
--color-secondary-light: #f472b6;
20+
--color-secondary-dark: #db2777;
21+
}

docs/nuxt.config.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
export default defineNuxtConfig({
2+
extends: ['docus'],
3+
4+
compatibilityDate: '2025-07-18',
5+
6+
css: ['~/assets/css/main.css'],
7+
8+
site: {
9+
name: 'browzarr.io'
10+
},
11+
12+
// Disable server-only modules
13+
mcp: false,
14+
15+
llms: false,
16+
17+
// Nitro static build config
18+
nitro: {
19+
preset: 'static',
20+
}
21+
})

docs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"docus": "latest",
1818
"eslint": "^9.39.2",
1919
"nuxt": "^4.1.2",
20+
"tailwindcss": "^4.1.17",
2021
"typescript": "^5.9.3"
2122
}
2223
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"gsap": "^3.13.0",
7171
"js-colormaps-es": "^0.0.5",
7272
"lucide-react": "^0.543.0",
73-
"next": ">=15.5.7",
73+
"next": ">=15.5.8",
7474
"next-themes": "^0.4.6",
7575
"radix-ui": "latest",
7676
"react": "^19.0.0",

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
".next/dev/types/**/*.ts"
4242
],
4343
"exclude": [
44-
"node_modules"
44+
"node_modules",
45+
"docs"
4546
]
4647
}

0 commit comments

Comments
 (0)