Skip to content
Merged
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
58 changes: 58 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: 🚀 Deploy to GitHub Pages

on:
push:
branches:
- main
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v6

- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: "24"
cache: "npm"

- name: Setup Aikido Safe Chain
run: |
npm i -g @aikidosec/safe-chain
safe-chain setup-ci

- name: Install dependencies
run: npm ci

- name: Build
run: node --run build

- name: Upload artifact
uses: actions/upload-pages-artifact@v4
with:
path: ./dist/client

deploy:
runs-on: ubuntu-latest
needs: build
timeout-minutes: 5
environment:
name: GitHub Pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
32 changes: 32 additions & 0 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: 🔍 Code quality

on:
pull_request:

permissions:
contents: read

jobs:
quality:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout repository ⬇️
uses: actions/checkout@v6

- name: Use Node.js 24.x ⚙️
uses: actions/setup-node@v6
with:
node-version: 24.x
cache: "npm"

- name: Setup Aikido Safe Chain
run: |
npm i -g @aikidosec/safe-chain
safe-chain setup-ci

- name: Install dependencies 📦
run: npm ci

- name: Check code quality 🔍
run: node --run check
19 changes: 19 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
node_modules

.DS_Store
.cache
.vercel
.output
.nitro
/build/
/dist/
/api/
/server/build
/public/build
/test-results/
/playwright-report/
/blob-report/
/playwright/.cache/
.tanstack

.source
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["biomejs.biome"]
}
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"editor.formatOnSave": true,
"editor.defaultFormatter": "biomejs.biome"
}
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# OrcaCD Docs
# OrcaCD Documentation

Work in progress...
33 changes: 33 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"ignoreUnknown": true,
"includes": ["**", "!node_modules", "!.source", "!src/routeTree.gen.ts"]
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
},
"domains": {
"react": "recommended"
}
},
"assist": {
"actions": {
"source": {
"organizeImports": "on"
}
}
}
}
31 changes: 31 additions & 0 deletions content/docs/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
title: Hello World
description: Your favourite docs framework.
icon: Rocket
---

Hey there! Fumadocs is the docs framework that also works on Tanstack Start!

## Heading

Hello World!

<Cards>
<Card title="Learn more about Tanstack Start" href="https://tanstack.com/start" />
<Card title="Learn more about Fumadocs" href="https://fumadocs.dev" />
</Cards>

### CodeBlock

```ts
console.log('Hello World');
```

#### Table

| Head | Description |
| ------------------------------- | ----------------------------------- |
| `hello` | Hello World |
| very **important** | Hey |
| _Surprisingly_ | Fumadocs |
| very long text that looks weird | hello world hello world hello world |
12 changes: 12 additions & 0 deletions content/docs/test.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: Test
description: This is another page
---

Hello World again!

## Installation

```npm
npm i fumadocs-core fumadocs-ui
```
Loading