Skip to content

Commit 32fe863

Browse files
authored
ci docs (#523)
1 parent ba3a497 commit 32fe863

File tree

5 files changed

+77
-9
lines changed

5 files changed

+77
-9
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Deploy main docs → gh-pages/docs
2+
3+
on:
4+
push:
5+
branches: [main]
6+
workflow_dispatch:
7+
8+
permissions: write-all
9+
10+
concurrency:
11+
group: pages
12+
cancel-in-progress: false
13+
14+
jobs:
15+
build-and-deploy:
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- name: Checkout source
20+
uses: actions/checkout@v4
21+
with:
22+
fetch-depth: 0
23+
24+
- name: Setup Node
25+
uses: actions/setup-node@v4
26+
with:
27+
node-version: "lts/*"
28+
29+
- name: Install dependencies
30+
working-directory: docs
31+
run: npm install
32+
33+
- name: Build docs site
34+
working-directory: docs
35+
env:
36+
NUXT_APP_BASE_URL: "/docs/"
37+
run: npm run build
38+
39+
- name: Deploying docs 🚀
40+
uses: JamesIves/github-pages-deploy-action@v4
41+
with:
42+
branch: gh-pages
43+
folder: docs/.output/public
44+
target-folder: docs
45+
clean: false

docs/assets/css/main.css

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,27 @@
6464

6565
.icon-sm { width: 16px; height: 16px; }
6666
.icon-md { width: 24px; height: 24px; }
67-
.icon-lg { width: 32px; height: 32px; }
67+
.icon-lg { width: 32px; height: 32px; }
68+
69+
.star-halo-wrapper {
70+
display: inline-block;
71+
animation: star-wiggle 1.8s ease-in-out infinite;
72+
}
73+
74+
@keyframes star-wiggle {
75+
0% {
76+
transform: rotate(0deg) scale(1);
77+
}
78+
25% {
79+
transform: rotate(-4deg) scale(1.1);
80+
}
81+
50% {
82+
transform: rotate(4deg) scale(1.1);
83+
}
84+
75% {
85+
transform: rotate(-2deg) scale(1.05);
86+
}
87+
100% {
88+
transform: rotate(0deg) scale(1);
89+
}
90+
}

docs/content/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
seo:
3-
title: Browzarr
3+
title: browzarr.io
44
description: A powerful, browser-native framework for visualizing, exploring, and analyzing Zarr data stores.
55
---
66

@@ -9,9 +9,9 @@ seo:
99
Browzarr
1010

1111
#description
12-
A powerful, browser-native framework for visualizing, exploring, and analyzing Zarr data stores.
12+
A powerful, browser-native framework for exploring and analyzing Zarr and NetCDF datasets.
1313

14-
Load multi-dimensional datasets directly in the browser, interactively slice and inspect chunks, and gain insights without any backend or server setup.
14+
Load multi-dimensional datasets in the browser, slice and inspect data interactively, and gain insights without any backend or server setup.
1515

1616
#links
1717
:::u-button
@@ -32,7 +32,7 @@ Landing
3232
to: https://github.com/EarthyScience/Browzarr
3333
variant: outline
3434
---
35-
Star on GitHub
35+
Give us a Star :icon{name="i-ph-star-fill" class="icon-md star-halo-wrapper" style="color: #f59e0b"}
3636
:::
3737

3838
:::u-button

docs/nuxt.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default defineNuxtConfig({
66
css: ['~/assets/css/main.css'],
77

88
site: {
9-
name: 'browzarr.io'
9+
name: 'docs'
1010
},
1111

1212
// Disable server-only modules

docs/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@
77
"dependencies": {
88
"@nuxt/content": "^3.9.0",
99
"@nuxt/eslint": "^1.12.1",
10-
"@nuxt/hints": "^1.0.0-alpha.3",
10+
"@nuxt/hints": "1.0.0-alpha.5",
1111
"@nuxt/image": "^2.0.0",
1212
"@nuxt/scripts": "^0.13.1",
1313
"@nuxt/test-utils": "^3.21.0",
14-
"@nuxt/ui": "^4.2.1",
14+
"@nuxt/ui": "4.3.0",
1515
"@unhead/vue": "^2.0.19",
1616
"better-sqlite3": "^12.2.0",
1717
"docus": "latest",
1818
"eslint": "^9.39.2",
19-
"nuxt": "^4.1.2",
19+
"nuxt": "4.2.2",
2020
"tailwindcss": "^4.1.17",
2121
"typescript": "^5.9.3"
2222
}

0 commit comments

Comments
 (0)